canonical / charm-microceph

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

Delete rgw config only if it exists in db #92

Closed hemanthnakkina closed 4 months ago

hemanthnakkina commented 4 months ago

Currently microceph daemon API is called to delete rgw config irrespective of config exists or not as the daemon call does not return error if config does not exist in db. However this causes time delays in running ceph command for each config given there are almost 15 configs introduced for rgw. Add a check to call delete config API call only when the config exists in db.

Fixes # #91

Type of change

How Has This Been Tested?

Manual testing Unit testing

Contributor's Checklist

Please check that you have: