Ask Your Question

How to specify host aggregate without modifying flavor?

asked 2016-02-29 00:01:29 -0500

leonshaw gravatar image

I've created several host aggregates and want to boot an instance on one of them. I searched the web and was told to add metadata to aggregates and key to flavor. But this requires a flavor to be created for every aggregate. Can I specify the host aggregate for instances? Also, is it possible using heat?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-02-29 00:28:44 -0500

Bipin gravatar image

The virtual machines are spinning up in aggregate based on meta data. When you choose a flavor, the meta data associated with this flavor will look for the aggregate which having same meta data. You cannot specify host aggregate for instances.

edit flag offensive delete link more


Thanks for your answer. I was looking for something like scheduler_hints. It's fine to know there isn't.

leonshaw gravatar imageleonshaw ( 2016-02-29 02:12:41 -0500 )edit

You can also set metadata keys for images, but you are at the same point of your question. You need to create an image for every availability zone

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-02-29 12:02:05 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-02-29 00:01:29 -0500

Seen: 408 times

Last updated: Feb 29 '16