Closed mmanciop closed 3 years ago
The issue is related to the charm container:
Containers:
charm:
Container ID: containerd://6f23ccbc1c403570f0faf800fe692358f3ce488801db7db189b7126ce46ce50d
Image: jujusolutions/charm-base:ubuntu-20.04
Image ID: docker.io/jujusolutions/charm-base@sha256:e16ca5a76c033e6c48f4ae57c73d9c691c647a014925359bc435d588357d4d88
Port: <none>
Host Port: <none>
Command:
/charm/bin/containeragent
Args:
unit
--data-dir
/var/lib/juju
--charm-modified-version
0
--append-env
PATH=$PATH:/charm/bin
State: Running
Started: Mon, 02 Aug 2021 11:22:36 +0200
Last State: Terminated
Reason: Error
Exit Code: 137
Started: Mon, 02 Aug 2021 11:16:11 +0200
Finished: Mon, 02 Aug 2021 11:17:30 +0200
Ready: False
Restart Count: 33
Liveness: http-get http://:3856/liveness delay=30s timeout=1s period=10s #success=1 #failure=2
Readiness: http-get http://:3856/readiness delay=30s timeout=1s period=10s #success=1 #failure=2
Startup: http-get http://:3856/startup delay=30s timeout=1s period=10s #success=1 #failure=2
Environment:
Wrong charm sorry :-)
So apparently the liveness check is failing and crashing the pod.