Commit Graph

21 Commits

Author SHA1 Message Date
Peter Sabaini 19a08a1dda Ceph COS integration increase tenacity and logging
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
2024-11-20 10:55:20 +01:00
Peter Sabaini 03ce7d54c3 COS integration: prometheus tenacity
Be more insistent in querying metrics

Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
2024-09-10 10:52:55 +02:00
Peter Sabaini f87814103d COS testing fix
Don't require trusted certs for getting grafana api info

Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
2024-09-04 20:38:14 +02:00
Peter Sabaini 95f8122fbb Trivial: COS test fix typo
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
2024-09-04 09:27:59 +02:00
Peter Sabaini afe42c4a59 COS integration: make prom-api configurable
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
2024-09-02 19:54:22 +02:00
Peter Sabaini 4a81c003d1 Merge pull request #1260 from sabaini/fix/ga-naming
Fix: grafana-agent relation
2024-08-30 14:33:02 +02:00
Peter Sabaini 7e1591c528 Fix: grafana-agent relation 2024-08-30 10:19:14 +02:00
Peter Sabaini f1b1c3a1a9 COS integration testing: improve COS model lookup
Also, raise an error instead of skipping the test if no COS model found
2024-08-28 18:55:39 +02:00
Peter Sabaini 8dec5eccf8 Fix import path
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
2024-08-22 17:15:34 +02:00
Peter Sabaini 23862098cc Refactor: move the COS integration to separate module
Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
2024-08-20 15:29:32 +02:00
Peter Sabaini ab347e1c12 Add COS integration testing for ceph-mon
Test retrieval of metrics, alert rules and dashboards

Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
2024-08-12 18:52:30 +02:00
Chris MacNaughton 7edf82503e Add a new TestClass that verifies test permissions change on charm upgrade 2023-05-30 11:18:34 +02:00
Chris MacNaughton 1a529276df Migrate several Ceph test cases to not use the openstack base 2023-01-23 09:43:23 -05:00
Samuel Walladge c396608daa Fix pep8 lint errors
One of the pep8 target dependencies must have updated,
causing a bunch of new lint errors in these categories:
- line length > 79 chars
- no whitespace after keyword
2022-08-03 13:44:22 +09:30
Alex Kavanagh ec40306f7b Improve detection of removing and adding relation 2020-05-19 20:08:33 +01:00
Alex Kavanagh 5d05eb70cc Ensure model starts executing before the wait
There was a race before a block_until_all_units_idle() where it
could blast through the check before it started removing the relation.
This ensures that it waits until something happens and then waits for it
to finish.
2020-05-14 19:39:50 +01:00
Alex Kavanagh a7df335cc8 Fix missing comma 2020-05-13 14:30:19 +01:00
Alex Kavanagh 935af95dd2 Add in missing 500 test from amulet test
This is the missing 500 test from the previous amulet tests that were
missed on the first pass.
2020-05-13 14:30:19 +01:00
Alex Kavanagh 3de6251316 Fix broken code and collect errors on ceph commands 2020-05-13 14:30:19 +01:00
Alex Kavanagh c6f0472681 Fix the broken bits in the tests copied from amulet 2020-05-13 14:30:19 +01:00
Alex Kavanagh fd3f0bb093 Migrate 499 cinder-ceph test to zaza
This takes the 499 test from basic_deployment.py (Amulet) test and
ports it over to zaza.
2020-05-13 14:30:19 +01:00