objects: Make Resource Tracker use objects (partial)
The resource tracker should use objects instead of conductor RPC
This will include extending the compute_node object to cover missing fields and replacing data structures used for compute_nodes, instances, migrations, etc. with their object equivalent.
Blueprint information
- Status:
- Complete
- Approver:
- John Garbutt
- Priority:
- High
- Drafter:
- Paul Murray
- Direction:
- Approved
- Assignee:
- Paul Murray
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
-
Implemented
- Milestone target:
-
12.0.0
- Started by
- Paul Murray
- Completed by
- John Garbutt
Related branches
Related bugs
Sprints
Whiteboard
Sponsors: Dan Smith, Andrew Laski, John Garbutt
Kilo spec merged, updated URL, and re-approved spec. Please rebase patches, and update blueprint status accordingly --johnthetubaguy 17th October 2014
Gerrit topics:
https:/
https:/
Merged changes:
==============
Addressed by: https:/
(Re)Propose: make resource tracker use objects
Addressed by: https:/
Add ListOfDictOfNul
Addressed by: https:/
Add host_ip to compute node object
Addressed by: https:/
Add supported_instances to ComputeNode object
Addressed by: https:/
resource-
Addressed by: https:/
Adds new RT unit tests for _sync_compute_node
Addressed by: https:/
Add pci_device_pools to ComputeNode object
Addressed by: https:/
Use migration object in resource_tracker
Addressed by: https:/
Move coverage affecting migrations to test_tracker.py
Addressed by: https:/
objects: introduce numa topology limits objects
Addressed by: https:/
Update some ResizeClaimTestCase tests
Addressed by: https:/
Move ComputeNode creation at init stage in ResourceTracker
Addressed by: https:/
Use compute_node consistently in ResourceTracker
Addressed by: https:/
(Re)Propose: make resource tracker use objects
Addressed by: https:/
Resource tracker: use instance objects for claims
Addressed by: https:/
Cleanups for pci stats in preparation for RT using ComputeNode
Addressed by: https:/
Add nova object equivalence and ComputeNode changes
Addressed by: https:/
Convert RT compute_node to be a ComputeNode object
Addressed by: https:/
Add virt resource update to ComputeNode object
Current changes up for review:
=======
I am guessing, but this looks like it is complete now. --johnthetubaguy 15th July 2015
Functionally this is complete, but there is one small tidy up patch I am doing now to remove conductor_api from resource tracker. -- PaulMurray 15th July 2015
Addressed by: https:/
Remove conductor api from resource tracker
Addressed by: https:/
Fix test_tracker object mocks
Work Items
Work items:
Use flavor object in resource tracker: DONE
Use Service object in resource tracker: DONE
Add host_ip to ComputeNode: DONE
Add supported_instances to ComputeNode: DONE
Add pci_stats to ComputeNode: DONE
Dependency tree

* Blueprints in grey have been implemented.