error in Tempita setup command: use_2to3 is invalid.

Bug #1981715 reported by Felipe Reyes
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Cinder LVM
Fix Committed
Undecided
Unassigned

Bug Description

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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder-lvm (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/charm-cinder-lvm/+/855496

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder-lvm (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/charm-cinder-lvm/+/855496
Committed: https://opendev.org/openstack/charm-cinder-lvm/commit/375442321f8d84a5c816ee603192ddc1ea74d50f
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 375442321f8d84a5c816ee603192ddc1ea74d50f
Author: Alex Kavanagh <email address hidden>
Date: Thu Sep 1 11:34:28 2022 +0100

    Add build.lock to stable/yoga branch of charm

    The linked bug indicates that Tempita is being brought in, but this is
    largely due to not having a build.lock file in the charm, which it needs
    for the stable/<x> branches.

    Closes-Bug: #1981715
    Change-Id: I8ed804b80389099d7c157a1be687c82b832309fb

tags: added: in-stable-yoga
Changed in charm-cinder-lvm:
status: New → Fix Committed
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.