<div dir="ltr"><div><div><div><div><div>Hi all,<br></div>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. <br></div>Now I have this error related to libvirt:<br><br>Collecting libvirt-python===2.1.0 (from -c /opt/stack/requirements/upper-constraints.txt (line 169))<br> Using cached libvirt-python-2.1.0.tar.gz<br>Building wheels for collected packages: libvirt-python<br> Running setup.py bdist_wheel for libvirt-python ... error<br> 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:<br> running bdist_wheel<br> running build<br> /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt<br> /usr/bin/python generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml<br> Found 415 functions in /usr/share/libvirt/api/libvirt-api.xml<br> Found 0 functions in libvirt-override-api.xml<br> Generated 344 wrapper functions<br> Missing type converters:<br> virConnectNodeDeviceEventGenericCallback:1<br> ERROR: failed virConnectNodeDeviceEventRegisterAny<br> error: command '/usr/bin/python' failed with exit status 1<br> <br> ----------------------------------------<br> Failed building wheel for libvirt-python<br> Running setup.py clean for libvirt-python<br>Failed to build libvirt-python<br>Installing collected packages: libvirt-python<br> Found existing installation: libvirt-python 3.0.0<br> 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.<br> Uninstalling libvirt-python-3.0.0:<br> Successfully uninstalled libvirt-python-3.0.0<br> Running setup.py install for libvirt-python ... error<br> 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:<br> running install<br> running build<br> /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt<br> /usr/bin/python generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml<br> Found 415 functions in /usr/share/libvirt/api/libvirt-api.xml<br> Found 0 functions in libvirt-override-api.xml<br> Generated 344 wrapper functions<br> Missing type converters:<br> virConnectNodeDeviceEventGenericCallback:1<br> ERROR: failed virConnectNodeDeviceEventRegisterAny<br> error: command '/usr/bin/python' failed with exit status 1<br> <br> ----------------------------------------<br> Rolling back uninstall of libvirt-python<br>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/<br>+inc/python:pip_install:1 exit_trap<br>+./stack.sh:exit_trap:494 local r=1<br>++./stack.sh:exit_trap:495 jobs -p<br>+./stack.sh:exit_trap:495 jobs=<br>+./stack.sh:exit_trap:498 [[ -n '' ]]<br>+./stack.sh:exit_trap:504 kill_spinner<br>+./stack.sh:kill_spinner:390 '[' '!' -z '' ']'<br>+./stack.sh:exit_trap:506 [[ 1 -ne 0 ]]<br>+./stack.sh:exit_trap:507 echo 'Error on exit'<br>Error on exit<br>+./stack.sh:exit_trap:508 generate-subunit 1504715723 118 fail<br>+./stack.sh:exit_trap:509 [[ -z /opt/stack/logs ]]<br>+./stack.sh:exit_trap:512 /home/onossona/devstack/tools/worlddump.py -d /opt/stack/logs<br>World dumping... see /opt/stack/logs/worlddump-2017-09-06-163721.txt for details<br>+./stack.sh:exit_trap:518 exit 1<br><br><br></div>Someone of you knows how to solve it? <br></div>Moreover, when networking-onos will be updated?<br><br></div>Thanks a lot<br><br clear="all"><div><div><div><div><div><div><br>-- <br><div class="gmail_signature">Silvia Fichera</div>
</div></div></div></div></div></div></div>