[2.4] Master process changes can't notify rack controllers to start image import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
Recently the master process was refactored to better handle MAAS internal services. This refactoring changed the image import service to run on the master only.
The downside is that its unable to communicate to the rack controllers to start the image import.
Proposed fixes:
1. Have the master process communicate the workers that images have been imported, so they can tell the rack controllers to start the image import.
2. Have the image import run on a worker process.
Decided solution:
Since the master process runs critical operations for MAAS, we've decided to have the workers run the image import and evaluate the impact of performance. However, keeping the master process as light as possible (no image import) would make sure other internal services don't get impacted.
Related branches
- Andres Rodriguez (community): Approve
-
Diff: 396 lines (+145/-31)7 files modifiedsrc/maasserver/bootresources.py (+1/-6)
src/maasserver/eventloop.py (+25/-10)
src/maasserver/plugin.py (+9/-2)
src/maasserver/tests/test_eventloop.py (+46/-3)
src/maasserver/tests/test_plugin.py (+34/-3)
src/maasserver/tests/test_workers.py (+14/-3)
src/maasserver/workers.py (+16/-4)
Changed in maas: | |
milestone: | none → 2.4.0beta2 |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Blake Rouse (blake-rouse) |
tags: | added: cdo-qa-blocker |
Changed in maas: | |
status: | Triaged → In Progress |
description: | updated |
tags: | added: foundations-engine |
tags: | added: cdo-qa |
Changed in maas: | |
importance: | High → Critical |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Escalated to field critical due to it blocking testing completely