k8s workload container with non-root user confuses k8s charm operator
Bug #1879598 reported by
Ian Booth
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Yang Kelvin Liu |
Bug Description
Related to bug 1878329
Changed in juju: | |
assignee: | Kelvin Baverstock (kelvin) → nobody |
assignee: | nobody → Yang Kelvin Liu (kelvin.liu) |
milestone: | none → 2.8-rc3 |
Changed in juju: | |
milestone: | 2.8-rc3 → 2.8.1 |
assignee: | Yang Kelvin Liu (kelvin.liu) → nobody |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.