Comment 5 for bug 1871981

Revision history for this message
David Ames (thedac) wrote :

This affected all versions of the charm as the root cause is a change in the hvac.Client post response type from an object to a dictionary.

Fix on the way.

As a supplementary note. The tokens generated are one time use. The exception, "hvac.exceptions.InvalidRequest: wrapping token is not valid or does not exist" was seen on subsequent hook runs.

For future information (after the response type change fix lands), if one sees the hvac.exceptions.InvalidRequest exception, one can refresh the one time use tokens with the following:

juju run-action --wait vault/0 refresh-secrets