vault failed in shared-db-relation-changed hook KeyError: 'keys'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vault-charm |
Fix Released
|
High
|
Chris MacNaughton |
Bug Description
xenial-queens
vault:
charm: "cs:vault"
options:
totally-
vault hook failed error from the log:
2018-09-14 10:54:08 DEBUG juju-log shared-db:230: Calling opportunistic_
2018-09-14 10:54:08 DEBUG shared-
2018-09-14 10:54:08 DEBUG juju-log shared-db:230: Safe to restart: True
2018-09-14 10:54:08 DEBUG juju-log shared-db:230: Restarting vault
2018-09-14 10:54:08 DEBUG shared-
2018-09-14 10:54:15 ERROR juju-log shared-db:230: 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/
unseal_vault()
File "/var/lib/
keys = json.loads(
KeyError: 'keys'
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 DEBUG shared-
2018-09-14 10:54:15 ERROR juju.worker.
2018-09-14 10:54:20 INFO juju-log shared-db:230: Reactive main running for hook shared-
Changed in vault-charm: | |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in vault-charm: | |
milestone: | none → 19.04 |
Please note that juju status shows vault units are active and OK. However CI is using "juju wait" and it sees that error before vault resolved itself.