Backups do not work if python 2.7 is not installed
Bug #1688134 reported by
Paul Gear
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Grafana Charm |
Fix Released
|
High
|
Jacek Nykis |
Bug Description
The included backup script depends upon python (2.7) and python-requests, yet these are not installed by the charm. This means that no dashboard backups are taken, even if they are configured.
The charm should install the necessary prerequisites, and preferably switch to python3 for the backup script, which seems to work fine.
Related branches
~pjdc/charm-grafana/+git/grafana-charm:python3-backup
Merged
into
~prometheus-charmers/charm-grafana:master
at
revision c1202fc2879ea45ebc16078cb0364b006f2ae29b
- Stuart Bishop (community): Approve
-
Diff: 10 lines (+1/-1)1 file modifiedfiles/dashboards_backup (+1/-1)
tags: | added: canonical-is |
Changed in grafana-charm: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
importance: | Medium → High |
Changed in grafana-charm: | |
assignee: | nobody → Jacek Nykis (jacekn) |
Changed in grafana-charm: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
Released as cs:~prometheus- charmers/ grafana- 7: https:/ /jujucharms. com/u/prometheu s-charmers/ grafana/