[openstack-dev] [nova] How can i check if an instance belongs to host-aggregate
Ligong LG1 Duan
duanlg1 at lenovo.com
Wed Mar 29 09:43:38 UTC 2017
Not sure what your use case is.
But basically, you can get the list of compute nodes belonging to one host aggregate and then, get the virtual instances on each compute nodes in the list.
From: Pradeep Singh [mailto:ps4openstack at gmail.com]
Sent: Wednesday, March 29, 2017 4:24 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [nova] How can i check if an instance belongs to host-aggregate
I want to filter out some instances(to avoid some operation on them) which are scheduled on host-aggregates.
How can i filter out these instances from all instances list in my cloud.
Thanks in advance!!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev