~sudeephb/charm-juju-local:specify_series

Last commit made on 2023-02-17
Get this branch:
git clone -b specify_series https://git.launchpad.net/~sudeephb/charm-juju-local
Only Sudeep Bhandari can upload to this branch. If you are Sudeep Bhandari please log in for upload directions.

Branch merges

Branch information

Name:
specify_series
Repository:
lp:~sudeephb/charm-juju-local

Recent commits

214f172... by Sudeep Bhandari

Make controller series same as host series

Drop xenial support
Use charm/2.x for building

6cd5d83... by Mert Kirpici

build: add jammy support

Adding relevant info into charmcraft.yaml

Also, we are pinning the version of Markupsafe since Markupsafe drops
support for Python 3.5[0] starting from release 2.0.0, which is what
xenial is shipped with.

[0] https://markupsafe.palletsprojects.com/en/2.1.x/changes/

Closes-Bug: 1988520

Signed-off-by: Mert Kırpıcı <email address hidden>

8198b6b... by Mert Kirpici

charm: install lxd snap

In the ubuntu charms with series bionic or older, lxd comes preinstalled
as a debian package rather than a snap. Since the lxd versions are much
older than the snap, this behavior used to cause the lxd server offering
unsupported tls version during `juju bootstrap` therefore ending up with
a broken charm.

With this commit, we are using installing the lxd snap and running
lxd.migrate if lxd is installed as a debian package during the install
event handler to make sure we are using the snap everywhere.

Closes-Bug: 1988477

Signed-off-by: Mert Kırpıcı <email address hidden>

c67f234... by Mert Kirpici

tests/functional: update zaza and tests.yaml

In the current state, the functional tests were failing to start due to
using deprecated zaza and workload-status-message-* strings in
tests.yaml

Signed-off-by: Mert Kırpıcı <email address hidden>

6828a8f... by Peter Sabaini

Xenial support

Add support for running on series xenial. Adapt lxd init to account
for xenial, also update testing bundles

3c963f5... by Drew Freiberger

Fix focal bootstrap issues by disabling ipv6.address on lxdbr0

f402b65... by Paul Goins

Adding missing __init__.py

5a37f6e... by Paul Goins

Blacked

ed96ef4... by Paul Goins

Added snap installation to upgrade-charm hook

53e25b6... by Paul Goins

Fixed function name