[Openstack-operators] Putting a hypervisor into maintenance / how to get a list of all instance IDs on a host

Robert van Leeuwen Robert.vanLeeuwen at spilgames.com
Thu Feb 13 12:17:28 UTC 2014


Hi,

I am looking for/ building a script that migrates all instances on a host for maintenance.
Is there an easy way to get a list of all instances on a specific host?
The nova-manage command does pretty much that but it only shows the name of the instance but not the ID.

Anyone figured this one out?
Note that we are using block migration (and do not have shared storage for emphemeral storage)

Thx,
Robert van Leeuwen


More information about the OpenStack-operators mailing list