Skip to contentSkip to conversation

python-keystoneclient: add missing rdepends on python-oslo.serialization

PATCH In review [email protected] 2 participants 3 messages May 19, 2015 – May 20, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python-keystoneclient: add missing rdepends on python-oslo.serialization

From: Jackie Huang <[email protected]>

Add missing rdepends or it fails with:
File "/usr/lib64/python2.7/site-packages/keystoneclient/session.py", line 22, in <module>
from oslo_serialization import jsonutils
ImportError: No module named oslo_serialization

---
 meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb +1 -0
index 0063efc..383163d 100644
@@ -32,6 +32,7 @@ RDEPENDS_${PN} += " \
 	python-requests \
 	python-simplejson \
 	python-oslo.config \
+	python-oslo.serialization \
 	python-pbr \
 	"
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 python-nova: add missing rdepends

From: Jackie Huang <[email protected]>

Add the missing rdepends on python-oslo.log, python-psutil and python-amqp or it fails with:

File "/usr/lib64/python2.7/site-packages/nova/cmd/compute.py", line 23, in <module>
from oslo_log import log as logging
ImportError: No module named oslo_log

File "/usr/lib64/python2.7/site-packages/nova/openstack/common/report/generators/process.py", line 23, in <module>
import psutil
ImportError: No module named psutil

File "/usr/lib64/python2.7/site-packages/stevedore/driver.py", line 50, in _default_on_load_failure
raise err
ImportError: No module named amqp

---
 meta-openstack/recipes-devtools/python/python-nova_git.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-openstack/recipes-devtools/python/python-nova_git.bb +3 -0
index 4e96341..423b0c3 100644
@@ -274,6 +274,7 @@ RDEPENDS_${PN} = " libvirt \
 		   python-keystonemiddleware \
 		   python-modules \
 		   python-misc \
+		   python-amqp \
 		   python-amqplib \
 		   python-anyjson \
 		   python-babel \
@@ -297,9 +298,11 @@ RDEPENDS_${PN} = " libvirt \
 		   python-oslo.concurrency \
 		   python-oslo.middleware \
 		   python-oslo.context \
+		   python-oslo.log \
 		   python-paste \
 		   python-pastedeploy \
 		   python-paramiko \
+		   python-psutil \
 		   python-pyasn1 \
 		   python-setuptools-git \
 		   python-simplejson \
Signature · 1 line
1.9.1
#2 lore raw
In reply to [email protected]
Quoted 7 lines · On Tue, May 19, 2015 at 2:54 AM, <[email protected]> wrote:

From: Jackie Huang <[email protected]>

Add missing rdepends or it fails with:
File "/usr/lib64/python2.7/site-packages/keystoneclient/session.py", line 22, in <module>
from oslo_serialization import jsonutils
ImportError: No module named oslo_serialization

Thanks Jackie, I've merged the two changes.

Bruce

Quoted 25 lines
---
 meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb +1 -1
index 0063efc..383163d 100644
@@ -32,6 +32,7 @@ RDEPENDS_${PN} += " \
        python-requests \
        python-simplejson \
        python-oslo.config \
+       python-oslo.serialization \
        python-pbr \
        "
 
--

1.9.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"