lunar+ build / install failures: rpds-py, jsonschema, tenacity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Layer |
Fix Committed
|
Undecided
|
Unassigned | ||
charm-octavia-diskimage-retrofit |
Fix Released
|
Undecided
|
Unassigned | ||
charm-ovn-central |
Fix Released
|
Undecided
|
Unassigned | ||
charm-ovn-chassis |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Charm build on master is failing due to jsonschema-
https:/
(This is from https:/
For some reason, I wasn't able to recreate this locally when building for lunar using the same charmcraft version (2.4.0).
Regardless I built with what I think is the fix, by pinning jsonschema in charm-ovn-
jsonschema<4.18.0 # jsonschema 4.18.0 depends on Rust (via rpds-py)
^ This would offically get fixed in layer-ovn:
:: charmtools.
:: charmtools.
Deploying that newly built charm resulted in:
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
2023-08-15 20:13:07 WARNING unit.ovn-
Looking back at the charm build, tenacity is pinned by layer snap:
:: charmtools.
:: charmtools.
:: charmtools.
:: charmtools.
:: charmtools.
layer-ovn pulls in layer snap:
https:/
which pins tenacity at:
https:/
It looks like the coroutine error is fixed in a newer release of tenacity, but we would need to change the pin in layer snap to pick that up.
Related branches
- Haw Loeung: Approve (+1)
- Felipe Reyes (community): Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 11 lines (+2/-1)1 file modifiedwheelhouse.txt (+2/-1)
summary: |
- lunar+ build / install failures + lunar+ build / install failures: rpds-py, jsonschema, tenacity |
description: | updated |
description: | updated |
no longer affects: | layer-snap |
Changed in layer-snap: | |
status: | New → Fix Committed |
Hi @corey.bryant
etcd charm 750 (and perhaps others) now cannot deploy in jammy -- i'm not necessarily asking for a revert -- just want to understand how to upgrade forward to work in jammy and focal
2023-08-18 00:34:26 DEBUG unit.etcd/0.install logger.go:60 Processing ./wheelhouse/ tenacity- 8.2.2.tar. gz exited- with-error setuptools- 41.6.0. zip scm[toml] >=3.4 (from versions: 1.17.0) scm[toml] >=3.4 exited- with-error juju/agents/ unit-etcd- 0/charm/ hooks/install" , line 8, in <module> _charm_ deps() juju/agents/ unit-etcd- 0/charm/ lib/charms/ layer/basic. py", line 226, in bootst...
2023-08-18 00:34:27 DEBUG unit.etcd/0.install logger.go:60 Installing build dependencies: started
2023-08-18 00:34:30 DEBUG unit.etcd/0.install logger.go:60 Installing build dependencies: finished with status 'error'
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 error: subprocess-
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 × pip subprocess to install build dependencies did not run successfully.
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 │ exit code: 1
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 ╰─> [6 lines of output]
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 Looking in links: wheelhouse
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 Processing ./wheelhouse/
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 Preparing metadata (setup.py): started
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 Preparing metadata (setup.py): finished with status 'done'
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 ERROR: Could not find a version that satisfies the requirement setuptools_
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 ERROR: No matching distribution found for setuptools_
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 [end of output]
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 note: This error originates from a subprocess, and is likely not a problem with pip.
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 error: subprocess-
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 × pip subprocess to install build dependencies did not run successfully.
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 │ exit code: 1
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 ╰─> See above for output.
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 note: This error originates from a subprocess, and is likely not a problem with pip.
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 Traceback (most recent call last):
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 File "/var/lib/
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 basic.bootstrap
2023-08-18 00:34:30 WARNING unit.etcd/0.install logger.go:60 File "/var/lib/