One barbican-vault unit is failing with "wrapping token is not valid or does not exist"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Barbican-Vault Charm |
Invalid
|
High
|
Unassigned |
Bug Description
The issue is very similar to bug below
https:/
However I have the patch from the bug present
https:/
And hvac version is hvac-0.10.1
In my case 2 units are in ready state and 3rd unit is stuck with
hook failed: "secrets-
and the following log.
After adding 4th and 5th unit - both are also stuck with the same wrapping token issue.
2020-07-06 12:18:51 INFO juju-log secrets-storage:57: Retrieving secret-id from vault (http://
2020-07-06 12:18:51 ERROR juju-log secrets-storage:57: 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/
secret_id = get_secret_
File "/var/lib/
secret_id = vault_utils.
File "lib/charm/
response = client.
File "/var/lib/
return method(*args, **kwargs)
File "/var/lib/
return self._adapter.
File "/var/lib/
return self.request(
File "/var/lib/
utils.
File "/var/lib/
raise exceptions.
hvac.exceptions
Bionic stein.
Charm barbican-vault rev 15.
juju 2.7.6.
Changed in charm-barbican-vault: | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
As suggested in the previous bug, running the refresh action below didn't help barbican-vault units..
$ juju run-action --wait vault/1 refresh-secrets
unit-vault-1:
UnitId: vault/1
status: completed
Even after juju resolved barbican-vault/5 and executing, units end up in error state.