From b307243af061a8e187d2aeec5077eca02848e054 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Thu, 1 Oct 2015 16:16:16 +0000 Subject: [PATCH] cinder-api also registering the volumev2 type. --- debian/changelog | 1 + debian/cinder-api.postinst.in | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 261a314a8..3f0d75042 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ cinder (2:7.0.0~rc1-2) experimental; urgency=medium * cinder-api depends on python-openstackclient. * Fixed cinder.conf generation. + * cinder-api also registering the volumev2 type. -- Thomas Goirand Tue, 29 Sep 2015 13:23:42 +0000 diff --git a/debian/cinder-api.postinst.in b/debian/cinder-api.postinst.in index ff22918c6..c30bfd003 100644 --- a/debian/cinder-api.postinst.in +++ b/debian/cinder-api.postinst.in @@ -6,7 +6,8 @@ set -e if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then . /usr/share/debconf/confmodule - pkgos_register_endpoint_postinst cinder cinder volume "Cinder Volume Service" 8776 /v1/'%(tenant_id)s' + pkgos_register_endpoint_postinst cinder cinder volume "OpenStack Block Storage" 8776 /v2/'%(tenant_id)s' + pkgos_register_endpoint_postinst cinder cinderv2 volumev2 "Cinder Volume Service" 8776 /v2/'%(tenant_id)s' db_stop fi -- 2.45.2