i am also seeing the error in centos7 since a couple of days ago when they updated libvirt libvirt-devel version to 2.0.0-10.el7_3.2
SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /usr/bin/pip install -c /opt/stack/new/requirements/upper-constraints.txt 'libvirt-python>=1.2.5' 2016-12-12 19:15:56.726 | Ignoring dnspython3: markers "python_version=='3.4'" don't match your environment 2016-12-12 19:15:57.013 | Collecting libvirt-python===1.3.0 (from -c /opt/stack/new/requirements/upper-constraints.txt (line 159)) 2016-12-12 19:15:57.275 | Downloading libvirt-python-1.3.0.tar.gz (171kB) 2016-12-12 19:15:59.470 | Building wheels for collected packages: libvirt-python 2016-12-12 19:15:59.471 | Running setup.py bdist_wheel for libvirt-python 2016-12-12 19:16:00.881 | Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-iha10m/libvirt-python/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp3I6DlEpip-wheel-: 2016-12-12 19:16:00.881 | running bdist_wheel 2016-12-12 19:16:00.881 | running build 2016-12-12 19:16:00.881 | /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt 2016-12-12 19:16:00.881 | /usr/bin/python generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml 2016-12-12 19:16:00.881 | Found 413 functions in /usr/share/libvirt/api/libvirt-api.xml 2016-12-12 19:16:00.881 | Found 0 functions in libvirt-override-api.xml 2016-12-12 19:16:00.882 | Generated 341 wrapper functions 2016-12-12 19:16:00.882 | Missing type converters: 2016-12-12 19:16:00.882 | virTypedParameterPtr:1 2016-12-12 19:16:00.882 | virTypedParameterPtr *:2 2016-12-12 19:16:00.882 | virConnectStoragePoolEventGenericCallback:1 2016-12-12 19:16:00.882 | ERROR: failed virConnectStoragePoolEventRegisterAny 2016-12-12 19:16:00.882 | ERROR: failed virDomainGetGuestVcpus 2016-12-12 19:16:00.882 | ERROR: failed virDomainGetPerfEvents 2016-12-12 19:16:00.882 | ERROR: failed virDomainSetPerfEvents 2016-12-12 19:16:00.882 | error: command '/usr/bin/python' failed with exit status 1 2016-12-12 19:16:00.882 | 2016-12-12 19:16:00.882 | ---------------------------------------- 2016-12-12 19:16:00.882 | Failed building wheel for libvirt-python 2016-12-12 19:16:00.882 | Failed to build libvirt-python 2016-12-12 19:16:00.884 | Installing collected packages: libvirt-python 2016-12-12 19:16:00.884 | Running setup.py install for libvirt-python 2016-12-12 19:16:02.269 | Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-iha10m/libvirt-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-zYmUO3-record/install-record.txt --single-version-externally-managed --compile: 2016-12-12 19:16:02.269 | running install 2016-12-12 19:16:02.269 | running build 2016-12-12 19:16:02.269 | /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt 2016-12-12 19:16:02.269 | /usr/bin/python generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml 2016-12-12 19:16:02.270 | Found 413 functions in /usr/share/libvirt/api/libvirt-api.xml 2016-12-12 19:16:02.270 | Found 0 functions in libvirt-override-api.xml 2016-12-12 19:16:02.270 | Generated 341 wrapper functions 2016-12-12 19:16:02.270 | Missing type converters: 2016-12-12 19:16:02.270 | virTypedParameterPtr:1 2016-12-12 19:16:02.270 | virTypedParameterPtr *:2 2016-12-12 19:16:02.270 | virConnectStoragePoolEventGenericCallback:1 2016-12-12 19:16:02.270 | ERROR: failed virConnectStoragePoolEventRegisterAny 2016-12-12 19:16:02.270 | ERROR: failed virDomainGetGuestVcpus 2016-12-12 19:16:02.270 | ERROR: failed virDomainGetPerfEvents 2016-12-12 19:16:02.270 | ERROR: failed virDomainSetPerfEvents 2016-12-12 19:16:02.270 | error: command '/usr/bin/python' failed with exit status 1 2016-12-12 19:16:02.270 | 2016-12-12 19:16:02.270 | ---------------------------------------- 2016-12-12 19:16:02.273 | Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-iha10m/libvirt-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-zYmUO3-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-iha10m/libvirt-python 2016-12-12 19:16:02.309 | You are using pip version 7.1.2, however version 9.0.1 is available. 2016-12-12 19:16:02.309 | You should consider upgrading via the 'pip install --upgrade pip' command. 2016-12-12 19:16:02.360 | + exit_trap 2016-12-12 19:16:02.360 | + local r=1
i am also seeing the error in centos7 since a couple of days ago when they updated libvirt libvirt-devel version to 2.0.0-10.el7_3.2
SETUPTOOLS_ SYS_PATH_ TECHNIQUE= rewrite /usr/bin/pip install -c /opt/stack/ new/requirement s/upper- constraints. txt 'libvirt- python> =1.2.5' version= ='3.4'" don't match your environment python= ==1.3.0 (from -c /opt/stack/ new/requirement s/upper- constraints. txt (line 159)) python- 1.3.0.tar. gz (171kB) __file_ _='/tmp/ pip-build- iha10m/ libvirt- python/ setup.py' ;exec(compile( open(__ file__) .read() .replace( '\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp3I6DlEp ip-wheel- : version= 0.9.11 libvirt libvirt/ api/libvirt- api.xml libvirt/ api/libvirt- api.xml override- api.xml erPtr:1 erPtr *:2 gePoolEventGene ricCallback: 1 gePoolEventRegi sterAny stVcpus fEvents fEvents ------- ------- ------- ------- ----- __file_ _='/tmp/ pip-build- iha10m/ libvirt- python/ setup.py' ;exec(compile( getattr( tokenize, 'open', open)(_ _file__ ).read( ).replace( '\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip- zYmUO3- record/ install- record. txt --single- version- externally- managed --compile: version= 0.9.11 libvirt libvirt/ api/libvirt- api.xml libvirt/ api/libvirt- api.xml override- api.xml erPtr:1 erPtr *:2 gePoolEventGene ricCallback: 1 gePoolEventRegi sterAny stVcpus fEvents fEvents ------- ------- ------- ------- ----- __file_ _='/tmp/ pip-build- iha10m/ libvirt- python/ setup.py' ;exec(compile( getattr( tokenize, 'open', open)(_ _file__ ).read( ).replace( '\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip- zYmUO3- record/ install- record. txt --single- version- externally- managed --compile" failed with error code 1 in /tmp/pip- build-iha10m/ libvirt- python
2016-12-12 19:15:56.726 | Ignoring dnspython3: markers "python_
2016-12-12 19:15:57.013 | Collecting libvirt-
2016-12-12 19:15:57.275 | Downloading libvirt-
2016-12-12 19:15:59.470 | Building wheels for collected packages: libvirt-python
2016-12-12 19:15:59.471 | Running setup.py bdist_wheel for libvirt-python
2016-12-12 19:16:00.881 | Complete output from command /usr/bin/python -c "import setuptools;
2016-12-12 19:16:00.881 | running bdist_wheel
2016-12-12 19:16:00.881 | running build
2016-12-12 19:16:00.881 | /usr/bin/pkg-config --print-errors --atleast-
2016-12-12 19:16:00.881 | /usr/bin/python generator.py libvirt /usr/share/
2016-12-12 19:16:00.881 | Found 413 functions in /usr/share/
2016-12-12 19:16:00.881 | Found 0 functions in libvirt-
2016-12-12 19:16:00.882 | Generated 341 wrapper functions
2016-12-12 19:16:00.882 | Missing type converters:
2016-12-12 19:16:00.882 | virTypedParamet
2016-12-12 19:16:00.882 | virTypedParamet
2016-12-12 19:16:00.882 | virConnectStora
2016-12-12 19:16:00.882 | ERROR: failed virConnectStora
2016-12-12 19:16:00.882 | ERROR: failed virDomainGetGue
2016-12-12 19:16:00.882 | ERROR: failed virDomainGetPer
2016-12-12 19:16:00.882 | ERROR: failed virDomainSetPer
2016-12-12 19:16:00.882 | error: command '/usr/bin/python' failed with exit status 1
2016-12-12 19:16:00.882 |
2016-12-12 19:16:00.882 | -------
2016-12-12 19:16:00.882 | Failed building wheel for libvirt-python
2016-12-12 19:16:00.882 | Failed to build libvirt-python
2016-12-12 19:16:00.884 | Installing collected packages: libvirt-python
2016-12-12 19:16:00.884 | Running setup.py install for libvirt-python
2016-12-12 19:16:02.269 | Complete output from command /usr/bin/python -c "import setuptools, tokenize;
2016-12-12 19:16:02.269 | running install
2016-12-12 19:16:02.269 | running build
2016-12-12 19:16:02.269 | /usr/bin/pkg-config --print-errors --atleast-
2016-12-12 19:16:02.269 | /usr/bin/python generator.py libvirt /usr/share/
2016-12-12 19:16:02.270 | Found 413 functions in /usr/share/
2016-12-12 19:16:02.270 | Found 0 functions in libvirt-
2016-12-12 19:16:02.270 | Generated 341 wrapper functions
2016-12-12 19:16:02.270 | Missing type converters:
2016-12-12 19:16:02.270 | virTypedParamet
2016-12-12 19:16:02.270 | virTypedParamet
2016-12-12 19:16:02.270 | virConnectStora
2016-12-12 19:16:02.270 | ERROR: failed virConnectStora
2016-12-12 19:16:02.270 | ERROR: failed virDomainGetGue
2016-12-12 19:16:02.270 | ERROR: failed virDomainGetPer
2016-12-12 19:16:02.270 | ERROR: failed virDomainSetPer
2016-12-12 19:16:02.270 | error: command '/usr/bin/python' failed with exit status 1
2016-12-12 19:16:02.270 |
2016-12-12 19:16:02.270 | -------
2016-12-12 19:16:02.273 | Command "/usr/bin/python -c "import setuptools, tokenize;
2016-12-12 19:16:02.309 | You are using pip version 7.1.2, however version 9.0.1 is available.
2016-12-12 19:16:02.309 | You should consider upgrading via the 'pip install --upgrade pip' command.
2016-12-12 19:16:02.360 | + exit_trap
2016-12-12 19:16:02.360 | + local r=1