Skip to content

Commit

Permalink
Fixes:when haproxy is stopped on vip node , one of the glance request…
Browse files Browse the repository at this point in the history
… out of three fails

Description:Glance request load balanced to the node, where HAproxy is stopped, is not able to connect to keystone, as identity_uri is based on localhost instead of internal VIP. This is corrected.
ClosesBug:1469312

Change-Id: I8c3b88596eb9b094c376b002bb8db6aea1fc1afc
  • Loading branch information
Suresh-vin committed Aug 12, 2015
1 parent ca1a9bb commit 01e6389
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ for cfg in api registry; do
openstack-config --set /etc/glance/glance-$cfg.conf keystone_authtoken admin_password $ADMIN_TOKEN
openstack-config --set /etc/glance/glance-$cfg.conf paste_deploy flavor keystone
if [ "$INTERNAL_VIP" != "none" ]; then
openstack-config --set /etc/glance/glance-$cfg.conf keystone_authtoken identity_uri http://$INTERNAL_VIP:5000
openstack-config --set /etc/glance/glance-$cfg.conf keystone_authtoken auth_host $INTERNAL_VIP
openstack-config --set /etc/glance/glance-$cfg.conf keystone_authtoken auth_port 5000
openstack-config --set /etc/glance/glance-$cfg.conf database idle_timeout 180
Expand Down

0 comments on commit 01e6389

Please sign in to comment.