glance image property to spawn on a defined availability zone

asked 2015-04-17 05:11:55 -0600

agti gravatar image


I was wondering if there is any mechanism in order to allow a particular image to spawn only on a particular availability zone (for example setting a property on the image itself).

Thanks in advance!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-04-17 09:23:44 -0600

SGPJ gravatar image

This is good question, IMO availability zone is related to Compute not to images. Will like to know from others whether there is any option.

edit flag offensive delete link more

answered 2015-04-17 15:12:55 -0600

I believe this link might be helpful. Good luck.

Excerpt from link:

Allows the admin to define a special (isolated) set of images and a special (isolated) set of hosts, such that the isolated images can only run on the isolated hosts, and the isolated hosts can only run isolated images. The flag restrict_isolated_hosts_to_isolated_images can be used to force isolated hosts to only run isolated images.

The admin must specify the isolated set of images and hosts in the nova.conf file using the isolated_hosts and isolated_images configuration options. For example:

Select Text
isolated_hosts = server1, server2
isolated_images = 342b492c-128f-4a42-8d3a-c5088cf27d13, ebd267a6-ca86-4d6c-9a0e-bd132d6b7d09

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-04-17 05:11:55 -0600

Seen: 621 times

Last updated: Apr 17 '15