Replace subprocess with python-libjuju calls
Bug #1941918 reported by
Dariusz Smigiel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-backup-all |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There are few places in the code, which rely on running `subprocess` and using `juju`.
It needs to be replaced with appropriate `python-libjuju` calls.
To post a comment you must log in.
Currently, python-libjuju does not implement a couple of key functions we need for the tool: retrieving all controllers and creating controller backups.
Here are the GH Issues for implementing those features:
controllers: https:/ /github. com/juju/ python- libjuju/ issues/ 529 /github. com/juju/ python- libjuju/ issues/ 529
controller backup: https:/
Once those are implemented, we can remove the subprocess calls and add the lib calls.