On CentOS 8.3 systemd-python installation is broken

Bug #1908386 reported by serenico
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
serenico

Bug Description

Because of a know issue [1] on systemd package on CentOS 8.3 DevStack fails installing systemd-python package

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1862714

2020-12-08 14:57:43.233698 | controller | + inc/python:pip_install:193 : sudo -H LC_ALL=en_US.UTF-8 SETUPTOOLS_USE_DISTUTILS=stdlib http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite python3.6 -m pip install -c /opt/stack/requirements/upper-constraints.txt systemd-python
2020-12-08 14:57:44.260164 | controller | Looking in indexes: https://mirror.bhs1.ovh.opendev.org/pypi/simple, https://mirror.bhs1.ovh.opendev.org/wheel/centos-8.2-x86_64
2020-12-08 14:57:44.318324 | controller | Collecting systemd-python===234
2020-12-08 14:57:44.334685 | controller | Downloading https://mirror.bhs1.ovh.opendev.org/pypifiles/packages/e8/a8/00ba0f605837a8f69523e6c3a4fb14675a6430c163f836540129c50b3aef/systemd-python-234.tar.gz (53 kB)
2020-12-08 14:57:44.582164 | controller | ERROR: Command errored out with exit status 1:
2020-12-08 14:57:44.582289 | controller | command: /usr/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yowlonuc/systemd-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yowlonuc/systemd-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-39afzb_l
2020-12-08 14:57:44.582321 | controller | cwd: /tmp/pip-install-yowlonuc/systemd-python/
2020-12-08 14:57:44.582346 | controller | Complete output (12 lines):
2020-12-08 14:57:44.582365 | controller | Cannot find libsystemd or libsystemd-journal:
2020-12-08 14:57:44.582387 | controller |
2020-12-08 14:57:44.582410 | controller | Package libsystemd was not found in the pkg-config search path.
2020-12-08 14:57:44.582431 | controller | Perhaps you should add the directory containing `libsystemd.pc'
2020-12-08 14:57:44.582499 | controller | to the PKG_CONFIG_PATH environment variable
2020-12-08 14:57:44.582530 | controller | Package 'libsystemd', required by 'virtual:world', not found
2020-12-08 14:57:44.582554 | controller |
2020-12-08 14:57:44.582826 | controller | Package libsystemd-journal was not found in the pkg-config search path.
2020-12-08 14:57:44.582897 | controller | Perhaps you should add the directory containing `libsystemd-journal.pc'
2020-12-08 14:57:44.582922 | controller | to the PKG_CONFIG_PATH environment variable
2020-12-08 14:57:44.582942 | controller | Package 'libsystemd-journal', required by 'virtual:world', not found
2020-12-08 14:57:44.582960 | controller |
2020-12-08 14:57:44.582979 | controller | ----------------------------------------
2020-12-08 14:57:44.583666 | controller | ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
2020-12-08 14:57:44.611999 | controller | WARNING: You are using pip version 20.2.4; however, version 20.3.1 is available.
2020-12-08 14:57:44.612057 | controller | You should consider upgrading via the '/usr/bin/python3.6 -m pip install --upgrade pip' command.

Changed in devstack:
status: New → In Progress
assignee: nobody → serenico (federico-ressi)
status: In Progress → Fix Released
Revision history for this message
serenico (federico-ressi) wrote :
summary: - CentOS 8 support is broken
+ On CentOS 8.3 systemd-python installation is broken
Changed in devstack:
status: Fix Released → In Progress
Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.