Charm incompatibility with recent PPAs

Bug #2042832 reported by Paul Goins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
landscape-client (Juju Charms Collection)
New
Undecided
Unassigned

Bug Description

I was recently trying to test a more recent version of Landscape, but unfortunately the charm doesn't appear to support it yet.

Here is the configuration I set on an already-deployed landscape-client application:

juju config -m lma-maas landscape-client install_sources="['ppa:landscape/self-hosted-beta']"

Because of https://bugs.launchpad.net/charms/+source/landscape-client/+bug/1668166, changing the above was inadequate; so, I removed and re-added the subordinate relation so the PPA version of landscape-client would be installed.

Here is an excerpt of "juju debug-log" captured after making the above config change, breaking the subordinate relation, and re-establishing the subordinate relation:

unit-landscape-client-954: 11:44:53 INFO juju.worker.uniter awaiting error resolution for "config-changed" hook
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed Traceback (most recent call last):
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed File "/var/lib/juju/agents/unit-landscape-client-954/charm/hooks/common.py", line 16, in <module>
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed from landscape.client.sysvconfig import SysVConfig
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed ModuleNotFoundError: No module named 'landscape.client.sysvconfig'
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed During handling of the above exception, another exception occurred:
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed Traceback (most recent call last):
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed File "/var/lib/juju/agents/unit-landscape-client-954/charm/hooks/hooks.py", line 16, in <module>
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed from common import (
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed File "/var/lib/juju/agents/unit-landscape-client-954/charm/hooks/common.py", line 19, in <module>
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed from landscape.configuration import (
unit-landscape-client-954: 11:44:53 WARNING unit.landscape-client/954.config-changed ModuleNotFoundError: No module named 'landscape.configuration'
unit-landscape-client-954: 11:44:54 ERROR juju.worker.uniter.operation hook "config-changed" (via explicit, bespoke hook script) failed: exit status 1

-----

Version information:

landscape-client version: stable channel, revision 49
OS of principal application's units: Ubuntu Focal
landscape-client version: ppa:landscape/self-hosted-beta, specifically 23.10+git6308+1-0ubuntu0.

Revision history for this message
Spencer Runde (spencerrunde) wrote :

Could you please see if this bug persists in the edge or beta channels for the landscape client charm? The stable channel is using an older charm framework, but edge and beta should be current.

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.