canonical / charm-microceph

Charm to deploy/manage microceph
Apache License 2.0
2 stars 9 forks source link

Configure ceph before enabling rgw service #95

Closed hemanthnakkina closed 1 week ago

hemanthnakkina commented 1 week ago

Config option default-pool-size resets the osd_pool_default_size and rgw service picks the replication size from osd_pool_default_size. So ceph osd_pool_default_size should be configured first before enabling rgw so that rgw will be created with right pool replication sizes.

Call configure ceph logic before enabling rgw. Configure ceph only on leader unit.

Type of change

How Has This Been Tested?

Manual Testing with sunbeam

Contributor's Checklist

Please check that you have: