Closed Sponge-Bas closed 2 years ago
Let me see when the latest release went to edge, because this is almost exactly the same as what was fixed in this PR. The short answer is that this is a race, and probably the same one as traefik/0
saw on metric-endpoint-relation-joined
. When a bundle is deployed, the KubernetesServicePatch
may actually patch or delete and recreate the service during the execution of another hook, which subsequently fails. Not with any error, but because the pod was deleted while it was running. @sed-i -- for awareness. I'll see if I can get a reasonable patch for the lib itself.
Bug Description
In testrun https://solutions.qa.canonical.com/v2/testruns/f12b5292-2b3e-4d63-a466-f5c2c4366f57/ the cos-stack fais to install with the juju status:
To Reproduce
We got to this state by deploying the cos-stack on charmed kubernetes on jammy.
Environment
The k8s is ck8s 1.24 on jammy, cos is latest/edge
Relevant log output
Additional context
Crashdumps and config can be found here: https://oil-jenkins.canonical.com/artifacts/f12b5292-2b3e-4d63-a466-f5c2c4366f57/index.html