When the snap is initialized again the certificates are not cleaned up
Bug #2078941 reported by
Jacopo Rota
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Committed
|
High
|
Jacopo Rota | ||
3.5 |
New
|
Undecided
|
Unassigned |
Bug Description
As per title, steps to reproduce
1) install MAAS with snaps
2) init MAAS
3) stop maas
4) delete/recreate the DB
5) init MAAS
The snap still contain the old certificates.
`maas init` should clean up the certificate dir before the system is initialized again
Related branches
~r00ta/maas:lp-2078941-clear-certificates-dir
- MAAS Lander: Approve
- Alexsander de Souza: Approve
- Anton Troyanov: Approve
-
Diff: 75 lines (+39/-0)2 files modifiedsrc/maascli/snap.py (+10/-0)
src/tests/maascli/test_snap.py (+29/-0)
Changed in maas: | |
assignee: | nobody → Jacopo Rota (r00ta) |
Changed in maas: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.