No Compute Fanout To Scheduler

Registered by Joe Gordon on 2013-07-24

Remove nova-computes fan-out of capabilities to the schedulers. This data is mostly unused, and the remaining parts that are used should be stored in the database

See https://etherpad.openstack.org/no-compute-fanout-to-scheduler

Blueprint information

Status:
Complete
Approver:
Russell Bryant
Priority:
High
Drafter:
Joe Gordon
Direction:
Approved
Assignee:
Joe Gordon
Definition:
Approved
Series goal:
Accepted for havana
Implementation:
Implemented
Milestone target:
milestone icon 2013.2
Started by
Russell Bryant on 2013-07-24
Completed by
Joe Gordon on 2013-08-30

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/no-compute-fanout-to-scheduler,n,z

Addressed by: https://review.openstack.org/40047
    Fix get_available_resource docstrings

Addressed by: https://review.openstack.org/40044
    Remove dead capabilities code

Addressed by: https://review.openstack.org/40333
    virt: sync get_available_resources and get_host_stats

Addressed by: https://review.openstack.org/40532
    Split out xenapi only part of filters.compute_filter

Addressed by: https://review.openstack.org/40764
    db: Add host_ip and supported_instances to compute_nodes

Addressed by: https://review.openstack.org/40774
    Make affinity_filters use host_ip from DB not RPC

Addressed by: https://review.openstack.org/40994
    Make compute_capabilities_filter use information from DB not RPC

Addressed by: https://review.openstack.org/41216
    Add supported_instances to get_available_resource to all virt drivers

Addressed by: https://review.openstack.org/41551
    Make image_props_filter use information from DB not RPC

Addressed by: https://review.openstack.org/41813
    WIP: remove compute fanout to scheduler

Addressed by: https://review.openstack.org/42873
    Add host_ip to compute_nodes for KVM

Addressed by: https://review.openstack.org/42237
    Make resource_tracker record host_ip

Addressed by: https://review.openstack.org/43913
    Store CONF.baremetal.instance_type_extra_specs in DB

Addressed by: https://review.openstack.org/43928
    Make compute_capabilities_filter use information from DB not RPC

Addressed by: https://review.openstack.org/43938
    Remove capabilities.enabled from test_host_filters

Addressed by: https://review.openstack.org/53798
    Add hypervisor extension for V2 API

Addressed by: https://review.openstack.org/52733
    hypervisor show should also include ip address

Gerrit topic: https://review.openstack.org/#q,topic:bp/rpc-major-version-updates-icehouse,n,z

Addressed by: https://review.openstack.org/55059
    Remove SchedulerDependentManager

Gerrit topic: https://review.openstack.org/#q,topic:hacking-on-planes,n,z

Addressed by: https://review.openstack.org/110044
    Remove 'get_host_stats' virt driver API method

(?)

Work Items

Work items:
Cleanup code rot. remove code that is never used. part of this is shrink currently RPC update to remove unused data. As a baby step to help make things more clear. Hopefully this will result in further simplification of the code at later stages of the blueprint: DONE
Add host_ip and supported_instances into ComputeNode table and move into compute_node_update: DONE
Change scheduler code to get capabilities from the database and not fanout: DONE
Remove capabilities fanout all together: DONE
Remove publish_service_capabilities fanout from scheduler to compute nodes: DONE

This blueprint contains Public information 
Everyone can see this information.