unit state lost following upgrade-charm
Bug #1881740 reported by
Ian Booth
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
As reported here, needs investigating.
https:/
<pjdc> when a charm is upgraded, is the agent's charm directory replaced entirely? i've noticed charms store stuff in there that seems to want to be persistent, and i'm curious how reliable doing that is
<pjdc> also, does are there any differences between how it's handled in CAAS and IAAS charms?
<pjdc> did some testing with a flag file and it looks like the answers are "no" and "no"
the problem i'm having seems to be happening even though afaict the pod isn't being respawned (filed https:/
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
I'm seeing this with the following scenario:
Deploy CK coredns- 10 1.24/stable
Add a k8s model with the original controller
Deploy cs:~containers/
Add relation for coredns/kubernetes control plane
juju trust coredns --scope=cluster # required for the new revision of coredns
juju upgrade-charm coredns --switch coredns --channel=
I end up with:
$ juju status
Model Controller Cloud/Region Version SLA Timestamp
k8s-infra foundations-maas k8s_cloud/default 2.9.31 unsupported 17:47:16Z
App Version Status Scale Charm Channel Rev Address Exposed Message image@695a5e1 active 1 coredns 1.24/stable 18 192.152.183.63 no
coredns res:coredns-
Unit Workload Agent Address Ports Message 53/TCP, 9153/TCP agent lost, see 'juju show-status-log coredns/3'
coredns/0* active idle 59.47.48.31
coredns/3 unknown lost 59.47.81.17 53/UDP,
Offer Application Charm Rev Connected Endpoint Interface Role
coredns coredns coredns 18 1/1 dns-provider kube-dns provider