certificates-relation-departed breaks on error loop after removing barbican
Bug #1866553 reported by
Pedro Guimarães
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vault-charm |
Incomplete
|
High
|
Unassigned |
Bug Description
Using Bionic/stein (stable) charms on Juju 2.6.10.
To redeploy some applications, I ran the following:
juju remove-application --force octavia barbican
After that Vault moved to error state with following logs:
subprocess.
More complete logs: https:/
I've seen that happening before and I don't recall using --force all the time.
I am not entirely sure if that flag influenced or not this issue.
Changed in vault-charm: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → 20.05 |
tags: | added: backport |
Changed in vault-charm: | |
milestone: | 20.05 → 20.08 |
Changed in vault-charm: | |
milestone: | 20.08 → none |
Changed in vault-charm: | |
status: | Triaged → In Progress |
assignee: | nobody → Aurelien Lourot (aurelien-lourot) |
To post a comment you must log in.
Thanks for reporting! I can't find a specific charms.reactive or charm-helpers commit that would be the fix for this, yet it seems to have been fixed meanwhile. We see in the original logs [0] that in order to reproduce this we need a bundle with barbican connected to vault over the `certificates` relation. Thus I created a bionic-stein.yaml bundle [1] and did this a few times:
juju deploy ./bionic-stein.yaml
juju remove-application --force barbican
Each time in my case the vault unit managed to run the certificates- relation- departed and certificates- relation- joined with no issues. Also the `--force` flag shouldn't have any impact on the errors of applications not being removed. For the record I'm using Juju 2.8.7.
Closing this bug for now. Don't hesitate to re-open if you still encounter this and please provide more information (e.g. charm versions and bundle). Thanks!
[0] https:/ /pastebin. canonical. com/p/4b4rdNmZY R/ /paste. ubuntu. com/p/nrsrSnQrM w/
[1] https:/