Ask Your Question

HA zone and host aggregate UUIDs retrieving ?

asked 2015-09-28 08:55:43 -0600

jpribeauville gravatar image

updated 2015-09-28 09:00:02 -0600


I want to make a kind of relational model :

Instance <-> host <-> host aggregate <-> HA zone

I know how to retrieve , from a piece of code running on host, instance and host UUIDs ( using libvirt). How may I retrieve host aggregate and HA zone UUIDs to which instance and host belongs ?

Thx for help.

Reagrds, J.P. Ribeauville

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-28 22:15:32 -0600

updated 2015-09-28 22:16:45 -0600

nova aggregate-list shows all aggregates.

nova aggregate-details name-of-aggregate shows the hosts in that aggregate. I don't know if it's possible to do the opposite - look up a host to find its aggregate(s).

What do you mean by HA zone - perhaps availability zone? nova availability-zone-list shows all the availability zones and the hosts that belong to them. Note that an availability zone is essentially the same as a host aggregate, see here.

By the way, you don't need libvirt to find the host that an instance runs on. nova show instance-name gives you that information if you are an admin user.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-09-28 08:55:43 -0600

Seen: 145 times

Last updated: Sep 28 '15