charm installs outdated python3-libmaas on Jammy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack HA Cluster Charm |
Confirmed
|
Undecided
|
Unassigned | ||
python-libmaas (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
To support jammy, we need the latest version of python3-libmaas, which is available from the python-libmaas ppa[0]. The charm however doesn't install the ppa, so it ends up installing the older version from the main repositories.
This results in the following error as seen from juju logs:
```
2022-11-28 02:24:36 WARNING unit.hacluster-
2022-11-28 02:24:36 WARNING unit.hacluster-
2022-11-28 02:24:36 WARNING unit.hacluster-
2022-11-28 02:24:36 WARNING unit.hacluster-
2022-11-28 02:24:36 WARNING unit.hacluster-
2022-11-28 02:24:37 ERROR juju.worker.
```
Running the command manually to see the actual issue:
```
ubuntu@
WARNING: (unpack_config) warning: Blind faith: not fencing unseen nodes
ERROR: st-maas: parameter "url" is not known
ERROR: st-maas: parameter "apikey" is not known
ERROR: st-maas: parameter "hostnames" is not known
```
Installing the python-libmaas ppa and upgrading the python3-libmaas package fixes the issue.
[0]: https:/
Changed in charm-hacluster: | |
assignee: | nobody → Samuel Walladge (swalladge) |
description: | updated |
description: | updated |
Changed in charm-hacluster: | |
assignee: | Samuel Walladge (swalladge) → nobody |
status: | In Progress → Confirmed |
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- hacluster/ +/865785
Review: https:/