vault leader fails on pre-series-upgrade hook, cannont connect to mysql
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vault-charm |
Triaged
|
Undecided
|
Unassigned |
Bug Description
While upgrading vault from focal to jammy, the vault leader unit went into an error state preventing the pre-series-upgrade hook from finishing. The HA cluster unit and mysql-innodb-
2023-02-17 17:36:10 ERROR unit.vault/
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
if client.is_sealed():
File "/var/lib/
return self.seal_
File "/var/lib/
return self._adapter.
File "/var/lib/
return self.request('get', url, **kwargs)
File "/var/lib/
utils.
File "/var/lib/
raise exceptions.
hvac.exceptions
It makes sense it wouldnt be able to connect, since the mysql-router is ready for upgrade, it probably isnt forwarding traffic any longer.
Changed in vault-charm: | |
status: | Incomplete → New |
Hi Alex, do you know whether the unit was paused prior to the series-upgrade? Also, does the log have which hook it was that went into error. e.g. update-status or was it the "pre-upgrade- series" hook?