Add new option enable-rgw.
If the option is "*", enable the rgw on all microceph nodes.
If the option is "", enable the rgw on all microceph nodes.
Add cluster client to interact with microceph
daemon over unix socket. For now, add a function
to get all services from the cluster. In future,
this client can be enhanced to bootstrap the
cluster, join new nodes etc.
Type of change
[x] New feature (non-breaking change which adds functionality)
[x] Documentation update (Doc only change)
How Has This Been Tested?
Deployed juju with manual controller.
Deployed charm-microceph with single unit with new config set to true.
Contributor's Checklist
Please check that you have:
[x] self-reviewed the code in this PR.
[x] added code comments, particularly in hard-to-understand areas.
[x] updated the user documentation with corresponding changes.
[x] added tests to verify effectiveness of this change.
Description
Add new option enable-rgw. If the option is "*", enable the rgw on all microceph nodes. If the option is "", enable the rgw on all microceph nodes.
Add cluster client to interact with microceph daemon over unix socket. For now, add a function to get all services from the cluster. In future, this client can be enhanced to bootstrap the cluster, join new nodes etc.
Type of change
How Has This Been Tested?
Deployed juju with manual controller. Deployed charm-microceph with single unit with new config set to true.
Contributor's Checklist
Please check that you have: