No module named privsep.libvirt for stable/pike
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
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:/
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-
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver [req-f81acf19-
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/
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/
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver return import_
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver File "/usr/lib/
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/
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/
2018-02-10 15:05:28.740 42 ERROR nova.virt.driver import nova.privsep.
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 b54aa791e26fc32
Author: Zuul <email address hidden>
Date: Fri Feb 9 04:54:57 2018 +0000
Merge "Add release note for Aggregate[
Changed in nova: | |
status: | New → Incomplete |
I tried the command you gave (only the clone) but I can't find the lines you mentioned... maybe wrong method usage?
jichen@ blockchain: /opt/nova$ grep privsep * -r rootwrap. d/compute. filters: # os_brick. privileged. default oslo.privsep context rootwrap. d/compute. filters: privsep- rootwrap: RegExpFilter, privsep-helper, root, privsep-helper, --config-file, /etc/(?!\.\.).*, --privsep_context, os_brick. privileged. default, --privsep_ sock_path, /tmp/.* compute. py:from oslo_privsep import priv_context txt:oslo. privsep! =1.17.0, >=1.9.0 # Apache-2.0 blockchain: /opt/nova$ git log 020b03c5ced5c5c 8a3c16ac72
etc/nova/
etc/nova/
nova/cmd/
requirements.
jichen@
commit b54aa791e26fc32
Author: Zuul <email address hidden>
Date: Fri Feb 9 04:54:57 2018 +0000
Merge "Add release note for Aggregate[ Core|Ram| Disk]Filter change" into stable/pike