canonical / charm-microceph

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

Workload status changed to active before service is bootstrapped #80

Open hemanthnakkina opened 5 months ago

hemanthnakkina commented 5 months ago

In a multi-node microceph deployment via charm, the status of workload is changed to active even before the bootstrap is completed on the 2nd node.

See https://bugs.launchpad.net/snap-openstack/+bug/2065855 for logs.

hemanthnakkina commented 5 months ago

ops_sunbeam library is modified to update active status at the end of the hook [1]. Check if this helps in resolving this problem.

[1] https://review.opendev.org/c/openstack/sunbeam-charms/+/921401

hemanthnakkina commented 4 months ago

I verified on single node deployment and this is resolved by the above mentioned PR. I will verify on multi node and will close if it works.