Comment 6 for bug 1885195

Revision history for this message
Billy Olsen (billy-olsen) wrote :

I can't think of a single logical reason that an OSD *should* be bootstrapped on the mon-relation-departed hook. Confusingly in the charm-ceph-mon code [0], the bootstrap is gated upon get_fsid(), get_auth(), and relation_get('osd_bootstrap_key') evaluating to a Truthy value. get_fsid() and get_auth() will because the files they reference are still persisted on disk and that's not a surprise. Since this is a relation-departed hook, this means that the charm is still able to read data from the relation since it has not broken completely (the relation-broken).

This can easily be resolved by removing the decorator for the mon-relation-departed on this hook.