Assigning Glance Server to Nova Cluster

asked 2014-12-05 11:57:31 -0600

mathias gravatar image

Hi, my goal is to design a at best infinitely scalable OpenStack cloud. I thought it might be a good idea to

1) have multiple Glance servers serving different images 2) place Glance close to Nova Compute nodes in a geographically disperse environment and make sure Nova Compute nodes in one location can only fetch images from a Glance server in the same location.

An easy solution would be to configure Nova with a list of IPs of Glance servers. I found api_servers in the [glance] section of nova.conf which looks like what I am looking for. I am not quite sure though as I cannot find any proof. How will this setting interact with Keystone's service registry?

edit retag flag offensive close merge delete


Use case on this again. It might make more sense to spend time making images as small as possible and then looking into a distributed back-end that handle glance images + nova instance ephemeral disks.

mpetason gravatar imagempetason ( 2014-12-05 12:38:24 -0600 )edit

I don't believe a distributed back-end like CEPH can be set up across continents

mathias gravatar imagemathias ( 2014-12-06 07:38:43 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-12-05 12:41:51 -0600

mpetason gravatar image

Cinder also uses the Glance API - So you are going to have to do this for more than one service.

To only place certain images on specific nodes you can use the nova scheduler. Isolated hosts is one way but you may need more than that:

That should be a starting point, you can work with Scheduling to see if you can get around having multiple keystones + service catalogs.

edit flag offensive delete link more


Its not about placing instances of certain images on a defined set of hosts. Its about preventing hosts in the US fetching images from Asia. I dont want a use to see images in Asia when deploying to the US.

mathias gravatar imagemathias ( 2014-12-06 07:37:36 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-05 11:57:31 -0600

Seen: 254 times

Last updated: Dec 05 '14