ovs-agent exception non-existent ports

Bug #1019491 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Aaron Rosen

Bug Description

If a HV is rebooted the tap interfaces connected to br-int are not persistent after rebooted. Then when ovs_quantum_agent starts it issues an "ovs-vsctl list-ports br-int" in order to determine the interfaces attached to br-int. Then, it tries to configure them which causes the following exception:

Traceback (most recent call last):
  File "/opt/stack/quantum/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py", line 502, in daemon_loop
    self.port_bound(p, new_net_uuid, lsw_id)
  File "/opt/stack/quantum/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py", line 318, in port_bound
    self.int_br.delete_flows(in_port=port.ofport)
  File "/opt/stack/quantum/quantum/agent/linux/ovs_lib.py", line 136, in delete_flows
    self.run_ofctl("del-flows", [flow_str])
  File "/opt/stack/quantum/quantum/agent/linux/ovs_lib.py", line 73, in run_ofctl
    return utils.execute(full_args, root_helper=self.root_helper)
  File "/opt/stack/quantum/quantum/agent/linux/utils.py", line 50, in execute
    raise RuntimeError(m)
RuntimeError:

I do not believe this is directly related to: https://bugs.launchpad.net/quantum/+bug/1009215 though the reason for that bug could be along the same lines as this one.

Aaron Rosen (arosen)
tags: added: low-hanging-fruit
Revision history for this message
dan wendlandt (danwent) wrote :

moving to confirmed, as this was reprod. thanks aaron.

Changed in quantum:
status: New → Confirmed
Juliano Martinez (ncode)
Changed in quantum:
assignee: nobody → Juliano Martinez (ncode)
importance: Undecided → Medium
Revision history for this message
Salvatore Orlando (salvatore-orlando) wrote :

Juliano,

are you still working on this bu?

Aaron Rosen (arosen)
Changed in quantum:
assignee: Juliano Martinez (ncode) → Aaron Rosen (arosen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/9803

Changed in quantum:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/9803
Committed: http://github.com/openstack/quantum/commit/a74b3a55ac6d239a04bb6cfe3ba0e1ad825450bf
Submitter: Jenkins
Branch: master

commit a74b3a55ac6d239a04bb6cfe3ba0e1ad825450bf
Author: Aaron Rosen <email address hidden>
Date: Fri Jul 13 19:01:34 2012 -0400

    ovs-agent exception non-existent ports

    Bug #1019491

    Change-Id: Ica3aa3f6c81e4fd062b752867487c89515fb9446

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
milestone: none → folsom-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-3 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.