Vault HA does not work as documented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charmed Kubernetes Testing |
In Progress
|
Medium
|
Cory Johns | ||
Kubernetes Control Plane Charm |
In Progress
|
Medium
|
Cory Johns | ||
vault-charm |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In lp:1833595 [1] we added instructions for using Vault in HA without EasyRSA using a manual step to transition from non-HA to HA. This was later changed [2] to just use an overlay, stating that testing had shown that the manual transition was no longer necessary. However, it seems that the situation may have regressed or there was a mistake in the original testing, because following the current instructions leads to the secondary Vault unit going into an errored state, as well as showing misleading info in the status (though I already proposed a fix for this [3]). It seems that our Vault CI test also does not test it in HA, so we didn't catch this.
Ideally, the Vault charm would not go into an errored state, but in the meantime, we may need to revert the overlay change to the docs.
[1]: https:/
[2]: https:/
[3]: https:/
Changed in charmed-kubernetes-testing: | |
importance: | Undecided → Medium |
Changed in charm-kubernetes-master: | |
importance: | Undecided → Medium |
Changed in charmed-kubernetes-testing: | |
status: | New → Triaged |
Changed in charm-kubernetes-master: | |
status: | New → Triaged |
Changed in vault-charm: | |
status: | New → In Progress |
status: | In Progress → Invalid |
Changed in charm-kubernetes-master: | |
status: | Triaged → Invalid |
Changed in charmed-kubernetes-testing: | |
assignee: | nobody → Cory Johns (johnsca) |
status: | Triaged → In Progress |
Changed in charm-kubernetes-master: | |
status: | Invalid → In Progress |
assignee: | nobody → Cory Johns (johnsca) |
I also saw k8s-master go into an errored state when doing the manual HA transition due to a connection error which we could handle more gracefully.