Migrate to oslo.messaging

Registered by Angus Salkeld on 2013-12-11

Heat uses oslo-incubator/rpc as an RPC library. During Havana, oslo/rpc was cleaned up and moved into oslo.messaging with a more stable and well-defined API.

As part of the Icehouse release, projects are starting to migrate from the old RPC code to the new one in order to keep consistency throughout OpenStack.

This blueprint tracks the work to port Heat to oslo.messaging. The only user visible change should be that oslo.messaging is a new dependency.

Blueprint information

Status:
Complete
Approver:
Steve Baker
Priority:
Medium
Drafter:
Steve Baker
Direction:
Approved
Assignee:
Thomas Herve
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
Steve Baker on 2014-02-02
Completed by
Thomas Herve on 2014-07-21

Related branches

Sprints

Whiteboard

(sdake) I have a good amount of work here, and am nearly finished with this, but we decided to move this to Juno J1 where this work will be resumed.

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

Addressed by: https://review.openstack.org/72798
    Use olso.messaging

Addressed by: https://review.openstack.org/74606
    Add an iteritems for RequestContext

Addressed by: https://review.openstack.org/75187
    Update oslo.config sample generation tools

Addressed by: https://review.openstack.org/75190
    Update heat.conf.sample using updated config generator

Addressed by: https://review.openstack.org/76052
    Tidy up rpc_client definitions

Addressed by: https://review.openstack.org/77382
    Convert empty filter dictionary to None

Addressed by: https://review.openstack.org/77406
    Always lowercase the action when setting state_reason

Addressed by: https://review.openstack.org/77472
    Update config generator for oslo.messaging

Addressed by: https://review.openstack.org/78101
    Ensure StackNotFound is properly returned to the user

Addressed by: https://review.openstack.org/78886
    Remove decorators for exceptions

Addressed by: https://review.openstack.org/78887
    Refactor stack watching into a separate class

Addressed by: https://review.openstack.org/79138
    Add rpc_init that initialises oslo.messaging

Addressed by: https://review.openstack.org/79139
    Port heat.rpc.client to oslo.messaging

Addressed by: https://review.openstack.org/79140
    Port notifications and service to oslo.messaging

Addressed by: https://review.openstack.org/99648
    Port to oslo.messaging

Addressed by: https://review.openstack.org/100254
    Remove usages of threads in DummyThreadGroup

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.