Add support for Glance backend
Change-Id: I9481438cd298d593c2f23afb82b5af6372259235
This commit is contained in:
parent
7f031d4019
commit
2b9b19265f
@ -1,4 +1,4 @@
|
||||
[gerrit]
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=stackforge/devstack-plugin-sheepdog.git
|
||||
project=openstack/devstack-plugin-sheepdog.git
|
||||
|
@ -97,6 +97,13 @@ function configure_cinder_backend_sheepdog {
|
||||
iniset $CINDER_CONF $be_name volume_driver "cinder.volume.drivers.sheepdog.SheepdogDriver"
|
||||
}
|
||||
|
||||
function configure_sheepdog_glance {
|
||||
iniset $GLANCE_API_CONF DEFAULT show_image_direct_url true
|
||||
iniset $GLANCE_API_CONF sheepdog default_store sheepdog
|
||||
iniset $GLANCE_API_CONF sheepdog stores file,http,sheepdog
|
||||
iniset $GLANCE_API_CONF sheepdog sheepdog_store_address 127.0.0.1
|
||||
}
|
||||
|
||||
if [[ "$1" == "source" ]]; then
|
||||
# Initial source
|
||||
source $TOP_DIR/lib/sheepdog
|
||||
@ -107,6 +114,7 @@ elif [[ "$1" == "stack" && "$2" == "install" ]]; then
|
||||
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
|
||||
echo_summary "Configuring Sheepdog"
|
||||
configure_sheepdog
|
||||
configure_sheepdog_glance
|
||||
|
||||
# We need to have Sheepdog started before the main OpenStack components.
|
||||
start_sheepdog
|
||||
|
Loading…
x
Reference in New Issue
Block a user