From: Thomas Goirand <thomas@goirand.fr>
Date: Thu, 1 Oct 2015 16:16:16 +0000 (+0000)
Subject: cinder-api also registering the volumev2 type.
X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=3910e2be3f02cf2c9e404adae103567b94560ebc;p=openstack-build%2Fcinder-build.git

cinder-api also registering the volumev2 type.

Rewritten-From: b307243af061a8e187d2aeec5077eca02848e054
---

diff --git a/trusty/debian/changelog b/trusty/debian/changelog
index 261a314a8..3f0d75042 100644
--- a/trusty/debian/changelog
+++ b/trusty/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 <zigo@debian.org>  Tue, 29 Sep 2015 13:23:42 +0000
 
diff --git a/trusty/debian/cinder-api.postinst.in b/trusty/debian/cinder-api.postinst.in
index ff22918c6..c30bfd003 100644
--- a/trusty/debian/cinder-api.postinst.in
+++ b/trusty/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