All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-cloud-services][PATCH 1/6] nova: add needed python modules
@ 2015-11-12  2:50 Mark Asselstine
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 2/6] init: no need to close (non-existing) ps file descriptors Mark Asselstine
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Mark Asselstine @ 2015-11-12  2:50 UTC (permalink / raw)
  To: bruce.ashfield, meta-virtualization

Launching nova-compute we get errors regarding missing modules for
'netifaces' and 'retrying'. Add the missing modules to nova's
RDEPENDS.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
 meta-openstack/recipes-devtools/python/python-nova_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb
index 13553f1..0bc5d03 100644
--- a/meta-openstack/recipes-devtools/python/python-nova_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb
@@ -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 \
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-cloud-services][PATCH 2/6] init: no need to close (non-existing) ps file descriptors
  2015-11-12  2:50 [meta-cloud-services][PATCH 1/6] nova: add needed python modules Mark Asselstine
@ 2015-11-12  2:50 ` Mark Asselstine
  2015-11-12 14:35   ` Josep Puigdemont
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 3/6] openstackclient: add missing python modules Mark Asselstine
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 9+ messages in thread
From: Mark Asselstine @ 2015-11-12  2:50 UTC (permalink / raw)
  To: bruce.ashfield, meta-virtualization

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 <mark.asselstine@windriver.com>
---
 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(-)

