authorize_charm action context deadline exceeded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vault-charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
juju run-action -m kubernetes --format=yaml vault/leader authorize-charm token=*
vault/0 active idle 6 10.244.48.217 8200/tcp Unit is ready (active: true, mlock: enabled)
vault/1 active idle 7 10.244.48.207 8200/tcp Unit is ready (active: false, mlock: enabled)
vault/2* error idle 8 10.244.48.209 8200/tcp hook failed: "update-status"
The authorize-charm action left one of the vault unit in error state. The other two vault units are active.
2020-02-27 16:34:28 DEBUG juju-log Opening vault port
2020-02-27 16:34:28 INFO juju-log Invoking reactive handler: reactive/
2020-02-27 16:34:28 INFO juju-log Invoking reactive handler: reactive/
2020-02-27 16:34:29 INFO juju-log Invoking reactive handler: reactive/
2020-02-27 16:34:29 INFO juju-log Invoking reactive handler: reactive/
2020-02-27 16:34:29 INFO juju-log Invoking reactive handler: reactive/
2020-02-27 16:34:29 INFO juju-log Invoking reactive handler: reactive/
2020-02-27 16:34:34 DEBUG update-status active
2020-02-27 16:34:34 INFO juju-log Invoking reactive handler: reactive/
2020-02-27 16:34:35 INFO juju-log Invoking reactive handler: reactive/
2020-02-27 16:34:35 DEBUG update-status active
2020-02-27 16:34:40 ERROR juju-log Hook error:
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
vault_
File "/var/lib/
client = vault.get_
File "/var/lib/
client.
File "/var/lib/
return self.auth(
File "/var/lib/
**kwargs
File "/var/lib/
response = self.post(url, **kwargs).json()
File "/var/lib/
return self.request(
File "/var/lib/
utils.
File "/var/lib/
raise exceptions.
hvac.exceptions
2020-02-27 16:34:40 DEBUG update-status Traceback (most recent call last):
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status main()
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status bus.dispatch(
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status _invoke(
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status handler.invoke()
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status self._action(*args)
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status vault_pki.
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status client = vault.get_
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status client.
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status return self.auth(
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status **kwargs
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status response = self.post(url, **kwargs).json()
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status return self.request(
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status utils.raise_
2020-02-27 16:34:40 DEBUG update-status File "/var/lib/
2020-02-27 16:34:40 DEBUG update-status raise exceptions.
2020-02-27 16:34:40 DEBUG update-status hvac.exceptions
2020-02-27 16:34:40 ERROR juju.worker.
Changed in vault-charm: | |
status: | Incomplete → New |
Changed in vault-charm: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Hi,
What distribution / release combination was this?
Is this intermittent or every attempt?