Add the 'docs' key and point it at a Discourse topic
previously populated with the charm's README contents.
When the new charm revision is released to the Charmhub,
this Discourse-based content will be displayed there. In
the absense of the this new key, the Charmhub's default
behaviour is to display the value of the charm's
'description' key.
[stable/22.03] Fix Traceback when changing interface in existing bridge
This bug was caused by missing commits on the stable c-h branch.
build.lock: Update commit hash pointer for charm-helpers, note
that this is a cosmetic pointer as the `--use-lock-file-branches`
arguments to charm-tools will make charm-tools use tip of branch.
Before this change the stable/22.03 branch requirements.txt points
to a version of charm-tools that does not correctly handle build
locking for layers.
Commit 1bdca14 added support for using the UCA
focal-ovn-22.03 pocket by default for new deployments on Focal.
Unfortunately the change missed some required changes for this
to work end to end.
Ensure charm works on Focal without any UCA pocket with the
`openstack-release` package already intalled. The behavior
of `charms.openstack` is quite different dependning on whether
that information is available or not.
Ensure charm is able to detect availability of and to perform
payload upgrade on change of source.
Ensure charm does not attempt payload upgrade on charm upgrade.
When upgrading from a charm that does not have the `ovn-source`
configuration option, the reactive automatic flag
`config.changed.ovn-source` will fire even though it has not
changed. Clear the flag in upgrade-charm hook.
Also drop bespoke reactive handler for change of source.
The layer change in openstack-charmers/charm-layer-ovn#73 adds
handling for the `source` and `ovn-source` configuration options,
as a consequence, the bespoke handler in this charm needs to be
removed.
Closes-Bug: #1991319
Change-Id: I5dd49c5ee0af741536fc1a2974d25f8521c5a581
(cherry picked from commit 3c061a754e427d7ba285233bd7862f01450553d6)
Default to OVN 22.03 for fresh deployments on Focal
Add `ovn-source` configuration option which should be used in
addition to the `source` configuration option.
The default of the `ovn-source` configuration option is
determined at runtime based on whether the end user has provided
config, whether its a fresh or upgraded charm deployment and which
series it is deployed on.
Change-Id: I3d55bafb598339b0b69ad0d65473d79bf9cdbe4c
(cherry picked from commit edc50ebb466fe9913335c18f4f55406178d1bd44)