migration: REAP failure handling issues
Bug #1667162 reported by
Menno Finlay-Smits
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Christian Muirhead |
Bug Description
REAPFAILED and an error are returned when the API call to Reap fails. This results in the worker restarting instead of ending up in REAPFAILED.
Also, consider the possibility of the migrationmaster being killed because of model doc removal, before it gets to set the phase to REAPFAILED or DONE (insert a sleep to check).
Changed in juju: | |
importance: | Undecided → High |
Changed in juju: | |
status: | Triaged → In Progress |
assignee: | nobody → Christian Muirhead (2-xtian) |
Changed in juju: | |
milestone: | 2.3.0 → 2.3-beta2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I don't understand this bug - the code for `doREAP` returns `REAPFAILED, nil` on error (and always has as far as I can tell).
I haven't tried provoking the worker being killed by the model removal yet.