Matchmaking from bare topics to hosts

Registered by Eric Windisch on 2012-03-20

The ZeroMQ RPC driver introduces a concept of pluggable matchmaking for bare topics providing a "get_workers" method. This can be used to find a peer to communicate with, a la "compute.host" rather than sending to a bare topic such as "compute". A similar requirement exists in the scheduler when it pulls a list of all hosts from the database (which feeds from RPC).

This code should be broken out of the ZeroMQ driver and available to other components.

Blueprint information

Status:
Complete
Approver:
Vish Ishaya
Priority:
Low
Drafter:
Eric Windisch
Direction:
Approved
Assignee:
Eric Windisch
Definition:
Approved
Series goal:
Accepted for folsom
Implementation:
Implemented
Milestone target:
milestone icon 2012.2
Started by
Vish Ishaya on 2012-06-04
Completed by
Vish Ishaya on 2012-06-04

Related branches

Sprints

Whiteboard

I'm not totally convinced this will be valuable to the scheduler, but it can't hurt to do a code proposal. Might belong in openstack-common

- agreed on the scheduler bits. Seems there is room to reuse this for the glance server selection (and maybe keystone as well). Will need to go into common as it is a dependency for the ZeroMQ rpc driver. This is largely a proposal to break the code out, so that it might be reused.

Gerrit topic: https://review.openstack.org/#q,topic:bp/host-topic-matchmaking,n,z

Addressed by: https://review.openstack.org/7921
    Implement blueprint host-topic-matchmaking

Addressed by: https://review.openstack.org/7770
    New RPC tests, docstring fixes.

Gerrit topic: https://review.openstack.org/#q,topic:bp/zeromq-rpc-driver,n,z

QA:
-----
Internal - refactoring zero MQ code.
Functional Test impact - None
Let QA know if it otherwise.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.