Skip to content

Commands

Useful commands for openstack

Nova

Find id of last request

stack@lvm:~$ nova help | grep action
                                metadata server. This action does not actually
    host-action                 Perform a power action on a host.
                                not be able to execute actions on a locked
    instance-action             Show an action.
    instance-action-list        List actions on a server.
                                Defaults to compute for most actions.


stack@lvm:~$ nova instance-action-list dal1
+--------+------------------------------------------+---------+----------------------------+
| Action | Request_ID                               | Message | Start_Time                 |
+--------+------------------------------------------+---------+----------------------------+
| create | req-8606defd-5eb9-4da1-9d65-7cea030f9341 | -       | 2017-05-09T16:14:59.000000 |
+--------+------------------------------------------+---------+----------------------------+

Keystone

Neutron