Last active
February 25, 2019 19:55
-
-
Save openstacker/d93d9dcd1c4c936a9d8f12411684a92c to your computer and use it in GitHub Desktop.
Heat stack update/remove
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[strigazi@lxplus086 heat-playground]$ openstack stack list | grep strigazi-stack-25 | |
| 3177f188-c4cb-4ab9-acf1-c2ed3bb40277 | strigazi-stack-25 | CREATE_COMPLETE | 2019-02-25T10:11:56Z | None | | |
[strigazi@lxplus086 heat-playground]$ openstack stack list --nested | grep strigazi-stack-25 | |
| 80e0873c-5665-40f2-a8ac-ba90a36d3507 | strigazi-stack-25-kube_minions-xujejyw7urp6-2-dxbtgtnvv4ws | CREATE_COMPLETE | 2019-02-25T10:12:01Z | None | 9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | | |
| aedf1342-6dc6-4a1a-9db8-cc87d664a714 | strigazi-stack-25-kube_minions-xujejyw7urp6-1-2wkjcd46tmlo | CREATE_COMPLETE | 2019-02-25T10:11:59Z | None | 9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | | |
| ab3dcc32-9b4d-4066-a397-32b79cdbf7c5 | strigazi-stack-25-kube_minions-xujejyw7urp6-0-xj4vlxidy4sa | CREATE_COMPLETE | 2019-02-25T10:11:59Z | None | 9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | | |
| 9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | strigazi-stack-25-kube_minions-xujejyw7urp6 | CREATE_COMPLETE | 2019-02-25T10:11:57Z | None | 3177f188-c4cb-4ab9-acf1-c2ed3bb40277 | | |
| 3177f188-c4cb-4ab9-acf1-c2ed3bb40277 | strigazi-stack-25 | CREATE_COMPLETE | 2019-02-25T10:11:56Z | None | None | | |
[strigazi@lxplus086 heat-playground]$ openstack stack show strigazi-stack-25-kube_minions-xujejyw7urp6 | |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |
| Field | Value | | |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |
| id | 9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | | |
| stack_name | strigazi-stack-25-kube_minions-xujejyw7urp6 | | |
| description | No description | | |
| creation_time | 2019-02-25T10:11:57Z | | |
| updated_time | None | | |
| stack_status | CREATE_COMPLETE | | |
| stack_status_reason | Stack CREATE completed successfully | | |
| parameters | OS::project_id: 09fce77b-5412-44b3-bd1e-120a4f2406e9 | | |
| | OS::stack_id: 9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | | |
| | OS::stack_name: strigazi-stack-25-kube_minions-xujejyw7urp6 | | |
| | | | |
| outputs | - description: No description given | | |
| | output_key: refs_map | | |
| | output_value: | | |
| | '0': ab3dcc32-9b4d-4066-a397-32b79cdbf7c5 | | |
| | '1': aedf1342-6dc6-4a1a-9db8-cc87d664a714 | | |
| | '2': 80e0873c-5665-40f2-a8ac-ba90a36d3507 | | |
| | | | |
| links | - href: https://openstack.cern.ch:8004/v1/09fce77b-5412-44b3-bd1e-120a4f2406e9/stacks/strigazi-stack-25-kube_minions-xujejyw7urp6/9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | | |
| | rel: self | | |
| | | | |
| parent | 3177f188-c4cb-4ab9-acf1-c2ed3bb40277 | | |
| disable_rollback | True | | |
| deletion_time | None | | |
| stack_user_project_id | 264f5e54e8e2415181036e5644f01b37 | | |
| capabilities | [] | | |
| notification_topics | [] | | |
| stack_owner | None | | |
| timeout_mins | None | | |
| tags | None | | |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |
[strigazi@lxplus086 heat-playground]$ openstack stack update --existing --parameter number_of_minions=2 --parameter minions_to_remove=aedf1342-6dc6-4a1a-9db8-cc87d664a714 strigazi-stack-25 | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| id | 3177f188-c4cb-4ab9-acf1-c2ed3bb40277 | | |
| stack_name | strigazi-stack-25 | | |
| description | No description | | |
| creation_time | 2019-02-25T10:11:56Z | | |
| updated_time | 2019-02-25T10:18:15Z | | |
| stack_status | UPDATE_IN_PROGRESS | | |
| stack_status_reason | Stack UPDATE started | | |
+---------------------+--------------------------------------+ | |
[strigazi@lxplus086 heat-playground]$ openstack stack list --nested | grep strigazi-stack-25 | |
| 80e0873c-5665-40f2-a8ac-ba90a36d3507 | strigazi-stack-25-kube_minions-xujejyw7urp6-2-dxbtgtnvv4ws | UPDATE_COMPLETE | 2019-02-25T10:12:01Z | 2019-02-25T10:18:19Z | 9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | | |
| ab3dcc32-9b4d-4066-a397-32b79cdbf7c5 | strigazi-stack-25-kube_minions-xujejyw7urp6-0-xj4vlxidy4sa | UPDATE_COMPLETE | 2019-02-25T10:11:59Z | 2019-02-25T10:18:18Z | 9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | | |
| 9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | strigazi-stack-25-kube_minions-xujejyw7urp6 | UPDATE_COMPLETE | 2019-02-25T10:11:57Z | 2019-02-25T10:18:16Z | 3177f188-c4cb-4ab9-acf1-c2ed3bb40277 | | |
| 3177f188-c4cb-4ab9-acf1-c2ed3bb40277 | strigazi-stack-25 | UPDATE_COMPLETE | 2019-02-25T10:11:56Z | 2019-02-25T10:18:15Z | None | | |
[strigazi@lxplus086 heat-playground]$ openstack stack show strigazi-stack-25-kube_minions-xujejyw7urp6 | |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |
| Field | Value | | |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |
| id | 9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | | |
| stack_name | strigazi-stack-25-kube_minions-xujejyw7urp6 | | |
| description | No description | | |
| creation_time | 2019-02-25T10:11:57Z | | |
| updated_time | 2019-02-25T10:18:16Z | | |
| stack_status | UPDATE_COMPLETE | | |
| stack_status_reason | Stack UPDATE completed successfully | | |
| parameters | OS::project_id: 09fce77b-5412-44b3-bd1e-120a4f2406e9 | | |
| | OS::stack_id: 9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | | |
| | OS::stack_name: strigazi-stack-25-kube_minions-xujejyw7urp6 | | |
| | | | |
| outputs | - description: No description given | | |
| | output_key: refs_map | | |
| | output_value: | | |
| | '0': ab3dcc32-9b4d-4066-a397-32b79cdbf7c5 | | |
| | '2': 80e0873c-5665-40f2-a8ac-ba90a36d3507 | | |
| | | | |
| links | - href: https://openstack.cern.ch:8004/v1/09fce77b-5412-44b3-bd1e-120a4f2406e9/stacks/strigazi-stack-25-kube_minions-xujejyw7urp6/9a3ff9e4-b1fd-4cd0-be35-d6308ca0603f | | |
| | rel: self | | |
| | | | |
| parent | 3177f188-c4cb-4ab9-acf1-c2ed3bb40277 | | |
| disable_rollback | True | | |
| deletion_time | None | | |
| stack_user_project_id | 264f5e54e8e2415181036e5644f01b37 | | |
| capabilities | [] | | |
| notification_topics | [] | | |
| stack_owner | None | | |
| timeout_mins | None | | |
| tags | None | | |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment