designate lunar-antelope install fault for MarkupSafe

Bug #2022087 reported by Peter Sabaini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Designate Charm
Confirmed
Medium
Unassigned

Bug Description

Getting an error in CI on installation, see traceback below

ch:amd64/lunar/designate-160

source: &source proposed
openstack-origin: &openstack-origin distro-proposed
openstack-channel: &openstack-channel 2023.1/edge

2023-06-01 16:40:06 DEBUG unit.designate/0.install logger.go:60 Looking in links: wheelhouse
2023-06-01 16:40:06 DEBUG unit.designate/0.install logger.go:60 Requirement already satisfied: pip in /var/lib/juju/agents/unit-designate-0/.venv/lib/python3.11/site-packages (23.0.1)
2023-06-01 16:40:07 DEBUG unit.designate/0.install logger.go:60 Looking in links: wheelhouse
2023-06-01 16:40:07 DEBUG unit.designate/0.install logger.go:60 Requirement already satisfied: setuptools in /var/lib/juju/agents/unit-designate-0/.venv/lib/python3.11/site-packages (66.1.1)
2023-06-01 16:40:08 DEBUG unit.designate/0.install logger.go:60 Looking in links: wheelhouse
2023-06-01 16:40:08 DEBUG unit.designate/0.install logger.go:60 Processing ./wheelhouse/setuptools_scm-6.4.2-py3-none-any.whl
2023-06-01 16:40:08 DEBUG unit.designate/0.install logger.go:60 Processing ./wheelhouse/packaging-23.1-py3-none-any.whl
2023-06-01 16:40:08 DEBUG unit.designate/0.install logger.go:60 Requirement already satisfied: setuptools in /var/lib/juju/agents/unit-designate-0/.venv/lib/python3.11/site-packages (from setuptools-scm) (66.1.1)
2023-06-01 16:40:08 DEBUG unit.designate/0.install logger.go:60 Processing ./wheelhouse/tomli-2.0.1-py3-none-any.whl
2023-06-01 16:40:08 DEBUG unit.designate/0.install logger.go:60 Installing collected packages: tomli, packaging, setuptools-scm
2023-06-01 16:40:08 DEBUG unit.designate/0.install logger.go:60 Successfully installed packaging-23.1 setuptools-scm-6.4.2 tomli-2.0.1
2023-06-01 16:40:09 DEBUG unit.designate/0.install logger.go:60 Looking in links: wheelhouse
2023-06-01 16:40:09 DEBUG unit.designate/0.install logger.go:60 Processing ./wheelhouse/wheel-0.40.0-py3-none-any.whl
2023-06-01 16:40:09 WARNING unit.designate/0.install logger.go:60 ERROR: Could not find a version that satisfies the requirement MarkupSafe==2.1.2 (from versions: none)
2023-06-01 16:40:09 WARNING unit.designate/0.install logger.go:60 ERROR: No matching distribution found for MarkupSafe==2.1.2
2023-06-01 16:40:09 WARNING unit.designate/0.install logger.go:60 Traceback (most recent call last):
2023-06-01 16:40:09 WARNING unit.designate/0.install logger.go:60 File "/var/lib/juju/agents/unit-designate-0/charm/hooks/install", line 8, in <module>
2023-06-01 16:40:09 WARNING unit.designate/0.install logger.go:60 basic.bootstrap_charm_deps()
2023-06-01 16:40:09 WARNING unit.designate/0.install logger.go:60 File "/var/lib/juju/agents/unit-designate-0/charm/lib/charms/layer/basic.py", line 226, in bootstrap_charm_deps
2023-06-01 16:40:09 WARNING unit.designate/0.install logger.go:60 check_call([pip, 'install', '-U', reinstall_flag, '--no-index',
2023-06-01 16:40:09 WARNING unit.designate/0.install logger.go:60 File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
2023-06-01 16:40:09 WARNING unit.designate/0.install logger.go:60 raise CalledProcessError(retcode, cmd)
2023-06-01 16:40:09 WARNING unit.designate/0.install logger.go:60 subprocess.CalledProcessError: Command '['/var/lib/juju/agents/unit-designate-0/.venv/bin/pip', 'install', '-U', '--force-reinstall', '--no-index', '--no-cache-dir', '-f', 'wheelhouse', 'wheel==0.40.0', 'MarkupSafe==2.1.2']' returned non-zero exit status 1.

Revision history for this message
Felipe Reyes (freyes) wrote :

We need to rebuild binary charms once this gh issue gets fixed - https://github.com/canonical/charmcraft/issues/1104

Changed in charm-designate:
status: New → Confirmed
importance: Undecided → Medium
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.