* Manualy create the cinder v1 service and endpoint (the Cinder package

currently only creates the cinderv2 service.
This commit is contained in:
Thomas Goirand 2015-10-02 09:36:10 +02:00
parent 306fd716d5
commit d4edf2f41c
2 changed files with 5 additions and 0 deletions

2
debian/changelog vendored
View File

@ -5,6 +5,8 @@ openstack-meta-packages (0.14) experimental; urgency=medium
* Switched to using liberty instead of Kilo.
* Also setting OS_PROJECT_NAME in openrc.sh.
* Fixed --is-public=True -> --visibility public when adding a new image.
* Manualy create the cinder v1 service and endpoint (the Cinder package
currently only creates the cinderv2 service.
-- Thomas Goirand <zigo@debian.org> Sat, 16 May 2015 07:26:45 +0200

View File

@ -223,6 +223,9 @@ install_cinder () {
else
DEBIAN_FRONTEND=noninteractive ${APTGET} install tgt || true
fi
# In production, we don't need the v1 endpoint, but for tempest, we do...
openstack service create --description "Cinder Volume Service" --name cinder volume
openstack endpoint create --publicurl http://${DEFROUTE_IP}:8776/v2/%\(tenant_id\)s --adminurl http://${DEFROUTE_IP}:8776/v2/%\(tenant_id\)s --internalurl http://${DEFROUTE_IP}:8776/v2/%\(tenant_id\)s --region regionOne cinder
}
deploy_tempest_install_pkgs