diff --git a/meta-openstack/recipes-devtools/python/python-barbican/barbican.init b/meta-openstack/recipes-devtools/python/python-barbican/barbican.init
index 5b353e1..a23a493 100644
--- a/meta-openstack/recipes-devtools/python/python-barbican/barbican.init
+++ b/meta-openstack/recipes-devtools/python/python-barbican/barbican.init
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init b/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init
index ba0f426..80fdff5 100644
--- a/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init
+++ b/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
index f753810..7d0aa14 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
+++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
index f130ac8..4c97962 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
+++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-glance/glance.init b/meta-openstack/recipes-devtools/python/python-glance/glance.init
index 5b1bf74..cbcfb0a 100644
--- a/meta-openstack/recipes-devtools/python/python-glance/glance.init
+++ b/meta-openstack/recipes-devtools/python/python-glance/glance.init
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-heat/heat.init b/meta-openstack/recipes-devtools/python/python-heat/heat.init
index 5e0719f..794ac6a 100644
--- a/meta-openstack/recipes-devtools/python/python-heat/heat.init
+++ b/meta-openstack/recipes-devtools/python/python-heat/heat.init
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-horizon/horizon.init b/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
index 994fbec..be79353 100644
--- a/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
+++ b/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone b/meta-openstack/recipes-devtools/python/python-keystone/keystone
index 8953da8..0d8a538 100644
--- a/meta-openstack/recipes-devtools/python/python-keystone/keystone
+++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
index 8b11a27..c9d8d72 100644
--- a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
+++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init b/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init
index 0c78de6..77f8f01 100644
--- a/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init
+++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-all b/meta-openstack/recipes-devtools/python/python-nova/nova-all
index c1d537d..914b714 100644
--- a/meta-openstack/recipes-devtools/python/python-nova/nova-all
+++ b/meta-openstack/recipes-devtools/python/python-nova/nova-all
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth b/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth
index 99f04d5..9a74107 100644
--- a/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth
+++ b/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova.init b/meta-openstack/recipes-devtools/python/python-nova/nova.init
index 46b28d3..607b6de 100644
--- a/meta-openstack/recipes-devtools/python/python-nova/nova.init
+++ b/meta-openstack/recipes-devtools/python/python-nova/nova.init
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-rally/rally.init b/meta-openstack/recipes-devtools/python/python-rally/rally.init
index e834547..6128e48 100644
--- a/meta-openstack/recipes-devtools/python/python-rally/rally.init
+++ b/meta-openstack/recipes-devtools/python/python-rally/rally.init
@@ -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
diff --git a/meta-openstack/recipes-devtools/python/python-trove/trove-init b/meta-openstack/recipes-devtools/python/python-trove/trove-init
index 584bf77..ee0bd21 100644
--- a/meta-openstack/recipes-devtools/python/python-trove/trove-init
+++ b/meta-openstack/recipes-devtools/python/python-trove/trove-init
@@ -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



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-cloud-services][PATCH 3/6] openstackclient: add missing python modules
  2015-11-12  2:50 [meta-cloud-services][PATCH 1/6] nova: add needed python modules Mark Asselstine
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 2/6] init: no need to close (non-existing) ps file descriptors Mark Asselstine
@ 2015-11-12  2:50 ` Mark Asselstine
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 4/6] linux-yocto: carry forward kernel configuration Mark Asselstine
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Mark Asselstine @ 2015-11-12  2:50 UTC (permalink / raw)
  To: bruce.ashfield, meta-virtualization

Attempting 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.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
 .../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

diff --git a/meta-openstack/recipes-devtools/python/python-appdirs_git.bb b/meta-openstack/recipes-devtools/python/python-appdirs_git.bb
new file mode 100644
index 0000000..8e40f26
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-appdirs_git.bb
@@ -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/
+}
diff --git a/meta-openstack/recipes-devtools/python/python-keystoneauth1_1.2.0.bb b/meta-openstack/recipes-devtools/python/python-keystoneauth1_1.2.0.bb
new file mode 100644
index 0000000..a88f8a3
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-keystoneauth1_1.2.0.bb
@@ -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 \
+        "
diff --git a/meta-openstack/recipes-devtools/python/python-openstackclient_1.1.0.bb b/meta-openstack/recipes-devtools/python/python-openstackclient_1.1.0.bb
index 3aa733e..37703cc 100644
--- a/meta-openstack/recipes-devtools/python/python-openstackclient_1.1.0.bb
+++ b/meta-openstack/recipes-devtools/python/python-openstackclient_1.1.0.bb
@@ -21,4 +21,7 @@ DEPENDS += "\
 
 RDEPENDS_${PN} += "\
     python-pbr \
+    python-os-client-config \
+    python-appdirs \
+    python-keystoneauth1 \
     "
diff --git a/meta-openstack/recipes-devtools/python/python-os-client-config_git.bb b/meta-openstack/recipes-devtools/python/python-os-client-config_git.bb
new file mode 100644
index 0000000..de8c2c2
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-os-client-config_git.bb
@@ -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 \
+        "
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-cloud-services][PATCH 4/6] linux-yocto: carry forward kernel configuration
  2015-11-12  2:50 [meta-cloud-services][PATCH 1/6] nova: add needed python modules Mark Asselstine
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 2/6] init: no need to close (non-existing) ps file descriptors Mark Asselstine
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 3/6] openstackclient: add missing python modules Mark Asselstine
@ 2015-11-12  2:50 ` Mark Asselstine
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 5/6] openvswitch: add as RRECOMMENDS for compute and controller Mark Asselstine
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Mark Asselstine @ 2015-11-12  2:50 UTC (permalink / raw)
  To: bruce.ashfield, meta-virtualization

Yocto 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.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
 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

diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg b/meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg
index 9160ffe..223210c 100644
--- a/meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg
+++ b/meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg
@@ -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
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto_4.1.bbappend b/meta-openstack/recipes-kernel/linux/linux-yocto_4.1.bbappend
new file mode 100644
index 0000000..843546c
--- /dev/null
+++ b/meta-openstack/recipes-kernel/linux/linux-yocto_4.1.bbappend
@@ -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 \
+	"
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-cloud-services][PATCH 5/6] openvswitch: add as RRECOMMENDS for compute and controller
  2015-11-12  2:50 [meta-cloud-services][PATCH 1/6] nova: add needed python modules Mark Asselstine
                   ` (2 preceding siblings ...)
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 4/6] linux-yocto: carry forward kernel configuration Mark Asselstine
@ 2015-11-12  2:50 ` Mark Asselstine
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 6/6] functools32: use git instead of release tarballs Mark Asselstine
  2015-11-16 20:12 ` [meta-cloud-services][PATCH 1/6] nova: add needed python modules Bruce Ashfield
  5 siblings, 0 replies; 9+ messages in thread
From: Mark Asselstine @ 2015-11-12  2:50 UTC (permalink / raw)
  To: bruce.ashfield, meta-virtualization

We 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.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
 .../recipes-extended/packagegroups/packagegroup-cloud-compute.bb         | 1 +
 .../recipes-extended/packagegroups/packagegroup-cloud-controller.bb      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-compute.bb b/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-compute.bb
index 2769e02..98a7348 100644
--- a/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-compute.bb
+++ b/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-compute.bb
@@ -41,4 +41,5 @@ RRECOMMENDS_${PN} = " \
     kernel-module-fuse \
     kernel-module-softdog \
     kernel-module-veth \
+    kernel-module-openvswitch \
     "
diff --git a/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-controller.bb b/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-controller.bb
index 706d3ec..2718d2e 100644
--- a/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-controller.bb
+++ b/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-controller.bb
@@ -61,4 +61,5 @@ RRECOMMENDS_${PN} = " \
     kernel-module-fuse \
     cloud-init \
     kernel-module-softdog \
+    kernel-module-openvswitch \
     "
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-cloud-services][PATCH 6/6] functools32: use git instead of release tarballs
  2015-11-12  2:50 [meta-cloud-services][PATCH 1/6] nova: add needed python modules Mark Asselstine
                   ` (3 preceding siblings ...)
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 5/6] openvswitch: add as RRECOMMENDS for compute and controller Mark Asselstine
@ 2015-11-12  2:50 ` Mark Asselstine
  2015-11-16 20:12 ` [meta-cloud-services][PATCH 1/6] nova: add needed python modules Bruce Ashfield
  5 siblings, 0 replies; 9+ messages in thread
From: Mark Asselstine @ 2015-11-12  2:50 UTC (permalink / raw)
  To: bruce.ashfield, meta-virtualization

Since we are often moving packages forward on the master branch it is
simpler to use git instead of tarballs.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
 .../{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%)

diff --git a/meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb b/meta-openstack/recipes-devtools/python/python-functools32_git.bb
similarity index 66%
rename from meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb
rename to meta-openstack/recipes-devtools/python/python-functools32_git.bb
index 937e933..f167e7d 100644
--- a/meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb
+++ b/meta-openstack/recipes-devtools/python/python-functools32_git.bb
@@ -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
 
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [meta-cloud-services][PATCH 2/6] init: no need to close (non-existing) ps file descriptors
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 2/6] init: no need to close (non-existing) ps file descriptors Mark Asselstine
@ 2015-11-12 14:35   ` Josep Puigdemont
  2015-11-16 20:12     ` Bruce Ashfield
  0 siblings, 1 reply; 9+ messages in thread
From: Josep Puigdemont @ 2015-11-12 14:35 UTC (permalink / raw)
  To: Mark Asselstine; +Cc: bruce.ashfield, meta-virtualization

On Wed, Nov 11, 2015 at 09:50:27PM -0500, Mark Asselstine wrote:
> 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 <mark.asselstine@windriver.com>

Please apply this patch to kilo/fido-kilo too. Thanks!

/Josep

