26 Commits

Author SHA1 Message Date
Zuul
103e2ba813 Merge "Add healthcheck to OVN services" into main 2022-09-26 13:20:31 +00:00
Liam Young
a3f95508f2 Fix race when certificates relation is ready first
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
pebble_redy events.

Change-Id: I16dc6b2e25ef31f3619303c4424f80de4d65e626
2022-09-26 10:53:00 +00:00
Hemanth Nakkina
f6a4cd6887 Add healthcheck to OVN services
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.

Change-Id: I722aa0b00bed9802d85ecebd6cd45b3fc6b95903
2022-09-26 11:04:16 +05:30
Hemanth Nakkina
d9b89eadc2 Add mandatory relations
Add mandatory relations to charm

Depends-On: https://review.opendev.org/c/openstack/charm-ops-sunbeam/+/854508
Change-Id: Ieef86d96b6e491b92d82c3c5c261fe2acec772f3
2022-09-21 18:46:25 +05:30
Hemanth Nakkina
e6237cab71 Add osci yaml
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: I746b8a5964bd5f8ab43616b1820981567729278c
2022-09-09 08:55:24 +05:30
Zuul
55906e5906 Merge "Remove charmcraft clean from tox build target" into main 2022-08-23 09:57:40 +00:00
Samuel Walladge
54c651c302 Remove charmcraft clean from tox build target
Unnecessary, and slows down rebuilds

Change-Id: I289a36fbf1e8e7fbc0c51244e4c0bf515ee45603
2022-08-15 12:42:43 +09:30
Samuel Walladge
3024e26015 Add source and issues urls to metadata
So we can find the repo from the charmhub page.

Change-Id: I3cb6574a475f931d83f324cb314f5aa716a3e601
2022-08-15 12:42:03 +09:30
Hemanth Nakkina
7676c9b81c specify image digest for OCI images
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: Ic4324dc8c908fd2d3b613fdb1d631e0fa29df3c1
2022-08-11 20:08:52 +05:30
Hemanth Nakkina
a81db4d06a Remove references to old github
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: Ib72255da7fdee624160e230ed828f8deea898b17
2022-08-05 06:46:06 +05:30
Hemanth Nakkina
98d56d0073 Sync global tox, requirement files
Following changes are done as part of this patch:
* Sync global tox, requirements.txt, test-requirements
from release-tools project
* Resolve flake errors
* Fix templates to handle optional ingress relations
* Remove run_tests script
* Restructure unit tests directory
2022-07-27 12:53:24 +05:30
James Page
017ff6b5d1 [chore] Minor docs tidy. 2022-07-25 10:53:29 +01:00
Hemanth Nakkina
61d3fb4e93 charm cleanup
Following changes are done as part of this patch:

rename sunbeam import library to ops_sunbeam
update documentation
add fetch-libs in tox.ini
2022-07-19 13:25:21 +05:30
Liam Young
26ed090dac Fix unit tests 2022-04-28 15:00:05 +01:00
Liam Young
24ab14de54 Temporarily get opendev resources from github 2022-02-25 11:59:11 +00:00
Liam Young
752925ea82 Switch to xena and pin aso 2022-02-25 10:47:49 +00:00
Liam Young
25899ef184 Standerdise some bits 2022-02-14 13:15:59 +00:00
Liam Young
45cf162c8a Check relation exists in ovsdb lib 2022-02-14 11:14:12 +00:00
Liam Young
0aa06b0710 Extend unit tests 2022-02-14 10:10:01 +00:00
Liam Young
3460908b73 Remove containter list from container config 2022-02-07 14:57:33 +00:00
Liam Young
efe4e040ad Github workflow 2022-02-05 08:10:26 +00:00
Liam Young
3e8d452146 Move shared OVN code to ASO 2022-02-05 08:01:15 +00:00
Liam Young
07d5f89224 Base unit test 2022-02-03 18:51:13 +00:00
Liam Young
25fe81e298 lint fixes 2022-02-03 18:13:08 +00:00
Liam Young
9575a11be0 Cope with multiple cms relations 2022-02-03 17:54:56 +00:00
Liam Young
0b2e540e14 First Cut 2022-01-31 12:48:31 +00:00