In a previous blog post I showed how to setup Openstack glance to use the EMC ViPR Swift API. That post was done on a single node. If you want to use Glance in an Openstack enviornment with more than one node you only have to make a few changes to the glance-api.conf file. And this change only has to be made if the messaging service is not running on the same node.
In my lab I’ve deployed Openstack Havana in a 3 node configuration using packstack. I created an answer file and edited it so that services (Glance, Neutron, Cinder, Nova, etc) were split amongst the nodes. Nova2 has the Glance service, and Nova1 has the qpid service.
I follow the directions from my previous post to configure both EMC ViPR and the /etc/glance/glance-api.conf.
I then edit the following in the /etc/glance/glance-api.conf file:
The setting above address the issue found in bug 1020025
Glance notification service wouldn't connect to qpid nodes. Fix: Replaced qpid_host with qpid_hostname in glance-api.
Also the username and password were set in my anwser file for packstack.
Restart the openstack-glance-api service and the EMC ViPR Swift API will be used for Glance image repositories.
Comments