Support disabling a cell
It would be useful to have a mechanism by which we could totally stop scheduling to a particular cell or a group of cells by supporting the concept of disabling cells.
Blueprint information
- Status:
- Complete
- Approver:
- Matt Riedemann
- Priority:
- Medium
- Drafter:
- Surya Seetharaman
- Direction:
- Approved
- Assignee:
- Surya Seetharaman
- Definition:
- Approved
- Series goal:
- Accepted for rocky
- Implementation:
- Implemented
- Milestone target:
- rocky-1
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Support disabling a cell
Approved for Rocky. -- mriedem 20180313
Addressed by: https:/
Add disabled field to cell_mappings object
Addressed by: https:/
Add CellMappingList
Addressed by: https:/
Allow scheduling only to enabled cells (Filter Scheduler)
Addressed by: https:/
Add disabled column to cell_mappings table.
Addressed by: https:/
Change TestNewtonCells
Addressed by: https:/
Modify nova-manage cell_v2 list_cells to display "disabled" column
Addressed by: https:/
Add --enable and --disable options to nova-manage update_cell
Addressed by: https:/
Add disabled option to create_cell command
Addressed by: https:/
Update the cells FAQs and scheduler maintenance docs.
Addressed by: https:/
Scheduling Optimization: Remove cell0 from the list of candidates
Work Items
Work items:
1. Add a new column disabled to nova_api.
2. Add a new field disabled to CellMapping object: DONE
3. Add a new get_by_disabled() function to CellMappingList object: DONE
4. Implement the change in scheduler and a SIG-HUP handler: INPROGRESS
5. Modify the nova-manage cellV2 list_cells to display the new column: DONE
6. Add two options enable and disable to nova-manage cellV2 update_cell: INPROGRESS
7. Add disabled option to nova-manage cellv2 create_cell to create pre-disabled cells: DONE
8. Update the Scheduler and CellsV2 documentation: INPROGRESS