[meta-virtualization] [m-c-s][PATCH 41/49] cinder: uprev to Liberty

Mark Asselstine mark.asselstine at windriver.com
Wed Feb 3 17:41:36 PST 2016


Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 .../recipes-devtools/python/python-cinder_git.bb   | 50 +++++++++++++++++-----
 .../python/python-cinderclient_git.bb              |  8 ++--
 2 files changed, 45 insertions(+), 13 deletions(-)

diff --git a/meta-openstack/recipes-devtools/python/python-cinder_git.bb b/meta-openstack/recipes-devtools/python/python-cinder_git.bb
index ceb17d8..7e689e7 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb
@@ -4,10 +4,9 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 
-PR = "r0"
 SRCNAME = "cinder"
 
-SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/kilo \
+SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=master \
     file://cinder.conf \
     file://cinder.init \
     file://cinder-volume \
@@ -15,14 +14,14 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/kilo \
     file://glusterfs_setup.sh \
     file://lvm_iscsi_setup.sh \
     file://add-cinder-volume-types.sh \
-    file://cinder-builtin-tests-config-location.patch \
     "
 
 # file://0001-run_tests-respect-tools-dir.patch
 # file://fix_cinder_memory_leak.patch 
+# file://cinder-builtin-tests-config-location.patch
 
-SRCREV = "5987bb2290f629e59b0bcced2f8fe22cdeb9cc6d"
-PV = "2015.1.0+git${SRCPV}"
+SRCREV = "61026d4e4f2a58dd84ffb2e4e40ab99860b9316a"
+PV = "7.0.0+git${SRCPV}"
 S = "${WORKDIR}/git"
 
 inherit setuptools update-rc.d identity default_configs hosts openstackchef monitor
@@ -49,9 +48,9 @@ python () {
 }
 SERVICECREATE_PACKAGES[vardeps] += "KEYSTONE_HOST"
 
-do_install_prepend() {
-    sed 's:%PYTHON_SITEPACKAGES_DIR%:${PYTHON_SITEPACKAGES_DIR}:g' -i ${S}/${SRCNAME}/tests/conf_fixture.py
-}
+#do_install_prepend() {
+#    sed 's:%PYTHON_SITEPACKAGES_DIR%:${PYTHON_SITEPACKAGES_DIR}:g' -i ${S}/${SRCNAME}/tests/conf_fixture.py
+#}
 
 CINDER_LVM_VOLUME_BACKING_FILE_SIZE ?= "2G"
 CINDER_NFS_VOLUME_SERVERS_DEFAULT = "controller:/etc/cinder/nfs_volumes"
@@ -162,7 +161,7 @@ pkg_postinst_${SRCNAME}-setup () {
 PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler ${SRCNAME}-backup"
 ALLOW_EMPTY_${SRCNAME}-setup = "1"
 
-RDEPENDS_${SRCNAME}-tests += " bash"
+RDEPENDS_${SRCNAME}-tests += " bash python"
 
 FILES_${PN} = "${libdir}/* /etc/tgt"
 
@@ -207,7 +206,7 @@ RDEPENDS_${PN} += "lvm2 \
 	python-paste \
 	python-sqlalchemy-migrate \
 	python-stevedore \
-	python-suds \
+	python-suds-jurko \
 	python-paramiko \
 	python-babel \
 	python-iso8601 \
@@ -218,9 +217,40 @@ RDEPENDS_${PN} += "lvm2 \
 	python-cinderclient \
 	python-oslo.config \
 	python-oslo.rootwrap \
+        python-oslo.concurrency \
+        python-oslo.context \
+        python-oslo.db \
+        python-oslo.log \
+        python-oslo.messaging \
+        python-oslo.middleware \
+        python-oslo.policy \
+        python-oslo.reports \
+        python-oslo.serialization \
+        python-oslo.service \
+        python-oslo.utils \
+        python-oslo.versionedobjects \
 	python-pbr \
 	python-taskflow \
 	python-rtslib-fb \
+        python-keystonemiddleware \
+        python-netaddr \
+        python-osprofiler \
+        python-pycrypto \
+        python-pyparsing \
+        python-barbicanclient \
+        python-glanceclient \
+        python-novaclient \
+        python-swiftclient \
+        python-requests \
+        python-retrying \
+        python-taskflow \
+        python-rtslib-fb \
+        python-six \
+        python-oslo.i18n \
+        python-oslo.vmware \
+        python-os-brick \
+        python-enum34 \
+        python-routes \
 	"
 
 RDEPENDS_${SRCNAME} = "${PN} \
diff --git a/meta-openstack/recipes-devtools/python/python-cinderclient_git.bb b/meta-openstack/recipes-devtools/python/python-cinderclient_git.bb
index 7e8e780..e264694 100644
--- a/meta-openstack/recipes-devtools/python/python-cinderclient_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-cinderclient_git.bb
@@ -5,7 +5,6 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3572962e13e5e739b30b0864365e0795"
 DEPENDS = "python-setuptools-git"
 
-PR = "r0"
 SRCNAME = "python-cinderclient"
 
 SRC_URI = "\
@@ -14,8 +13,8 @@ SRC_URI = "\
 	file://cinder-api-check.sh \
 	"
 
-PV="1.1.1+git${SRCPV}"
-SRCREV="9e94d814c6ae07c3d5e8242754aebcce150265cc"
+PV="1.4.0+git${SRCPV}"
+SRCREV="c167dda40cc65fe437a12b815ef91bbde4efb6bb"
 S = "${WORKDIR}/git"
 
 inherit setuptools monitor rmargparse
@@ -30,6 +29,9 @@ RDEPENDS_${PN} += "python-prettytable \
                    python-requests \
                    python-setuptools-git \
                    python-pbr \
+                   python-keystoneclient \
+                   python-babel \
+                   python-six \
 	           "
 
 PACKAGECONFIG ?= "bash-completion"
-- 
2.1.4



More information about the meta-virtualization mailing list