Skip to content

Instantly share code, notes, and snippets.

@jtaleric
Created December 20, 2017 18:02
Show Gist options
  • Save jtaleric/4dee30154651ecdedc79ea820a0d3c10 to your computer and use it in GitHub Desktop.
Save jtaleric/4dee30154651ecdedc79ea820a0d3c10 to your computer and use it in GitHub Desktop.
(undercloud) [stack@b04-h01-1029p ~]$ heat resource-list -n5 overcloud | grep -i prog
WARNING (shell) "heat resource-list" is deprecated, please use "openstack stack resource list" instead
| 1029PCompute | d61d963f-c44e-4670-961f-4e842035f7cc | OS::Heat::ResourceGroup | CREATE_IN_PROGRESS | 2017-12-20T15:20:21Z | overcloud |
| 52 | 529d65c0-9d0f-415c-a11b-409ad4851017 | OS::TripleO::1029PCompute | CREATE_IN_PROGRESS | 2017-12-20T16:09:33Z | overcloud-1029PCompute-jhq2lfadtrkq |
| NetworkDeployment | e5907177-efb0-4e19-b252-27e466568f85 | OS::TripleO::SoftwareDeployment | CREATE_IN_PROGRESS | 2017-12-20T16:09:41Z | overcloud-1029PCompute-jhq2lfadtrkq-52-7twoo7fpx5q3 |
(undercloud) [stack@b04-h01-1029p ~]$ nova list | grep 52
| 155d1f09-2890-4e3b-8eba-78c2d8d06f21 | overcloud-1029pcompute-52 | ACTIVE | - | Running | ctlplane=192.168.24.121 |
(undercloud) [stack@b04-h01-1029p ~]$ ping 192.168.24.121
PING 192.168.24.121 (192.168.24.121) 56(84) bytes of data.
^C
--- 192.168.24.121 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 999ms
(undercloud) [stack@b04-h01-1029p ~]$ ironic node-list | grep 155d1f09-2890-4e3b-8eba-78c2d8d06f21
| 392b12f1-c6d8-4ee9-a4ac-3f7b0d8574b1 | None | 155d1f09-2890-4e3b-8eba-78c2d8d06f21 | power on | active | False |
(undercloud) [stack@b04-h01-1029p ~]$ ironic node-set-power-state 392b12f1-c6d8-4ee9-a4ac-3f7b0d8574b1 off
(undercloud) [stack@b04-h01-1029p ~]$ ironic node-list | grep 155d1f09-2890-4e3b-8eba-78c2d8d06f21
| 392b12f1-c6d8-4ee9-a4ac-3f7b0d8574b1 | None | 155d1f09-2890-4e3b-8eba-78c2d8d06f21 | power off | active | False |
(undercloud) [stack@b04-h01-1029p ~]$ ironic node-set-power-state 392b12f1-c6d8-4ee9-a4ac-3f7b0d8574b1 on
(undercloud) [stack@b04-h01-1029p ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment