Comment 10 for bug 1987702

Revision history for this message
Tilman Baumann (tilmanbaumann) wrote :

I think you are onto something there.

But it still fails for me with jsonschema-4.5.1
unit-ovn-chassis-0: 17:41:28 INFO juju.worker.uniter awaiting error resolution for "upgrade-charm" hook
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm ERROR: Command errored out with exit status 1:
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm command: /var/lib/juju/agents/unit-ovn-chassis-0/.venv/bin/python /var/lib/juju/agents/unit-ovn-chassis-0/.venv/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-hbce81gi/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links wheelhouse -- 'setuptools>=40.6.0' 'setuptools_scm[toml]>=3.4' wheel
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm cwd: None
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm Complete output (4 lines):
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm Looking in links: wheelhouse
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm Processing /root/.cache/pip/wheels/18/0c/77/f4a092c136db163656355c7b9960d0d20bfd197e7d63d59dad/setuptools-41.6.0-py2.py3-none-any.whl
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm ERROR: Could not find a version that satisfies the requirement setuptools_scm[toml]>=3.4 (from versions: 1.17.0)
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm ERROR: No matching distribution found for setuptools_scm[toml]>=3.4
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm ----------------------------------------
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm ERROR: Command errored out with exit status 1: /var/lib/juju/agents/unit-ovn-chassis-0/.venv/bin/python /var/lib/juju/agents/unit-ovn-chassis-0/.venv/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-hbce81gi/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links wheelhouse -- 'setuptools>=40.6.0' 'setuptools_scm[toml]>=3.4' wheel Check the logs for full command output.
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm Traceback (most recent call last):
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm File "/var/lib/juju/agents/unit-ovn-chassis-0/charm/hooks/upgrade-charm", line 8, in <module>
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm basic.bootstrap_charm_deps()
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm File "/var/lib/juju/agents/unit-ovn-chassis-0/charm/lib/charms/layer/basic.py", line 224, in bootstrap_charm_deps
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm check_call([pip, 'install', '-U', reinstall_flag, '--no-index',
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm raise CalledProcessError(retcode, cmd)
unit-ovn-chassis-0: 17:41:39 WARNING unit.ovn-chassis/0.upgrade-charm subprocess.CalledProcessError: Command '['/var/lib/juju/agents/unit-ovn-chassis-0/.venv/bin/pip', 'install', '-U', '--force-reinstall', '--no-index', '--no-cache-dir', '-f', 'wheelhouse', 'psutil==5.8.0', 'PyYAML==5.2', 'dnspython==1.16.0', 'attrs==22.1.0', 'pbr==5.6.0', 'jsonschema==4.5.1', 'charms.openstack==0.0.1.dev1', 'netaddr==0.7.19', 'Jinja2==2.10.1', 'pyaml==21.10.1', 'netifaces==0.11.0', 'six==1.16.0', 'flit-core==3.7.1', 'sriov-netplan-shim==0.1.4', 'Tempita==0.4', 'pyrsistent==0.18.1', 'charms.reactive==1.4.1', 'charmhelpers==0.20.24.dev2']' returned non-zero exit status 1.
unit-ovn-chassis-0: 17:41:39 ERROR juju.worker.uniter.operation hook "upgrade-charm" (via explicit, bespoke hook script) failed: exit status 1
unit-ovn-chassis-0: 17:41:39 INFO juju.worker.uniter awaiting error resolution for "upgrade-charm" hook