Closed jedel1043 closed 6 months ago
Not sure about how to go over testing this. I have local deployments using ceph-fs
, but I think mocking it using ops
would require adding a new relation library to charm-ops-inteface-ceph-client
which probaby needs its own design.
Not sure about how to go over testing this. I have local deployments using
ceph-fs
, but I think mocking it usingops
would require adding a new relation library tocharm-ops-inteface-ceph-client
which probaby needs its own design.
A functional test would do the job. Essentially, we would need a model to be deployed where ceph-fs
is related to microceph
and one simple command that requires authorization completes successfully.
Added a functional test for the mds
relation.
/canonical/self-hosted-runners/run-workflows 6b54e9148de2fac91d25cd3a8e29d5d630012792
@jedel1043 I have merged some CI patches, rebasing with main should make the tests better.
Rebased on main. I think it needs another workflow approval.
/canonical/self-hosted-runners/run-workflows adfada1ca23292f2fbd7bd5f4b3b77a484b95b45
/canonical/self-hosted-runners/run-workflows 9349bc4c6d99fb8025c9f4560376d27d1f69ad5d
/canonical/self-hosted-runners/run-workflows 9349bc4
No idea why the Juju upgrade test
job is failing. Reading the logs, it seems like a unit is not upgrading the Microceph snap to reef/stable
correctly? Though, that problem seems to be external to this PR.
/canonical/self-hosted-runners/run-workflows https://github.com/canonical/charm-microceph/commit/9349bc4c6d99fb8025c9f4560376d27d1f69ad5d
/canonical/self-hosted-runners/run-workflows e8ed07542974a8adb3128126488a1a9724cf6769
Description
This change allows integrating with
microceph
using theceph-mds
relation, which is required by charms such asceph-fs
to create filesystems on the cluster. Do note that this only allows creating filesystems; a separate PR (#71) is in place to allow creating cephfs clients using broker requests.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
A functional test on the CI pipeline.
Contributor's Checklist
Please check that you have: