yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #71062
[Bug 1748643] [NEW] No module named privsep.libvirt for stable/pike
Public bug reported:
Description
===========
I'm trying to run nova-compute from stable/pike on archlinux using python 2.7.14 (python 3 I had the same luck) and I keep getting this error when I run it.
Steps to reproduce
==================
git clone -b stable/pike --depth=1 https://github.com/openstack/nova.git /opt/nova
python2 -m pip install -e . && tox -e genconfig
nova.conf configuration and nova-compute.conf configuration
nova-compute
Expected result
===============
nova-compute to start working
Actual result
=============
root@244a210d2240 nova]# nova-compute
2018-02-10 15:05:28.620 42 INFO nova.virt.driver [req-f81acf19-2ebb-46f4-87a3-48fd4ddf45a2 - - - - -] Loading compute driver 'libvirt.LibvirtDriver'
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver [req-f81acf19-2ebb-46f4-87a3-48fd4ddf45a2 - - - - -] Unable to load the virtualization driver: ImportError: No module named privsep.libvirt
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver Traceback (most recent call last):
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver File "/opt/nova/nova/virt/driver.py", line 1638, in load_compute_driver
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver virtapi)
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 44, in import_object
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver return import_class(import_str)(*args, **kwargs)
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 30, in import_class
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver __import__(mod_str)
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver File "/opt/nova/nova/virt/libvirt/__init__.py", line 15, in <module>
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver from nova.virt.libvirt import driver
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver File "/opt/nova/nova/virt/libvirt/driver.py", line 87, in <module>
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver import nova.privsep.libvirt
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver ImportError: No module named privsep.libvirt
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver
Environment
===========
Runnning on arch linux with python 2.7 on docker
My last commit is
[root@244a210d2240 nova]# git log
commit b54aa791e26fc32020b03c5ced5c5c8a3c16ac72 (grafted, HEAD -> stable/pike, origin/stable/pike)
Author: Zuul <zuul@xxxxxxxxxxxxxxxxxxxx>
Date: Fri Feb 9 04:54:57 2018 +0000
Merge "Add release note for Aggregate[Core|Ram|Disk]Filter change"
into stable/pike
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1748643
Title:
No module named privsep.libvirt for stable/pike
Status in OpenStack Compute (nova):
New
Bug description:
Description
===========
I'm trying to run nova-compute from stable/pike on archlinux using python 2.7.14 (python 3 I had the same luck) and I keep getting this error when I run it.
Steps to reproduce
==================
git clone -b stable/pike --depth=1 https://github.com/openstack/nova.git /opt/nova
python2 -m pip install -e . && tox -e genconfig
nova.conf configuration and nova-compute.conf configuration
nova-compute
Expected result
===============
nova-compute to start working
Actual result
=============
root@244a210d2240 nova]# nova-compute
2018-02-10 15:05:28.620 42 INFO nova.virt.driver [req-f81acf19-2ebb-46f4-87a3-48fd4ddf45a2 - - - - -] Loading compute driver 'libvirt.LibvirtDriver'
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver [req-f81acf19-2ebb-46f4-87a3-48fd4ddf45a2 - - - - -] Unable to load the virtualization driver: ImportError: No module named privsep.libvirt
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver Traceback (most recent call last):
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver File "/opt/nova/nova/virt/driver.py", line 1638, in load_compute_driver
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver virtapi)
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 44, in import_object
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver return import_class(import_str)(*args, **kwargs)
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 30, in import_class
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver __import__(mod_str)
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver File "/opt/nova/nova/virt/libvirt/__init__.py", line 15, in <module>
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver from nova.virt.libvirt import driver
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver File "/opt/nova/nova/virt/libvirt/driver.py", line 87, in <module>
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver import nova.privsep.libvirt
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver ImportError: No module named privsep.libvirt
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver
Environment
===========
Runnning on arch linux with python 2.7 on docker
My last commit is
[root@244a210d2240 nova]# git log
commit b54aa791e26fc32020b03c5ced5c5c8a3c16ac72 (grafted, HEAD -> stable/pike, origin/stable/pike)
Author: Zuul <zuul@xxxxxxxxxxxxxxxxxxxx>
Date: Fri Feb 9 04:54:57 2018 +0000
Merge "Add release note for Aggregate[Core|Ram|Disk]Filter change"
into stable/pike
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1748643/+subscriptions
Follow ups