Resource providers: Move scheduler filters to DB
We propose to move the Python filtering for quantitative resource decisions to be SQL constructs to reduce the number of compute node records processed for each call to select_
Blueprint information
- Status:
- Complete
- Approver:
- Matt Riedemann
- Priority:
- High
- Drafter:
- Jay Pipes
- Direction:
- Approved
- Assignee:
- Sylvain Bauza
- Definition:
- Approved
- Series goal:
- Accepted for ocata
- Implementation:
- Implemented
- Milestone target:
- ocata-3
- Started by
- Sylvain Bauza
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Per discussion at the Newton summit, this can't land in Newton since the allocations dependency that moves the data into the DB that this will use will be new to deployments moving to Newton and will perform the online data migrations in Newton. So the scheduler DB filters can't be a default in Newton since that data might not have been migrated yet. This could be enabled by default in Ocata when we land a schema migration that breaks if you haven't migrated the compute node data yet. -- mriedem 20160427
Gerrit topic: https:/
Addressed by: https:/
resource-
Gerrit topic: https:/
Addressed by: https:/
Add nova-status upgrade check command framework
Gerrit topic: https:/
Addressed by: https:/
WIP: nova-status: add basic placement status checking
Addressed by: https:/
nova-status: check for cells v2 upgrade readiness
Addressed by: https:/
WIP: nova-status: check for resource providers
Gerrit topic: https:/
Addressed by: https:/
WIP: Scheduler calling the Placement API
Addressed by: https:/
Add ComputeNode.
Addressed by: https:/
WIP: Add a PlacementFixture for functests
Addressed by: https:/
Provide a microversion header for the report client
Addressed by: https:/
Amend the PlacementFixture
Addressed by: https:/
Fix the FakeDriver using same hypervisor names
Addressed by: https:/
Fix server group functional test by using all filters
Addressed by: https:/
Block starting compute unless placement conf is provided
Addressed by: https:/
doc: add upgrade notes to the placement devref
Addressed by: https:/
testing
Work Items
Dependency tree
* Blueprints in grey have been implemented.