cinder-lvm fails to install on jammy-yoga - https://openstack-ci-reports.ubuntu.com/artifacts/420/848914/1/check/jammy-yoga/4202fb4/
2022-07-14 13:52:08 DEBUG unit.cinder-lvm/0.install logger.go:60 Processing ./wheelhouse/PyYAML-5.2.tar.gz
2022-07-14 13:52:09 DEBUG unit.cinder-lvm/0.install logger.go:60 Preparing metadata (setup.py): started
2022-07-14 13:52:09 DEBUG unit.cinder-lvm/0.install logger.go:60 Preparing metadata (setup.py): finished with status 'done'
2022-07-14 13:52:09 DEBUG unit.cinder-lvm/0.install logger.go:60 Processing ./wheelhouse/Tempita-0.5.2.tar.gz
2022-07-14 13:52:09 DEBUG unit.cinder-lvm/0.install logger.go:60 Preparing metadata (setup.py): started
2022-07-14 13:52:09 DEBUG unit.cinder-lvm/0.install logger.go:60 Preparing metadata (setup.py): finished with status 'error'
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 error: subprocess-exited-with-error
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 × python setup.py egg_info did not run successfully.
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 │ exit code: 1
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 ╰─> [1 lines of output]
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 error in Tempita setup command: use_2to3 is invalid.
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 [end of output]
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 note: This error originates from a subprocess, and is likely not a problem with pip.
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 error: metadata-generation-failed
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 × Encountered error while generating package metadata.
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 ╰─> See above for output.
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 note: This is an issue with the package mentioned above, not pip.
2022-07-14 13:52:09 WARNING unit.cinder-lvm/0.install logger.go:60 hint: See above for details.
2022-07-14 13:52:10 WARNING unit.cinder-lvm/0.install logger.go:60 Traceback (most recent call last):
2022-07-14 13:52:10 WARNING unit.cinder-lvm/0.install logger.go:60 File "/var/lib/juju/agents/unit-cinder-lvm-0/charm/hooks/install", line 8, in <module>
2022-07-14 13:52:10 WARNING unit.cinder-lvm/0.install logger.go:60 basic.bootstrap_charm_deps()
2022-07-14 13:52:10 WARNING unit.cinder-lvm/0.install logger.go:60 File "/var/lib/juju/agents/unit-cinder-lvm-0/charm/lib/charms/layer/basic.py", line 212, in bootstrap_charm_deps
2022-07-14 13:52:10 WARNING unit.cinder-lvm/0.install logger.go:60 check_call([pip, 'install', '-U', reinstall_flag, '--no-index',
2022-07-14 13:52:10 WARNING unit.cinder-lvm/0.install logger.go:60 File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
2022-07-14 13:52:10 WARNING unit.cinder-lvm/0.install logger.go:60 raise CalledProcessError(retcode, cmd)
2022-07-14 13:52:10 WARNING unit.cinder-lvm/0.install logger.go:60 subprocess.CalledProcessError: Command '['/var/lib/juju/agents/unit-cinder-lvm-0/.venv/bin/pip', 'install', '-U', '--force-reinstall', '--no-index', '--no-cache-dir', '-f', 'wheelhouse', 'PyYAML==5.2', 'Tempita==0.5.2', 'netaddr==0.7.19', 'charmhelpers==0.20.23', 'MarkupSafe==1.1.1', 'charms.openstack==0.0.1.dev1', 'psutil==5.8.0', 'dnspython==1.16.0', 'six==1.16.0', 'pyaml==21.10.1', 'charms.reactive==1.4.1', 'pbr==5.6.0', 'wheel==0.33.6', 'netifaces==0.11.0', 'Jinja2==2.10.1']' returned non-zero exit status 1.
Fix proposed to branch: stable/yoga /review. opendev. org/c/openstack /charm- cinder- lvm/+/855496
Review: https:/