Comment 4 for bug 1977582

Revision history for this message
Harry Pidcock (hpidcock) wrote :

After an investigation yesterday, this is caused by the charm taking more than 30 seconds to run stop/remove/-relation-departed etc hooks during pod termination. Although this looks like a regression, the behaviour was already there but was unfortunately hidden by another bug.

Ultimately this will be properly fixed by a fix for https://bugs.launchpad.net/juju/+bug/1951415 which work is ongoing.

In the short term the plan is to increase the terminationGracePeriodSeconds for the pod to a higher number, this isn't a great fix, but for now may help with mitigating this.