Comment 8 for bug 2018018

Revision history for this message
Natalia Litvinova (natalytvinova) wrote :

Unfortunately, the install hook fails for the charm:

root@juju-ac74ac-2-lxd-21:/var/lib/juju/agents/unit-ironic-conductor-5/charm# ./hooks/install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
python3-yaml is already the newest version (5.4.1-1ubuntu1).
python3-dev is already the newest version (3.10.6-1~22.04).
python3-setuptools is already the newest version (59.6.0-1.2ubuntu0.22.04.1).
python3-pip is already the newest version (22.0.2+dfsg-1ubuntu0.2).
python3-wheel is already the newest version (0.37.1-2ubuntu0.22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libffi-dev is already the newest version (3.4.2-4).
libpython3-dev is already the newest version (3.10.6-1~22.04).
libssl-dev is already the newest version (3.0.2-0ubuntu1.9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Looking in links: wheelhouse
Requirement already satisfied: pip in /var/lib/juju/agents/unit-ironic-conductor-5/.venv/lib/python3.10/site-packages (22.0.4)
Looking in links: wheelhouse
Requirement already satisfied: setuptools in /var/lib/juju/agents/unit-ironic-conductor-5/.venv/lib/python3.10/site-packages (60.8.2)
Looking in links: wheelhouse
ERROR: Could not find a version that satisfies the requirement MarkupSafe==2.1.1 (from versions: none)
ERROR: No matching distribution found for MarkupSafe==2.1.1
Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-ironic-conductor-5/charm/./hooks/install", line 8, in <module>
    basic.bootstrap_charm_deps()
  File "/var/lib/juju/agents/unit-ironic-conductor-5/charm/lib/charms/layer/basic.py", line 226, in bootstrap_charm_deps
    check_call([pip, 'install', '-U', reinstall_flag, '--no-index',
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/var/lib/juju/agents/unit-ironic-conductor-5/.venv/bin/pip', 'install', '-U', '--force-reinstall', '--no-index', '--no-cache-dir', '-f', 'wheelhouse', 'MarkupSafe==2.1.1', 'wheel==0.37.1']' returned non-zero exit status 1.
root@juju-ac74ac-2-lxd-21:/var/lib/juju/agents/unit-ironic-conductor-5/charm#