on relation departed, ceph-client flags aren't cleared

Bug #1998139 reported by Adam Dyess
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes Control Plane Charm
Fix Released
Medium
Adam Dyess
charm-interface-ceph-client
Fix Released
Undecided
Adam Dyess

Bug Description

Removing the ceph-mon application completely from a model and removing all ceph-client relations from a model, kubernetes-control-plane still sees all the flags regarding that relation active -- the worst ones are :

❯ juju run -a kubernetes-control-plane charms.reactive get_flags | egrep 'ceph.pool|ceph-client.'
    ceph-client.available
    ceph-client.connected
    ceph-client.pools.available
    endpoint.ceph-client.changed
    endpoint.ceph-client.changed.auth
    ...
    endpoint.ceph-client.departed

The kubernetes-control-plane charm would handle some of these if the .connected and .available flags were cleared, but they aren't

Revision history for this message
Adam Dyess (addyess) wrote :
Changed in charm-kubernetes-master:
milestone: none → 1.26
Changed in charm-interface-ceph-client:
status: New → In Progress
Revision history for this message
Adam Dyess (addyess) wrote :
Revision history for this message
Adam Dyess (addyess) wrote :
Revision history for this message
Adam Dyess (addyess) wrote :

the managed-flags PR was merged, and the commit has been synced to [0]
The next build of kubernetes-control-plane 1.26/edge should contain this patch

[0] https://github.com/charmed-kubernetes/charm-interface-ceph-client/commit/d9f3b53ca0cf30e47347a68beab59da5c03ce4c7

Changed in charm-interface-ceph-client:
status: In Progress → Confirmed
status: Confirmed → Fix Committed
assignee: nobody → Adam Dyess (addyess)
Changed in charm-kubernetes-master:
status: New → In Progress
Adam Dyess (addyess)
Changed in charm-kubernetes-master:
status: In Progress → Fix Committed
Adam Dyess (addyess)
Changed in charm-kubernetes-master:
assignee: nobody → Adam Dyess (addyess)
importance: Undecided → Medium
Changed in charm-interface-ceph-client:
status: Fix Committed → Fix Released
Adam Dyess (addyess)
Changed in charm-kubernetes-master:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.