nova: add needed python modules
PATCH 1/6 nova: add needed python modules
Launching nova-compute we get errors regarding missing modules for 'netifaces' and 'retrying'. Add the missing modules to nova's RDEPENDS.
--- meta-openstack/recipes-devtools/python/python-nova_git.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-openstack/recipes-devtools/python/python-nova_git.bb +2 -0
@@ -323,6 +323,8 @@ RDEPENDS_${PN} = " libvirt \ python-rfc3986 \ python-oslo.i18n \ python-sqlparse \ + python-netifaces \ + python-retrying \ " RDEPENDS_${SRCNAME}-common = "${PN} openssl openssl-misc libxml2 libxslt \
Signature · 1 line
2.1.4
PATCH 2/6 init: no need to close (non-existing) ps file descriptors
Attempting to get the status of various daemons which are part of the compute image results in an error:
ps: write error: Bad file descriptor
Switch to using the more standard io redirection techniques to avoid this error.
--- meta-openstack/recipes-devtools/python/python-barbican/barbican.init | 2 +- .../recipes-devtools/python/python-ceilometer/ceilometer.init | 2 +- meta-openstack/recipes-devtools/python/python-cinder/cinder-volume | 2 +- meta-openstack/recipes-devtools/python/python-cinder/cinder.init | 2 +- meta-openstack/recipes-devtools/python/python-glance/glance.init | 2 +- meta-openstack/recipes-devtools/python/python-heat/heat.init | 2 +- meta-openstack/recipes-devtools/python/python-horizon/horizon.init | 2 +- meta-openstack/recipes-devtools/python/python-keystone/keystone | 2 +- .../recipes-devtools/python/python-neutron/neutron-agent.init | 2 +- .../recipes-devtools/python/python-neutron/neutron-server.init | 2 +- meta-openstack/recipes-devtools/python/python-nova/nova-all | 2 +- meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth | 2 +- meta-openstack/recipes-devtools/python/python-nova/nova.init | 2 +- meta-openstack/recipes-devtools/python/python-rally/rally.init | 2 +- meta-openstack/recipes-devtools/python/python-trove/trove-init | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-)
meta-openstack/recipes-devtools/python/python-barbican/barbican.init +1 -1
@@ -71,7 +71,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init +1 -1
@@ -62,7 +62,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-cinder/cinder-volume +1 -1
@@ -61,7 +61,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-cinder/cinder.init +1 -1
@@ -63,7 +63,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-glance/glance.init +1 -1
@@ -62,7 +62,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-heat/heat.init +1 -1
@@ -68,7 +68,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-horizon/horizon.init +1 -1
@@ -58,7 +58,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-keystone/keystone +1 -1
@@ -59,7 +59,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init +1 -1
@@ -60,7 +60,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init +1 -1
@@ -63,7 +63,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-nova/nova-all +1 -1
@@ -62,7 +62,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth +1 -1
@@ -48,7 +48,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-nova/nova.init +1 -1
@@ -78,7 +78,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-rally/rally.init +1 -1
@@ -63,7 +63,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
meta-openstack/recipes-devtools/python/python-trove/trove-init +1 -1
@@ -73,7 +73,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi
Signature · 1 line
2.1.4
Re: [meta-cloud-services][PATCH 2/6] init: no need to close (non-existing) ps file descriptors
Quoted 9 lines · Mark Asselstine
Attempting to get the status of various daemons which are part of the compute image results in an error:
ps: write error: Bad file descriptor
Switch to using the more standard io redirection techniques to avoid this error.
Signed-off-by Mark Asselstine <[email protected]>
Please apply this patch to kilo/fido-kilo too. Thanks!
/Josep
Quoted 221 lines
--- meta-openstack/recipes-devtools/python/python-barbican/barbican.init | 2 +- .../recipes-devtools/python/python-ceilometer/ceilometer.init | 2 +- meta-openstack/recipes-devtools/python/python-cinder/cinder-volume | 2 +- meta-openstack/recipes-devtools/python/python-cinder/cinder.init | 2 +- meta-openstack/recipes-devtools/python/python-glance/glance.init | 2 +- meta-openstack/recipes-devtools/python/python-heat/heat.init | 2 +- meta-openstack/recipes-devtools/python/python-horizon/horizon.init | 2 +- meta-openstack/recipes-devtools/python/python-keystone/keystone | 2 +- .../recipes-devtools/python/python-neutron/neutron-agent.init | 2 +- .../recipes-devtools/python/python-neutron/neutron-server.init | 2 +- meta-openstack/recipes-devtools/python/python-nova/nova-all | 2 +- meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth | 2 +- meta-openstack/recipes-devtools/python/python-nova/nova.init | 2 +- meta-openstack/recipes-devtools/python/python-rally/rally.init | 2 +- meta-openstack/recipes-devtools/python/python-trove/trove-init | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-)meta-openstack/recipes-devtools/python/python-barbican/barbican.init +1
-1@@ -71,7 +71,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init +1
-1@@ -62,7 +62,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-cinder/cinder-volume +1
-1@@ -61,7 +61,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-cinder/cinder.init +1
-1@@ -63,7 +63,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-glance/glance.init +1
-1@@ -62,7 +62,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-heat/heat.init +1
-1@@ -68,7 +68,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-horizon/horizon.init +1
-1@@ -58,7 +58,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-keystone/keystone +1
-1@@ -59,7 +59,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init +1
-1@@ -60,7 +60,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-neutron/neutron-server.init +1
-1@@ -63,7 +63,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-nova/nova-all +1
-1@@ -62,7 +62,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-nova/nova-consoleauth +1
-1@@ -48,7 +48,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-nova/nova.init +1
-1@@ -78,7 +78,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-rally/rally.init +1
-1@@ -63,7 +63,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-trove/trove-init +1
-1@@ -73,7 +73,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fiSignature · 7 lines
2.1.4 -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
Re: [meta-cloud-services][PATCH 2/6] init: no need to close (non-existing) ps file descriptors
Quoted 4 lines · Josep Puigdemont
Quoted 3 lines · Mark Asselstine
Attempting to get the status of various daemons which are part of the compute image results in an error:
Quoted 8 lines
Quoted 6 lines
ps: write error: Bad file descriptor
Switch to using the more standard io redirection techniques to avoid this error.
Signed-off-by Mark Asselstine <[email protected]>Please apply this patch to kilo/fido-kilo too. Thanks!
done!
Bruce
Quoted 224 lines
/Josep
Quoted 221 lines
--- meta-openstack/recipes-devtools/python/python-barbican/barbican.init | 2 +- .../recipes-devtools/python/python-ceilometer/ceilometer.init | 2 +- meta-openstack/recipes-devtools/python/python-cinder/cinder-volume | 2 +- meta-openstack/recipes-devtools/python/python-cinder/cinder.init | 2 +- meta-openstack/recipes-devtools/python/python-glance/glance.init | 2 +- meta-openstack/recipes-devtools/python/python-heat/heat.init | 2 +- meta-openstack/recipes-devtools/python/python-horizon/horizon.init | 2 +- meta-openstack/recipes-devtools/python/python-keystone/keystone | 2 +- .../recipes-devtools/python/python-neutron/neutron-agent.init | 2 +- .../recipes-devtools/python/python-neutron/neutron-server.init | 2 +- meta-openstack/recipes-devtools/python/python-nova/nova-all | 2 +- meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth | 2 +- meta-openstack/recipes-devtools/python/python-nova/nova.init | 2 +- meta-openstack/recipes-devtools/python/python-rally/rally.init | 2 +- meta-openstack/recipes-devtools/python/python-trove/trove-init | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-)meta-openstack/recipes-devtools/python/python-barbican/barbican.init +1
-1@@ -71,7 +71,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init +1
-1@@ -62,7 +62,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-cinder/cinder-volume +1
-1@@ -61,7 +61,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-cinder/cinder.init +1
-1@@ -63,7 +63,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-glance/glance.init +1
-1@@ -62,7 +62,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-heat/heat.init +1
-1@@ -68,7 +68,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-horizon/horizon.init +1
-1@@ -58,7 +58,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-keystone/keystone +1
-1@@ -59,7 +59,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init +1
-1@@ -60,7 +60,7 @@ status()warren paget { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-neutron/neutron-server.init +1
-1@@ -63,7 +63,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-nova/nova-all +1
-1@@ -62,7 +62,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-nova/nova-consoleauth +1
-1@@ -48,7 +48,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-nova/nova.init +1
-1@@ -78,7 +78,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-rally/rally.init +1
-1@@ -63,7 +63,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fimeta-openstack/recipes-devtools/python/python-trove/trove-init +1
-2@@ -73,7 +73,7 @@ status() { pid=`cat $PIDFILE 2>/dev/null` if [ -n "$pid" ]; then - if ps -p $pid >&- ; then + if ps -p $pid > /dev/null 2>&1 ; then echo "$DESC is running" return fi --2.1.4
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
PATCH 3/6 openstackclient: add missing python modules
In reply to Mark AsselstineAttempting to run 'openstack' commands (such as 'openstack user list') will fail with errors regarding missing python modules.
Add the missing module recipes and add the dependencies to openstackclient.
--- .../recipes-devtools/python/python-appdirs_git.bb | 34 ++++++++++++++++++++++ .../python/python-keystoneauth1_1.2.0.bb | 23 +++++++++++++++ .../python/python-openstackclient_1.1.0.bb | 3 ++ .../python/python-os-client-config_git.bb | 23 +++++++++++++++ 4 files changed, 83 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-appdirs_git.bb create mode 100644 meta-openstack/recipes-devtools/python/python-keystoneauth1_1.2.0.bb create mode 100644 meta-openstack/recipes-devtools/python/python-os-client-config_git.bb
meta-openstack/recipes-devtools/python/python-appdirs_git.bb new file +34 -0
@@ -0,0 +1,34 @@ +DESCRIPTION = "A small Python module for determining appropriate platform-specific dirs, e.g. a user data dir." +HOMEPAGE = "http://github.com/ActiveState/appdirs" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" + +PV = "1.4.0" +SRCREV = "57f2bc44a8bca99bac6c57496c8b3fdea26f94d5" + +SRCNAME = "appdirs" +SRC_URI = "git://github.com/ActiveState/${SRCNAME}.git" + +S = "${WORKDIR}/git" + +inherit distutils + +DEPENDS += " \ + python-pip \ + " + +RDEPENDS_${PN} += " \ + python-pip \ + " + +do_install_append() { + # Using these "longest" paths will ensure needed shorter paths will be created + install -d ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/test + install -d ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info + + install -m 644 ${S}/${SRCNAME}.py ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/__init__.py + install -m 644 ${S}/${SRCNAME}.pyc ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/__init__.pyc + install -m 644 ${S}/test/* ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/test/ + install -m 644 ${S}/${SRCNAME}.egg-info/* ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info/ +}
meta-openstack/recipes-devtools/python/python-keystoneauth1_1.2.0.bb new file +23 -0
@@ -0,0 +1,23 @@ +DESCRIPTION = "Authentication Library for OpenStack Identity" +HOMEPAGE = "https://pypi.python.org/pypi/keystoneauth1" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=96f840d59b245a1c817fbcb901afc574" + +SRCNAME = "keystoneauth1" +SRC_URI = "http://pypi.python.org/packages/source/k/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" + +SRC_URI[md5sum] = "db4c75346480300fe9015945f73ab33a" +SRC_URI[sha256sum] = "e8386dc8b0f17d439e1f2f4e6a8ef64fe0f2b81938b2f0b13f80042bb98e2b85" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +DEPENDS += " \ + python-pbr \ + " + +RDEPENDS_${PN} += " \ + python-pbr \ + "
meta-openstack/recipes-devtools/python/python-openstackclient_1.1.0.bb +3 -0
@@ -21,4 +21,7 @@ DEPENDS += "\ RDEPENDS_${PN} += "\ python-pbr \ + python-os-client-config \ + python-appdirs \ + python-keystoneauth1 \ "
meta-openstack/recipes-devtools/python/python-os-client-config_git.bb new file +23 -0
@@ -0,0 +1,23 @@ +DESCRIPTION = "OpenStack Client Configuation Library" +HOMEPAGE = "https://pypi.python.org/pypi/os-client-config" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" + +PV = "1.9.0" +SRCREV = "790fac98542ba303274180831cbd9a03604a84e8" + +SRCNAME = "os-client-config" +SRC_URI = "git://github.com/openstack/${SRCNAME}.git" + +S = "${WORKDIR}/git" + +inherit distutils + +DEPENDS += " \ + python-pbr \ + " + +RDEPENDS_${PN} += " \ + python-pbr \ + "
Signature · 1 line
2.1.4
PATCH 4/6 linux-yocto: carry forward kernel configuration
In reply to Mark AsselstineYocto master uses linux-yocto 4.1 so we need to create the proper bbappend to ensure we are setting up the kernel correctly. We reuse the bbappend for the previous kernel version but enable CONFIG_IP_NF_NAT to allow nova to define the desired iptables.
--- meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg | 1 + meta-openstack/recipes-kernel/linux/linux-yocto_4.1.bbappend | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 meta-openstack/recipes-kernel/linux/linux-yocto_4.1.bbappend
meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg +1 -0
@@ -5,3 +5,4 @@ CONFIG_NF_NAT_PROTO_SCTP=m CONFIG_NF_CONNTRACK_IPV4=y CONFIG_NF_CONNTRACK_PROC_COMPAT=y CONFIG_NF_NAT_IPV4=m +CONFIG_IP_NF_NAT=m
meta-openstack/recipes-kernel/linux/linux-yocto_4.1.bbappend new file +9 -0
@@ -0,0 +1,9 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://enable-veth.cfg \ + file://enable-iscsi-tcp.cfg \ + file://enable-nbd.cfg \ + file://enable-rtlink.cfg \ + file://nf.scc \ + file://nfs.scc \ + "
Signature · 1 line
2.1.4
PATCH 5/6 openvswitch: add as RRECOMMENDS for compute and controller
In reply to Mark AsselstineWe use openvswitch throughout the openstack images so we need to make sure the kernel module is available by adding it to the list of RRECOMMENDS packages.
--- .../recipes-extended/packagegroups/packagegroup-cloud-compute.bb | 1 + .../recipes-extended/packagegroups/packagegroup-cloud-controller.bb | 1 + 2 files changed, 2 insertions(+)
meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-compute.bb +1 -0
@@ -41,4 +41,5 @@ RRECOMMENDS_${PN} = " \ kernel-module-fuse \ kernel-module-softdog \ kernel-module-veth \ + kernel-module-openvswitch \ "
meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-controller.bb +1 -0
@@ -61,4 +61,5 @@ RRECOMMENDS_${PN} = " \ kernel-module-fuse \ cloud-init \ kernel-module-softdog \ + kernel-module-openvswitch \ "
Signature · 1 line
2.1.4
PATCH 6/6 functools32: use git instead of release tarballs
In reply to Mark AsselstineSince we are often moving packages forward on the master branch it is simpler to use git instead of tarballs.
---
.../{python-functools32_3.2.3-2.bb => python-functools32_git.bb} | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
rename meta-openstack/recipes-devtools/python/{python-functools32_3.2.3-2.bb => python-functools32_git.bb} (66%)meta-openstack/recipes-devtools/python/python-functools32_git.bb renamed from meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb +5 -4
@@ -3,14 +3,15 @@ HOMEPAGE = "https://pypi.python.org/pypi/functools32" SECTION = "devel/python" LICENSE = "PSFv2" +PV = "3.2.3-2" +SRCREV = "ad90fa86e2f4f494a3aedb0571274f3bbc6d7ab5" + SRCNAME = "functools32" LIC_FILES_CHKSUM = "file://LICENSE;md5=27cf2345969ed18e6730e90fb0063a10" -SRC_URI = "http://pypi.python.org/packages/source/f/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" -SRC_URI[md5sum] = "09f24ffd9af9f6cd0f63cb9f4e23d4b2" -SRC_URI[sha256sum] = "f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d" +SRC_URI = "git://github.com/MiCHiLU/python-${SRCNAME}.git" -S = "${WORKDIR}/${SRCNAME}-${PV}" +S = "${WORKDIR}/git" inherit distutils
Signature · 1 line
2.1.4
Quoted 3 lines · Mark Asselstine
Launching nova-compute we get errors regarding missing modules for 'netifaces' and 'retrying'. Add the missing modules to nova's RDEPENDS.
merged all 6 patches to master.
Bruce
Quoted 20 lines
Signed-off-by Mark Asselstine <[email protected]>--- meta-openstack/recipes-devtools/python/python-nova_git.bb | 2 ++ 1 file changed, 2 insertions(+)meta-openstack/recipes-devtools/python/python-nova_git.bb +2
-0@@ -323,6 +323,8 @@ RDEPENDS_${PN} = " libvirt \ python-rfc3986 \ python-oslo.i18n \ python-sqlparse \ + python-netifaces \ + python-retrying \ " RDEPENDS_${SRCNAME}-common = "${PN} openssl openssl-misc libxml2 libxslt \