Juju 2.8 silent hook failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Yang Kelvin Liu |
Bug Description
I have 2 charms with a relation between them, dex-auth and oidc-gatekeeper. Occasionally, the relation joined hook fails, without useful debugging information in the logs. See here for an example failure:
https:/
The relevant line is under `Debug failures`:
dex-auth/2 error idle 10.1.8.52 5556/TCP hook failed: "oidc-client-
I'm actually unable to find a failure in the logs for `oidc-client-
2020-10-
With no indication of what might have actually failed. It's possibly related to this error a few lines above:
2020-10-
But it's hard to tell exactly what's going on
summary: |
- Juju 2.8 silent relation failure + Juju 2.8 silent hook failure |
Changed in juju: | |
assignee: | nobody → Yang Kelvin Liu (kelvin.liu) |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → 2.8.6 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
That sounds like the charm is trying to run a command in the application
pod, but the application pod is currently "stopped" and thus you cannot do
exec.
On Tue, Oct 6, 2020 at 5:10 PM Kenneth Koski <email address hidden>
wrote:
> Public bug reported: /github. com/juju- solutions/ bundle- pull/225/ checks? check_run_ id=1217310448 relation- joined" 06T21:36: 22.953939641Z 2020-10-06 21:36:22 DEBUG 06T21:36: 19.246284820Z 2020-10-06 21:36:19 ERROR caasoperator runner.go:442 exited "dex-auth/1": executing juju/tools/ jujud caas-unit-init --unit unit-dex- dex-auth- 2455037127/ charm --send dex-auth- 2455037127/ operator- client- cache.yaml ca-cert- file /tmp/unit- dex-auth- 2455037127/ ca.crt" failed: : 46f4e60bf275663 f3f0935265e938e 5e3ac8354fb5f6b e6d08": /bugs.launchpad .net/bugs/ 1898792 /bugs.launchpad .net/juju/ +bug/1898792/ +subscriptions
>
> I have 2 charms with a relation between them, dex-auth and oidc-
> gatekeeper. Occasionally, the relation joined hook fails, without useful
> debugging information in the logs. See here for an example failure:
>
> https:/
> kubeflow/
>
> The relevant line is under `Debug failures`:
>
> dex-auth/2 error idle 10.1.8.52
> 5556/TCP hook failed: "oidc-client-
>
> I'm actually unable to find a failure in the logs for `oidc-client-
> relation-joined`, but I did find this failure:
>
> 2020-10-
> juju.worker.uniter agent.go:20 [AGENT-STATUS] error: hook failed:
> "start"
>
> With no indication of what might have actually failed. It's possibly
> related to this error a few lines above:
>
> 2020-10-
> juju.worker.
> operation "remote init": caas-unit-init for unit "dex-auth/2" with
> command: "/var/lib/
> auth-2 --charm-dir /tmp/unit-
> --operator-file /tmp/unit-
> --operator-
> Internal error occurred: error executing command in container: failed to
> exec in container: failed to create exec
> "bfab0180264e3b
> cannot exec in a stopped state: unknown
>
> But it's hard to tell exactly what's going on
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
> ** Summary changed:
>
> - Juju 2.8 silent relation failure
> + Juju 2.8 silent hook failure
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> Juju 2.8 silent hook failure
>
> To manage notifications about this bug go to:
> https:/
>