stuck in maintenance after no-op upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The charm gets stuck in maintenance status, only when it's related to postgresql *and* prometheus.
Tracked things to a bad reactive state mix, the .unit-state.db ends up with: `reactive.
Maybe it's something else, but deleting the `reactive.
Steps to reproduce (tested on xenial)
juju deploy cs:postgresql
juju deploy cs:prometheus2
juju deploy cs:telegraf
juju add-relation telegraf postgresql:
juju add-relation telegraf postgresql:db
juju add-relation telegraf prometheus2:
juju add-relation telegraf prometheus2:target
charm pull cs:telegraf
juju upgrade-charm telegraf --path ./telegraf
Related branches
- 🤖 prod-jenkaas-bootstack (community): Needs Fixing (continuous-integration)
- Drew Freiberger (community): Approve
- Tom Haddon: Pending requested
- BootStack Reviewers: Pending requested
-
Diff: 61 lines (+30/-2)2 files modifiedsrc/reactive/telegraf.py (+1/-0)
src/tests/unit/test_telegraf.py (+29/-2)
Changed in charm-telegraf: | |
status: | New → Fix Committed |
Changed in charm-telegraf: | |
status: | Fix Committed → Fix Released |
milestone: | none → 21.10 |