If password changed, action to retrieve it will return the old one
Bug #1835093 reported by
Alvaro Uria
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Grafana Charm |
Fix Released
|
Medium
|
Joe Guo |
Bug Description
# Use case:
juju deploy grafana
juju run-action --wait grafana/0 get-admin-password
# PASS1 retrieved
juju config grafana admin_password=
juju run-action --wait grafana/0 get-admin-password
# PASS1 retrieved, but does not work (PASS2 should be retrieved)
# Expected
Return PASS2
# Fix
When admin_password is changed, charm will do so via Grafana's API. However, charm doesn't update the stored password in the unitdata db. Alternatively, when Juju config has a password configured, the stored password (in unitdata) should be removed.
Changed in grafana-charm: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in charm-grafana: | |
status: | Confirmed → In Progress |
assignee: | nobody → Joe Guo (guoqiao) |
Changed in charm-grafana: | |
status: | In Progress → Fix Committed |
milestone: | none → 20.05 |
Changed in charm-grafana: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.