Port to oslo.messaging

Registered by Mark McLoughlin

The oslo.messaging library is the evolution of the oslo-incubator RPC code into a stable API.

This blueprint tracks the work to port Nova to oslo.messaging.

The only user visible change should be that oslo.messaging is a new dependency.

Blueprint information

Status:
Complete
Approver:
Russell Bryant
Priority:
High
Drafter:
Mark McLoughlin
Direction:
Approved
Assignee:
Mark McLoughlin
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Mark McLoughlin
Completed by
Russell Bryant

Related branches

Sprints

Whiteboard

Addressed by: https://review.openstack.org/39929
    Start porting to oslo.messaging

Addressed by: https://review.openstack.org/40237
    Port all rpcapi modules to oslo.messaging interface

Addressed by: https://review.openstack.org/41723
    Remove use of fake_rabbit in Nova

Addressed by: https://review.openstack.org/40355
    Remove clear_rabbit_queues script

Addressed by: https://review.openstack.org/40402
    Don't pass RPC connection to pre_start_hook

Addressed by: https://review.openstack.org/42432
    Add CastAsCall fixture

Addressed by: https://review.openstack.org/42433
    Fix api samples image service stub

Addressed by: https://review.openstack.org/42434
    Add add_aggregate_to_host() to FakeDriver

Addressed by: https://review.openstack.org/42435
    Fix remove_fixed_ip test with CastAsCall

Addressed by: https://review.openstack.org/42436
    Stub out attach_volume() in test_api_samples

Addressed by: https://review.openstack.org/42437
    Enable CastAsCall for test_api_samples

Addressed by: https://review.openstack.org/42743
    Pop extra keys from context in from_dict()

Addressed by: https://review.openstack.org/42744
    Don't initialize neutronv2 state at module import

Addressed by: https://review.openstack.org/42745
    Use ExceptionHelper to bypass @client_exceptions

Addressed by: https://review.openstack.org/42746
    Remove instance exists check from rebuild_instance

Addressed by: https://review.openstack.org/42747
    Enable consoleauth service during ec2 tests

Addressed by: https://review.openstack.org/42748
    Stub out more net API methods floating IP DNS test

Addressed by: https://review.openstack.org/42749
    Stub out net API sooner in servers API test

Addressed by: https://review.openstack.org/42750
    Stubout deallocate_for_instance() in compute tests

Addressed by: https://review.openstack.org/42751
    Remove unused variables in test_compute_cells

Addressed by: https://review.openstack.org/42752
    Stubout reserve_block_device_name() in test

Addressed by: https://review.openstack.org/42753
    Fix get_diagnostics() test for no compute consumer

Addressed by: https://review.openstack.org/42754
    Fix live migration test for no scheduler running

Addressed by: https://review.openstack.org/42755
    Stub out setup_networks_on_host() in compute tests

Addressed by: https://review.openstack.org/42756
    Fix rpc calls on pre/post live migration tests

Addressed by: https://review.openstack.org/42757
    Fix confirm_resize() mock in compute tests

Addressed by: https://review.openstack.org/42758
    Stub out instance_fault_create() in compute tests

Addressed by: https://review.openstack.org/42759
    Stub out get_console_topic() in test_create_console

Addressed by: https://review.openstack.org/42760
    Fix network manager tests to use correct network host

Addressed by: https://review.openstack.org/42761
    Fix spice/vnc console api samples tests

Addressed by: https://review.openstack.org/42762
    Raise timeout in fake RPC if no consumers found

Addressed by: https://review.openstack.org/41070
    Clean up some unused wrap_exception() stuff

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

Addressed by: https://review.openstack.org/43088
    Fix fake image_service import in v3 test_disk_config

Addressed by: https://review.openstack.org/42430
    Remove unused fake run_instance() method

Addressed by: https://review.openstack.org/42431
    Remove unused nova.tests.image.fake code

Addressed by: https://review.openstack.org/42765
    Disable periodic tasks during integration tests

Addressed by: https://review.openstack.org/43514
    Mock out action event calls in build instance test

Addressed by: https://review.openstack.org/43618
    Avoid swallowing exceptions in _allocate_fixed_ips()

Addressed by: https://review.openstack.org/43957
    Use ExceptionHelper to bypass @client_exceptions

Addressed by: https://review.openstack.org/43970
    Stub out instance_update() in build instance tests

Addressed by: https://review.openstack.org/44249
    Remove unused fake run_instance() method

Addressed by: https://review.openstack.org/44376
    DRY up use of @wrap_exception() decorator

Addressed by: https://review.openstack.org/44377
    Port to oslo.messaging.Notifier API

Addressed by: https://review.openstack.org/51084
    Testing @markmc's patch - Port to oslo.messaging (IGNORE THIS!)

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

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.