Comment 1 for bug 1879598

Revision history for this message
Ian Booth (wallyworld) wrote : Re: terminating pod confuses k8s charm operator

Related to bug 1878329

When a "stateless" charm is upgraded, the k8s deployment resource terminates the current pod and creates a new one. Juju in turn creates a new unit to represent this new pod. The original unit agent though can still be running and it looks like it tries to initialise a terminating pod with the upgraded charm, causing an error deleting the tools directory.

We're still investigating exactly the causal relation between the moving parts as it's been hard to reproduce. Having the mattermost charm which demonstrates the issue would help.