Remove remaining reference to volume v2 API
... because it was already removed from cinder. Also drop project_id template from volume v3 API because recent cinder releases no longer requires it. Change-Id: I366b045e63c28b9201a0340d9e30188f3b88093a
This commit is contained in:
@@ -162,28 +162,16 @@ fi
|
|||||||
#
|
#
|
||||||
# Volume service
|
# Volume service
|
||||||
#
|
#
|
||||||
openstack service create --name=cinderv2 \
|
|
||||||
--description="Cinder Volume Service V2" \
|
|
||||||
volumev2
|
|
||||||
if [[ -z "$DISABLE_ENDPOINTS" ]]; then
|
|
||||||
openstack endpoint create --region RegionOne \
|
|
||||||
volume public "http://$CONTROLLER_PUBLIC_ADDRESS:8776/v2/\$(project_id)s"
|
|
||||||
openstack endpoint create --region RegionOne \
|
|
||||||
volume admin "http://$CONTROLLER_ADMIN_ADDRESS:8776/v2/\$(project_id)s"
|
|
||||||
openstack endpoint create --region RegionOne \
|
|
||||||
volume internal "http://$CONTROLLER_INTERNAL_ADDRESS:8776/v2/\$(project_id)s"
|
|
||||||
fi
|
|
||||||
|
|
||||||
openstack service create --name=cinderv3 \
|
openstack service create --name=cinderv3 \
|
||||||
--description="Cinder Volume Service V3" \
|
--description="Cinder Volume Service V3" \
|
||||||
volumev3
|
volumev3
|
||||||
if [[ -z "$DISABLE_ENDPOINTS" ]]; then
|
if [[ -z "$DISABLE_ENDPOINTS" ]]; then
|
||||||
openstack endpoint create --region RegionOne \
|
openstack endpoint create --region RegionOne \
|
||||||
volume public "http://$CONTROLLER_PUBLIC_ADDRESS:8776/v3/\$(project_id)s"
|
volume public "http://$CONTROLLER_PUBLIC_ADDRESS:8776/v3"
|
||||||
openstack endpoint create --region RegionOne \
|
openstack endpoint create --region RegionOne \
|
||||||
volume admin "http://$CONTROLLER_ADMIN_ADDRESS:8776/v3/\$(project_id)s"
|
volume admin "http://$CONTROLLER_ADMIN_ADDRESS:8776/v3"
|
||||||
openstack endpoint create --region RegionOne \
|
openstack endpoint create --region RegionOne \
|
||||||
volume internal "http://$CONTROLLER_INTERNAL_ADDRESS:8776/v3/\$(project_id)s"
|
volume internal "http://$CONTROLLER_INTERNAL_ADDRESS:8776/v3"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user