> ---
>  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(-)
> 
> diff --git a/meta-openstack/recipes-devtools/python/python-barbican/barbican.init b/meta-openstack/recipes-devtools/python/python-barbican/barbican.init
> index 5b353e1..a23a493 100644
> --- a/meta-openstack/recipes-devtools/python/python-barbican/barbican.init
> +++ b/meta-openstack/recipes-devtools/python/python-barbican/barbican.init
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init b/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init
> index ba0f426..80fdff5 100644
> --- a/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init
> +++ b/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
> index f753810..7d0aa14 100644
> --- a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
> +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
> index f130ac8..4c97962 100644
> --- a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
> +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-glance/glance.init b/meta-openstack/recipes-devtools/python/python-glance/glance.init
> index 5b1bf74..cbcfb0a 100644
> --- a/meta-openstack/recipes-devtools/python/python-glance/glance.init
> +++ b/meta-openstack/recipes-devtools/python/python-glance/glance.init
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-heat/heat.init b/meta-openstack/recipes-devtools/python/python-heat/heat.init
> index 5e0719f..794ac6a 100644
> --- a/meta-openstack/recipes-devtools/python/python-heat/heat.init
> +++ b/meta-openstack/recipes-devtools/python/python-heat/heat.init
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-horizon/horizon.init b/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
> index 994fbec..be79353 100644
> --- a/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
> +++ b/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone b/meta-openstack/recipes-devtools/python/python-keystone/keystone
> index 8953da8..0d8a538 100644
> --- a/meta-openstack/recipes-devtools/python/python-keystone/keystone
> +++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
> index 8b11a27..c9d8d72 100644
> --- a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
> +++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init b/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init
> index 0c78de6..77f8f01 100644
> --- a/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init
> +++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-all b/meta-openstack/recipes-devtools/python/python-nova/nova-all
> index c1d537d..914b714 100644
> --- a/meta-openstack/recipes-devtools/python/python-nova/nova-all
> +++ b/meta-openstack/recipes-devtools/python/python-nova/nova-all
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth b/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth
> index 99f04d5..9a74107 100644
> --- a/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth
> +++ b/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova.init b/meta-openstack/recipes-devtools/python/python-nova/nova.init
> index 46b28d3..607b6de 100644
> --- a/meta-openstack/recipes-devtools/python/python-nova/nova.init
> +++ b/meta-openstack/recipes-devtools/python/python-nova/nova.init
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-rally/rally.init b/meta-openstack/recipes-devtools/python/python-rally/rally.init
> index e834547..6128e48 100644
> --- a/meta-openstack/recipes-devtools/python/python-rally/rally.init
> +++ b/meta-openstack/recipes-devtools/python/python-rally/rally.init
> @@ -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
> diff --git a/meta-openstack/recipes-devtools/python/python-trove/trove-init b/meta-openstack/recipes-devtools/python/python-trove/trove-init
> index 584bf77..ee0bd21 100644
> --- a/meta-openstack/recipes-devtools/python/python-trove/trove-init
> +++ b/meta-openstack/recipes-devtools/python/python-trove/trove-init
> @@ -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
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-cloud-services][PATCH 1/6] nova: add needed python modules
  2015-11-12  2:50 [meta-cloud-services][PATCH 1/6] nova: add needed python modules Mark Asselstine
                   ` (4 preceding siblings ...)
  2015-11-12  2:50 ` [meta-cloud-services][PATCH 6/6] functools32: use git instead of release tarballs Mark Asselstine
@ 2015-11-16 20:12 ` Bruce Ashfield
  5 siblings, 0 replies; 9+ messages in thread
From: Bruce Ashfield @ 2015-11-16 20:12 UTC (permalink / raw)
  To: Mark Asselstine, meta-virtualization

On 15-11-11 09:50 PM, Mark Asselstine wrote:
> 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

>
> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
> ---
>   meta-openstack/recipes-devtools/python/python-nova_git.bb | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb
> index 13553f1..0bc5d03 100644
> --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb
> +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb
> @@ -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 \
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-cloud-services][PATCH 2/6] init: no need to close (non-existing) ps file descriptors
  2015-11-12 14:35   ` Josep Puigdemont
