Skip to content

Commit

Permalink
provision glance api_server knob based on INTERNAL_VIP or CONTROLLER
Browse files Browse the repository at this point in the history
for HA or non-HA case and handled in seperately for ubuntu or rpm for mitaka or prior release
Closes-Bug:#1616645

Change-Id: Icdd3e8fe16b84f5234a1fcb63bfd3c94d75b61e7
  • Loading branch information
moghea committed Nov 15, 2016
1 parent 908e899 commit 6765a2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contrail_provisioning/openstack/scripts/nova-server-setup.sh
Expand Up @@ -444,7 +444,11 @@ if [ "$INTERNAL_VIP" != "none" ]; then
openstack-config --set /etc/nova/nova.conf DEFAULT $ADMIN_AUTH_URL $AUTH_PROTOCOL://$INTERNAL_VIP:5000/$KEYSTONE_VERSION/
openstack-config --set /etc/nova/nova.conf DEFAULT $OS_URL ${QUANTUM_PROTOCOL}://$INTERNAL_VIP:9696/
openstack-config --set /etc/nova/nova.conf DEFAULT image_service nova.image.glance.GlanceImageService
openstack-config --set /etc/nova/nova.conf DEFAULT glance_api_servers $INTERNAL_VIP:9292
if [ $is_mitaka_or_above -eq 1 ]; then
openstack-config --set /etc/nova/nova.conf glance api_servers $INTERNAL_VIP:9292
else
openstack-config --set /etc/nova/nova.conf DEFAULT glance_api_servers $INTERNAL_VIP:9292
fi
openstack-config --set /etc/nova/nova.conf DEFAULT service_down_time 90
openstack-config --set /etc/nova/nova.conf DEFAULT scheduler_max_attempts 10
openstack-config --set /etc/nova/nova.conf database idle_timeout 180
Expand Down

0 comments on commit 6765a2d

Please sign in to comment.