python-subunit 1.4.3+ requires 'extras' otherwise an error
"'run --slowest' is not a stestr command."
Switch to using self-signed-certificates-operator as the
self signed functionality has been removed from
tls-certificates-operator charm *1
The payload containers sb, nb and northd have a shared db dir. The join
wrapper skips the join command if it detects an existing ovn db. But the regex
used by the join command is not specific enough. So the sb would skip the join
if the nb db was present. This patch tightens the regex so that the join
wrappers look for their own db.
The build time is very long because of PIP having to fetch and build
native components of the libraries. This change show a possible way to
bypass this issue. This has implication regarding the platform it's
running on. In this case, we know the charm is going to be run on a
v1 of the kubernetes_service_patch lib will patches the service
definition on `status_update` event. This helps when Juju refreshes the
patched services to their initial state.
Signed-off-by: Guillaume Boutry <email@example.com>
This is a commit with no change to pick the latest
charm-ops-sunbeam changes. Important one being
the fix on juju secret for TLS private key 
* Switch to using new `configure_charm` structure
* Stop using key self._state.bootstrapped and use property self.bootstrapped()
* Stop using deprecated use_juju_for_storage=True
All we care about is whether the unit is active or not; the
message is somewhat irrelevant and has been changed in this
Re-enable gating for functional testing.
Ensure that the expected cluster size has been reached prior to
executing the join process for NB and SB ovsdb-server instances.
Ensure that OVN databases are stored on a persistent volume
to support charm upgrades.
When the bootstrap is completed, it is
required to update bootstrap status as
well from maintenance to Active. This
patch updates the bootstrap status to active
when bootstrap is marked as True.
As part of the configuration method ensure that the charm is
marked as bootstrapped when the method completes.
This ensures that the deployed application units don't get
stuck in a maintenance/waiting state.
Refresh charm to drop release usage in ops-sunbeam.
Drop surplus template fragments.
Refresh unit tests.
Switch to black + other linters.
Tidy docstrings across operator.
Not all clients can use hostnames so present IP address information
as well so clients can pick and choose depending on capability.
K8S pods can change IP during charm upgrades; switch to using
the fully qualified hostname for participating units for
connectivity between units. Hostnames won't change and are
dynamically managed by K8S.
RBAC + OVN relay is not currently supported so disable RBAC on
the OVN SB DB port until this is supported by OVN.
Drive-by fix to link config.yaml into tests directory.
If the certificates relation is ready the charm can attempt to
start the pebbles handlers before they are ready. This change
causes the configure_charm to bail if any of the pebble handlers
are not ready. configure_charm calls will be called by subsequent
Add healthcehck to the OVN service.
ovn-northd can be checked using ovn-ctl command
but for the ovsdb servers the ovn-ctl always
returns 0. So tcp check is added for ovn nb db
and ovn sb db.