python-subunit 1.4.3+ requires 'extras' otherwise an error
occures:
"'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
*1 2cb418cd2e
Change-Id: I47139a8d3203b4dc0953bc64491a9f58533d6a10
When the OVN relay process starts early and the hostnames for the OVN
central units are not fully resolvable, the relay process gets stuck
in a state when it will never actually connect to the underlying OVN
central units.
Use IP addresses instead of hostnames to avoid this situation; this
does mean the relay will restart if the IP addresses change which
can and will happen during normal operation.
Closes-Bug: 2026596
Change-Id: Ib2cfa13f73182a3ab9cc37fc056fb78c972269a6
Ensure that all logging goes to the console rather than syslog so
that its consumed by pebble and propagated up to k8s.
Change-Id: Id77c631e53ee1a063738f942ab74b13140696d18
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
22.04 container.
Change-Id: I96e7effad26922e36c00178c8a087b0a2511b7bf
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.
Depends-On: https://review.opendev.org/c/openstack/charm-ops-sunbeam/+/880270
Change-Id: I44ee58cb9f5ddee6339bcd207365a2dcb49ac006
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.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 [1]
[1] 4b9def9c96
Change-Id: Ie011182637289ec76533b2a3425a32d38651dd75
Update the snaps to use in functional tests:
juju snap to 3.1 and microk8s snap to 1.26-strict.
Update zaza requirement to use libjuju-3.1 branch.
Change-Id: I9d11caa4dc2176a72297c6cc1e406372d906d048
All we care about is whether the unit is active or not; the
message is somewhat irrelevant and has been changed in this
operator recently.
Re-enable full gating for functional test.
Change-Id: I7760e788c8cab86c2a3e1f012e2f20d48fb7ba8c
publish-charm failed to execute rename.sh
as it is not allowed.
Add abosulte path for rename.sh, fetch-libs.sh
in allowlist_externals.
Change-Id: I4553fc0625b4965f7a04593b6eb2cd9c4abc1b72
The use of local hostname seems to confuse later versions of
ovsdb-server; switch to implicit binding to all local addresses.
Change-Id: Ieb84177d239e02346addf0af3cf1ed1e812dbcb7
Rebase charm to ubuntu 22.04 to resolve build issues on 20.04
and reduce complexity of requirements management.
Change-Id: Iaf8d9fe7fcc94edf8f21c877ad03dd4e7343c22c
Refresh charm to drop release usage in ops-sunbeam.
Drop surplus template fragments.
Refresh unit tests.
Tidy requirements.txt.
Switch to black + other linters.
Tidy docstrings across operator.
Change-Id: Ied1e6a797645f58a84fe4aad20080ba585f54d19
Not all clients can use hostnames for OVS DB URL's so changes
in this area have been reverted/adapted. The OVN relay can so
ensure it uses the new context properties for hostname based
URL's.
Depends-On: Iefe8ad601b305e3fdab7548e1d3357493491d3e9
Change-Id: I5a03590946099b50651570f411f0c6cc3a13f115
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.
Depends-On: Ief5c816ab5fbeb55aadf2b83697858f2ecb28807
Change-Id: Ib4629e0d2228ba2b94c7652d75ef861c8324441e
By default, expose this charm as a LoadBalancer service to allow
external access from outside of K8S which is its principle use
case.
Add action to allow introspection of the deployed service for
the URL to connect to the Southbound DB relay.
Change-Id: Ie234ca70d9090be463b5c971a8f01302958c91f5
Currently the ovn-relay service is initialized
with the configuration but the service is not
started. Add service start to the initialization
process.
Change-Id: I7dc49ab3fd98d208d0ed20d078efcd02acee62ad
Add status_command to ovn-relay service
that can be used for healthcheck of
ovn-relay ovsdb-server container.
Change-Id: Id503f74e54f9132242861d1491c0b0d6133f8816
Add project templates and variables to osci.yaml
Add rename script to change built charm name to
charm_build_name defined in osci.yaml
Change-Id: I737badefa19fd8d65def0ab79cadaa63d7d93b5a
Update upstream-source in metadata.yaml to OCI image
digest instead of image with tag. This will help in
pinning the image to a specific revision instead of a
moving pointer based on tag.
Change-Id: I824a85b0997734b31e919ec76231576976379524
Remove references in documentation to openstack-charmers
repos.
Remove github workflows.
Add .gitreview file
Add .zuul.yaml file
Update packages in requirements file to point to
opendev.org instead of github.com
Change-Id: Ia8916da44e1ea9cd8123b1d6a2db6e4a36c768b2
Following changes are done as part of this patch:
* Sync global tox, requirements.txt, test-requirements
from release-tools project
* Resolve flake errors
* Restructure unit tests directory