settingsLogin | Registersettings

[Openstack] Devstack installation failed - Newton - libvirt-python error

0 votes

Hi all,
since I need to use the networking-onos module and since I know that Mitaka
is now EOL and since it does not work with Ocata (that I've successfully
installed), I'm trying to downgrade to Newton. So I've unstacked removed
the devstack Ocata folder, remove all the files related to the previous
installation (dist-packages, site-packages, /opt/stack, etc) and I've
cloned the Newton branch, created the new local.conf file and stacked.
Now I have this error related to libvirt:

Collecting libvirt-python===2.1.0 (from -c
/opt/stack/requirements/upper-constraints.txt (line 169))
Using cached libvirt-python-2.1.0.tar.gz
Building wheels for collected packages: libvirt-python
Running setup.py bdistwheel for libvirt-python ... error
Complete output from command /usr/bin/python -u -c "import setuptools,
tokenize;file='/tmp/pip-build-QIxCV3/libvirt-python/setup.py';f=getattr(tokenize,
'open', open)(file);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, file, 'exec'))" bdist
wheel -d
/tmp/tmpy6bFGcpip-wheel- --python-tag cp27:
running bdist_wheel
running build
/usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/bin/python generator.py libvirt
/usr/share/libvirt/api/libvirt-api.xml
Found 415 functions in /usr/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 344 wrapper functions
Missing type converters:
virConnectNodeDeviceEventGenericCallback:1
ERROR: failed virConnectNodeDeviceEventRegisterAny
error: command '/usr/bin/python' failed with exit status 1


Failed building wheel for libvirt-python
Running setup.py clean for libvirt-python
Failed to build libvirt-python
Installing collected packages: libvirt-python
Found existing installation: libvirt-python 3.0.0
DEPRECATION: Uninstalling a distutils installed project
(libvirt-python) has been deprecated and will be removed in a future
version. This is due to the fact that uninstalling a distutils project will
only partially uninstall the project.
Uninstalling libvirt-python-3.0.0:
Successfully uninstalled libvirt-python-3.0.0
Running setup.py install for libvirt-python ... error
Complete output from command /usr/bin/python -u -c "import setuptools,
tokenize;file='/tmp/pip-build-QIxCV3/libvirt-python/setup.py';f=getattr(tokenize,
'open', open)(file);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, file, 'exec'))" install --record
/tmp/pip-NPU6Mp-record/install-record.txt
--single-version-externally-managed --compile:
running install
running build
/usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/bin/python generator.py libvirt
/usr/share/libvirt/api/libvirt-api.xml
Found 415 functions in /usr/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 344 wrapper functions
Missing type converters:
virConnectNodeDeviceEventGenericCallback:1
ERROR: failed virConnectNodeDeviceEventRegisterAny
error: command '/usr/bin/python' failed with exit status 1
----------------------------------------

Rolling back uninstall of libvirt-python
Command "/usr/bin/python -u -c "import setuptools,
tokenize;file='/tmp/pip-build-QIxCV3/libvirt-python/setup.py';f=getattr(tokenize,
'open', open)(file);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, file, 'exec'))" install --record
/tmp/pip-NPU6Mp-record/install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in
/tmp/pip-build-QIxCV3/libvirt-python/
+inc/python:pipinstall:1 exittrap
+./stack.sh:exittrap:494 local r=1
++./stack.sh:exit
trap:495 jobs -p
+./stack.sh:exittrap:495 jobs=
+./stack.sh:exit
trap:498 [[ -n '' ]]
+./stack.sh:exittrap:504 killspinner
+./stack.sh:killspinner:390 '[' '!' -z '' ']'
+./stack.sh:exit
trap:506 [[ 1 -ne 0 ]]
+./stack.sh:exittrap:507 echo 'Error on exit'
Error on exit
+./stack.sh:exit
trap:508 generate-subunit 1504715723 118
fail
+./stack.sh:exittrap:509 [[ -z /opt/stack/logs ]]
+./stack.sh:exit
trap:512
/home/onossona/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2017-09-06-163721.txt for
details
+./stack.sh:exit_trap:518 exit 1

Someone of you knows how to solve it?
Moreover, when networking-onos will be updated?

Thanks a lot

--
Silvia Fichera


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
asked Sep 6, 2017 in openstack by Silvia_Fichera (3,500 points)   2 17 25
...