Merge lp:~jk0/nova/lp661472 into lp:~hudson-openstack/nova/trunk
Proposed by
Josh Kearney
Status: | Merged |
---|---|
Merge reported by: | Josh Kearney |
Merged at revision: | not available |
Proposed branch: | lp:~jk0/nova/lp661472 |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
43 lines (+16/-3) 1 file modified
nova/rpc.py (+16/-3) |
To merge this branch: | bzr merge lp:~jk0/nova/lp661472 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vish Ishaya (community) | Approve | ||
Joshua McKenty (community) | Approve | ||
Review via email: mp+41373@code.launchpad.net |
Commit message
Check for running AMQP instances.
Description of the change
Fixes bug #661472.
To post a comment you must log in.
A couple of issues issues:
1. This won't pass pep8
2. We may need something better than time.sleep(30) on fetch. This will block the reactor while we're waiting to reconnect, stopping us from doing any other work like checking the current state of the instances and doing recovery or updating the db. Is there a reason we can't keep the failed connection flag and just add the self.declare() to the existing code?