Merge "Migrates glance element from map-services to svc-map"

This commit is contained in:
Jenkins 2014-11-11 02:13:04 +00:00 committed by Gerrit Code Review
commit be4fd0c42f
3 changed files with 13 additions and 6 deletions

View File

@ -12,7 +12,7 @@ cp /opt/stack/glance/etc/schema-image.json /etc/glance/schema-image.json
cp /opt/stack/glance/etc/glance-api-paste.ini /etc/glance/glance-api-paste.ini
cp /opt/stack/glance/etc/glance-registry-paste.ini /etc/glance/glance-registry-paste.ini
os-svc-daemon -i "$GLANCE_VENV_DIR" glance-api glance glance-api
os-svc-daemon -i "$GLANCE_VENV_DIR" glance-reg glance glance-registry
os-svc-daemon -a -i "$GLANCE_VENV_DIR" glance-api glance glance-api
os-svc-daemon -a -i "$GLANCE_VENV_DIR" glance-reg glance glance-registry
add-selinux-path-substitution /usr/bin $GLANCE_VENV_DIR/bin

View File

@ -1,8 +1,8 @@
#!/bin/bash
set -eu
os-svc-enable -n glance-api
os-svc-enable -n glance-reg
os-svc-enable -an glance-api
os-svc-enable -an glance-reg
os-svc-restart -n glance-api
os-svc-restart -n glance-reg
os-svc-restart -an glance-api
os-svc-restart -an glance-reg

7
elements/glance/svc-map Normal file
View File

@ -0,0 +1,7 @@
glance-api:
default: openstack-glance-api
debian: glance-api
glance-reg:
default: openstack-glance-registry
debian: glance-reg