~xavpaice/juju-verify:ceph-mon

Last commit made on 2021-03-25
Get this branch:
git clone -b ceph-mon https://git.launchpad.net/~xavpaice/juju-verify
Only Xav Paice can upload to this branch. If you are Xav Paice please log in for upload directions.

Branch merges

Branch information

Name:
ceph-mon
Repository:
lp:~xavpaice/juju-verify

Recent commits

f12707b... by Xav Paice

Update ceph action output field names

https://review.opendev.org/c/openstack/charm-ceph-mon/+/778837 changed
the field names and format during the review process, this reflects that
change.

afd975b... by Xav Paice

Add verifier for ceph-mon

This change adds a CephMon verifier for the ceph-mon charm. It uses
existing actions to ensure the cluster has HEALTH_OK status.

The change relies on ceph-mon get-quorum-status action, introduced in
https://review.opendev.org/c/openstack/charm-ceph-mon/+/778837.

Also uses Juju changes in 2.8.10, and introduces a dependency on that
version.

4def417... by Xav Paice

update unittests target to exclude functests

4e5addc... by Xav Paice

Add functional testing

This adds a basic test for Ceph OSD verification.

There is also an outline for Nova Compute, that relies on an action
which is not currently avaialable, therefore the test is not enabled.

A bundle for starting testing openstack-dashboard/hacluster is included,
but no tests.

d61340b... by Robert Gildein

CephOsd.get_ceph_mon_units refactor

Change the output of the CephOsd.get_ceph_mon_units function to provide a map between the verified and ceph-mon units.

Closes-bug: LP#1920131

---
[LP#1920131]: https://bugs.launchpad.net/juju-verify/+bug/1920131

Reviewed-on: https://code.launchpad.net/~rgildein/juju-verify/+git/juju-verify/+merge/399911
Reviewed-by: Alvaro Uria <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

0439acd... by Robert Gildein

ceph_mon_app_map filter None

b0d38d1... by Robert Gildein

select unique application names

518e02e... by Robert Gildein

get map between verified and ceph-mon units

5e975d8... by Robert Gildein

This is MP contain new approach to check Ceph Cluster health while juju-verify is running against ceph-osd units.

Steps:
- get all the distinct ceph-osd applications from the ceph-osd units provided
- find all relations between ceph-osd and ceph-mon
- select first unit from each provider relations

Reviewed-on: https://code.launchpad.net/~rgildein/juju-verify/+git/juju-verify/+merge/399294
Reviewed-by: Martin Kalcok <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Xav Paice <email address hidden>

752d9dc... by Robert Gildein

fix typo