Merge lp:~cbehrens/nova/rpc-kombu into lp:~hudson-openstack/nova/trunk
Proposed by
Chris Behrens
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Soren Hansen | ||||||||||||
Approved revision: | 1529 | ||||||||||||
Merged at revision: | 1513 | ||||||||||||
Proposed branch: | lp:~cbehrens/nova/rpc-kombu | ||||||||||||
Merge into: | lp:~hudson-openstack/nova/trunk | ||||||||||||
Diff against target: |
1853 lines (+1262/-330) 17 files modified
bin/nova-ajax-console-proxy (+6/-6) contrib/nova.sh (+1/-1) nova/flags.py (+6/-2) nova/rpc/__init__.py (+17/-26) nova/rpc/common.py (+6/-0) nova/rpc/impl_carrot.py (+81/-21) nova/rpc/impl_kombu.py (+781/-0) nova/service.py (+11/-21) nova/tests/test_adminapi.py (+0/-2) nova/tests/test_cloud.py (+0/-2) nova/tests/test_rpc.py (+6/-158) nova/tests/test_rpc_amqp.py (+0/-88) nova/tests/test_rpc_carrot.py (+45/-0) nova/tests/test_rpc_common.py (+189/-0) nova/tests/test_rpc_kombu.py (+110/-0) nova/tests/test_test.py (+2/-3) tools/pip-requires (+1/-0) |
||||||||||||
To merge this branch: | bzr merge lp:~cbehrens/nova/rpc-kombu | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan Prince (community) | Approve | ||
Zed A. Shaw (community) | Approve | ||
Brian Lamar (community) | Needs Information | ||
Vish Ishaya (community) | Approve | ||
Joseph Heck (community) | Approve | ||
Dave Walker | Pending | ||
Review via email: mp+73096@code.launchpad.net |
Description of the change
Implements lp:798876 which is 'switch carrot to kombu'. Leaves carrot as the default for now... decision will be made later to switch the default to kombu after further testing. There's a lot of code duplication between carrot and kombu, but I left it that way in preparation for ripping carrot out later and to keep minimal changes to carrot.
This also fixes bug: lp:794627 (re-establish connections to carrot when it restarts), but only fixes it in kombu.
This also fixes bug: lp:803168 (msg-id response queues being left around), but also only fixes it in kombu.
See those bugs for comments.
To post a comment you must log in.
One question I have is... carrot would call sys.exit() when it couldn't connect to rabbit after so many attempts. I left this in when handling lp:794627, but it seems I should probably make it try to re-connect forever. Thoughts?