@ 2015-11-16 20:12     ` Bruce Ashfield
  0 siblings, 0 replies; 9+ messages in thread
From: Bruce Ashfield @ 2015-11-16 20:12 UTC (permalink / raw)
  To: Josep Puigdemont, Mark Asselstine; +Cc: meta-virtualization

On 15-11-12 09:35 AM, Josep Puigdemont wrote:
> On Wed, Nov 11, 2015 at 09:50:27PM -0500, Mark Asselstine wrote:
>> 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 <mark.asselstine@windriver.com>
>
> Please apply this patch to kilo/fido-kilo too. Thanks!

done!

Bruce

>
> /Josep
>
>> ---
>>   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(-)
>>
>> diff --git a/meta-openstack/recipes-devtools/python/python-barbican/barbican.init b/meta-openstack/recipes-devtools/python/python-barbican/barbican.init
>> index 5b353e1..a23a493 100644
>> --- a/meta-openstack/recipes-devtools/python/python-barbican/barbican.init
>> +++ b/meta-openstack/recipes-devtools/python/python-barbican/barbican.init
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init b/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init
>> index ba0f426..80fdff5 100644
>> --- a/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init
>> +++ b/meta-openstack/recipes-devtools/python/python-ceilometer/ceilometer.init
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
>> index f753810..7d0aa14 100644
>> --- a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
>> +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
>> index f130ac8..4c97962 100644
>> --- a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
>> +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-glance/glance.init b/meta-openstack/recipes-devtools/python/python-glance/glance.init
>> index 5b1bf74..cbcfb0a 100644
>> --- a/meta-openstack/recipes-devtools/python/python-glance/glance.init
>> +++ b/meta-openstack/recipes-devtools/python/python-glance/glance.init
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-heat/heat.init b/meta-openstack/recipes-devtools/python/python-heat/heat.init
>> index 5e0719f..794ac6a 100644
>> --- a/meta-openstack/recipes-devtools/python/python-heat/heat.init
>> +++ b/meta-openstack/recipes-devtools/python/python-heat/heat.init
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-horizon/horizon.init b/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
>> index 994fbec..be79353 100644
>> --- a/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
>> +++ b/meta-openstack/recipes-devtools/python/python-horizon/horizon.init
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone b/meta-openstack/recipes-devtools/python/python-keystone/keystone
>> index 8953da8..0d8a538 100644
>> --- a/meta-openstack/recipes-devtools/python/python-keystone/keystone
>> +++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
>> index 8b11a27..c9d8d72 100644
>> --- a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
>> +++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init
>> @@ -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
>>           fi
>> diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init b/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init
>> index 0c78de6..77f8f01 100644
>> --- a/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init
>> +++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.init
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-all b/meta-openstack/recipes-devtools/python/python-nova/nova-all
>> index c1d537d..914b714 100644
>> --- a/meta-openstack/recipes-devtools/python/python-nova/nova-all
>> +++ b/meta-openstack/recipes-devtools/python/python-nova/nova-all
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth b/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth
>> index 99f04d5..9a74107 100644
>> --- a/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth
>> +++ b/meta-openstack/recipes-devtools/python/python-nova/nova-consoleauth
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova.init b/meta-openstack/recipes-devtools/python/python-nova/nova.init
>> index 46b28d3..607b6de 100644
>> --- a/meta-openstack/recipes-devtools/python/python-nova/nova.init
>> +++ b/meta-openstack/recipes-devtools/python/python-nova/nova.init
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-rally/rally.init b/meta-openstack/recipes-devtools/python/python-rally/rally.init
>> index e834547..6128e48 100644
>> --- a/meta-openstack/recipes-devtools/python/python-rally/rally.init
>> +++ b/meta-openstack/recipes-devtools/python/python-rally/rally.init
>> @@ -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
>> diff --git a/meta-openstack/recipes-devtools/python/python-trove/trove-init b/meta-openstack/recipes-devtools/python/python-trove/trove-init
>> index 584bf77..ee0bd21 100644
>> --- a/meta-openstack/recipes-devtools/python/python-trove/trove-init
>> +++ b/meta-openstack/recipes-devtools/python/python-trove/trove-init
>> @@ -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
>> meta-virtualization@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-virtualization



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-11-16 20:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-12  2:50 [meta-cloud-services][PATCH 1/6] nova: add needed python modules Mark Asselstine
2015-11-12  2:50 ` [meta-cloud-services][PATCH 2/6] init: no need to close (non-existing) ps file descriptors Mark Asselstine
2015-11-12 14:35   ` Josep Puigdemont
2015-11-16 20:12     ` Bruce Ashfield
2015-11-12  2:50 ` [meta-cloud-services][PATCH 3/6] openstackclient: add missing python modules Mark Asselstine
2015-11-12  2:50 ` [meta-cloud-services][PATCH 4/6] linux-yocto: carry forward kernel configuration Mark Asselstine
2015-11-12  2:50 ` [meta-cloud-services][PATCH 5/6] openvswitch: add as RRECOMMENDS for compute and controller Mark Asselstine
2015-11-12  2:50 ` [meta-cloud-services][PATCH 6/6] functools32: use git instead of release tarballs Mark Asselstine
2015-11-16 20:12 ` [meta-cloud-services][PATCH 1/6] nova: add needed python modules Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.