~xavpaice/juju-verify:add_ceph_mon

Last commit made on 2021-03-11
Get this branch:
git clone -b add_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:
add_ceph_mon
Repository:
lp:~xavpaice/juju-verify

Recent commits

66999be... 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.

WIP, needs completion of LP:#1918204 as we must subtract the hostname of
the target unit from the list of online mons to understand the effect of
the change.

f5e33f9... 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.

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

cc06471... by Robert Gildein

create CephCommon parent class for Ceph

e3cafef... by Robert Gildein

 replaced logger.info with logger.debug

1c487ff... by Robert Gildein

verify charm w/ char_name instead of application

7d7313c... by Robert Gildein

move parse_charm_name and verify_unit_application

c6364fa... by Robert Gildein

add unit tests

187801f... by Robert Gildein

remove usage of compare_results