OVS agent will leave compute host in an unsafe state when rpc_setup() fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Stephen Gran | ||
quantum (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Recently we saw a case where startup of the quantum (not yet neutron in our install, although this part of the code hasn't changed) OVS agent on compute hosts was failing due to an unresolvable hostname in the rabbit_host parameter, exiting the agent during setup_rpc(). Unfortunately, on startup the agent reinitialized the OVS flows, so when it exited before making RPC calls, it left the compute host in a state where it wouldn't pass traffic to instances.
My first inclination is to submit a patch moving RPC initialization higher up in __init__, making it fail fast, before it has made any changes to the host system. However, I don't know if this will have knock on effects or be unworkable for some reason I can't see.
Changed in neutron: | |
importance: | Undecided → Medium |
milestone: | none → havana-3 |
tags: | added: ovs |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | havana-3 → 2013.2 |
Changed in quantum (Ubuntu): | |
status: | Fix Committed → Fix Released |
if this problem exists in master branch too, you can fix in master branch
firstly, then consider fix grizzly too
read these links to know about how to contributes /wiki.openstack .org/wiki/ How_To_ Contribute /wiki.openstack .org/wiki/ Gerrit_ Workflow
- https:/
- https:/