nrpe charm does not support jammy
Bug #1968008 reported by
James Page
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NRPE Charm |
Fix Released
|
Undecided
|
Felipe Reyes |
Bug Description
The nrpe charm forms part of a number of testing bundles for the openstack charms.
We're currently working on enabling jammy however the nrpe charm does not support this series.
Please could this be enabled.
Related branches
~freyes/charm-nrpe:add-jammy-support
- Eric Chen: Approve
- Corey Bryant (community): Approve
- Przemyslaw Lal: Approve
- BootStack Reviewers: Pending requested
-
Diff: 146 lines (+75/-3)6 files modifiedcharmcraft.yaml (+4/-0)
hooks/nrpe_helpers.py (+5/-0)
metadata.yaml (+2/-1)
tests/functional/tests/bundles/jammy.yaml (+23/-0)
tests/functional/tests/tests.yaml (+5/-1)
tests/unit/test_nrpe_helpers.py (+36/-1)
Changed in charm-nrpe: | |
milestone: | none → 22.08 |
Changed in charm-nrpe: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Can confirm that this issue affects the aodh-charm functional test bundles when targeting the Jammy series for Openstack Yoga.
Looking at the debug logs in Juju, the issue appears to be API changes made to Python 3.10. For example, when running the install hook, it fails to import Iterable from the collections module. This is due to the fact the Iterable was removed from collections in 3.10 and relocated to collections.abc. Looks like the charm needs to be updated to be compatible with the Python 3.10 API.