openvswitch agent logs ERROR when a port to be tagged is gone

Bug #1407601 reported by Miguel Angel Ajo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Medium
Miguel Angel Ajo

Bug Description

tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_building_state
can produce in openvswitch agent log, errors like:
2015-01-05 05:46:34.712 30809 DEBUG neutron.agent.linux.utils [req-95a486ae-8fc5-4e08-b90a-1080663f770b None]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', '--format=json', '--', '--columns=external_ids,name,ofport', 'find', 'Interface', 'external_ids:iface-id="34e73ef0-34a9-4ba1-95a8-5529c4d5b9ee"']
Exit code: 0
Stdout: '{"data":[[["map",[["attached-mac","fa:16:3e:37:be:0d"],["iface-id","34e73ef0-34a9-4ba1-95a8-5529c4d5b9ee"],["iface-status","active"],["vm-uuid","de2dbf79-9b4b-4804-a338-bbde2a827834"]]],"qvo34e73ef0-34",12]],"headings":["external_ids","name","ofport"]}\n'
Stderr: '' execute /opt/stack/new/neutron/neutron/agent/linux/utils.py:81
2015-01-05 05:46:34.713 30809 DEBUG neutron.agent.linux.utils [req-95a486ae-8fc5-4e08-b90a-1080663f770b None] Running command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', 'iface-to-br', 'qvo34e73ef0-34'] create_process /opt/stack/new/neutron/neutron/agent/linux/utils.py:48
2015-01-05 05:46:35.104 30809 DEBUG neutron.agent.linux.utils [req-95a486ae-8fc5-4e08-b90a-1080663f770b None]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', 'iface-to-br', 'qvo34e73ef0-34']
Exit code: 0
Stdout: 'br-int\n'
Stderr: '' execute /opt/stack/new/neutron/neutron/agent/linux/utils.py:81
2015-01-05 05:46:35.105 30809 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-95a486ae-8fc5-4e08-b90a-1080663f770b None] Port 34e73ef0-34a9-4ba1-95a8-5529c4d5b9ee updated. Details: {u'profile': {}, u'admin_state_up': True, u'network_id': u'd130d030-c723-49eb-8958-9372d87beea0', u'segmentation_id': 1003, u'device_owner': u'compute:None', u'physical_network': None, u'mac_address': u'fa:16:3e:37:be:0d', u'device': u'34e73ef0-34a9-4ba1-95a8-5529c4d5b9ee', u'port_id': u'34e73ef0-34a9-4ba1-95a8-5529c4d5b9ee', u'fixed_ips': [{u'subnet_id': u'68285500-2be6-49da-bf40-62c78238400f', u'ip_address': u'10.100.0.2'}], u'network_type': u'vxlan'}
2015-01-05 05:46:35.105 30809 DEBUG neutron.agent.linux.utils [req-95a486ae-8fc5-4e08-b90a-1080663f770b None] Running command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', 'get', 'Port', 'qvo34e73ef0-34', 'tag'] create_process /opt/stack/new/neutron/neutron/agent/linux/utils.py:48
2015-01-05 05:46:35.390 30809 DEBUG neutron.agent.linux.ovsdb_monitor [-] Output received from ovsdb monitor: {"data":[["ee671012-f4fc-4201-9140-e895f54cfd2f","delete","qvo34e73ef0-34",12]],"headings":["row","action","name","ofport"]}
 _read_stdout /opt/stack/new/neutron/neutron/agent/linux/ovsdb_monitor.py:45
2015-01-05 05:46:35.506 30809 ERROR neutron.agent.linux.utils [req-95a486ae-8fc5-4e08-b90a-1080663f770b None]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', 'get', 'Port', 'qvo34e73ef0-34', 'tag']
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: no row "qvo34e73ef0-34" in table Port\n'
2015-01-05 05:46:35.507 30809 ERROR neutron.agent.linux.ovs_lib [req-95a486ae-8fc5-4e08-b90a-1080663f770b None] Unable to execute ['ovs-vsctl', '--timeout=10', 'get', 'Port', u'qvo34e73ef0-34', 'tag']. Exception:
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', 'get', 'Port', 'qvo34e73ef0-34', 'tag']
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: no row "qvo34e73ef0-34" in table Port\n'
2015-01-05 05:46:35.507 30809 DEBUG neutron.agent.linux.utils [req-95a486ae-8fc5-4e08-b90a-1080663f770b None] Running command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', 'set', 'Port', 'qvo34e73ef0-34', 'tag=4'] create_process /opt/stack/new/neutron/neutron/agent/linux/utils.py:48
2015-01-05 05:46:35.983 30809 ERROR neutron.agent.linux.utils [req-95a486ae-8fc5-4e08-b90a-1080663f770b None]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', 'set', 'Port', 'qvo34e73ef0-34', 'tag=4']
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: no row "qvo34e73ef0-34" in table Port\n'
2015-01-05 05:46:35.983 30809 ERROR neutron.agent.linux.ovs_lib [req-95a486ae-8fc5-4e08-b90a-1080663f770b None] Unable to execute ['ovs-vsctl', '--timeout=10', 'set', 'Port', u'qvo34e73ef0-34', 'tag=4']. Exception:
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', 'set', 'Port', 'qvo34e73ef0-34', 'tag=4']
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: no row "qvo34e73ef0-34" in table Port\n'
2015-01-05 05:46:35.984 30809 DEBUG neutron.agent.linux.utils [req-95a486ae-8fc5-4e08-b90a-1080663f770b None] Running command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'del-flows', 'br-int', '-'] create_process /opt/stack/new/neutron/neutron/agent/linux/utils.py:48
2015-01-05 05:46:36.292 30809 DEBUG neutron.context [req-77317ebe-67e0-4642-82f1-40d95b7a990c None] Arguments dropped when creating context: {u'project_id': u'2902811811f541d096c41a2277034cee', u'project_name': u'SecurityGroupsTestJSON-1640842646', u'user': u'93ba7817ba5442cdbd2f2c87416f3e57', u'tenant': u'2902811811f541d096c41a2277034cee'} __init__ /opt/stack/new/neutron/neutron/context.py:83
2015-01-05 05:46:36.292 30809 DEBUG neutron.agent.securitygroups_rpc [req-77317ebe-67e0-4642-82f1-40d95b7a990c None] Security group member updated on remote: [u'47e4f4a8-0355-4161-b845-3f8544c16f23', u'98d94ca2-20f4-43e0-aea3-afbf23d60e1d', u'f58070f5-c682-4bbc-bbdd-de8a1d59a3a3'] security_groups_member_updated /opt/stack/new/neutron/neutron/agent/securitygroups_rpc.py:135
2015-01-05 05:46:36.292 30809 INFO neutron.agent.securitygroups_rpc [req-77317ebe-67e0-4642-82f1-40d95b7a990c None] Security group member updated [u'47e4f4a8-0355-4161-b845-3f8544c16f23', u'98d94ca2-20f4-43e0-aea3-afbf23d60e1d', u'f58070f5-c682-4bbc-bbdd-de8a1d59a3a3']
2015-01-05 05:46:36.292 30809 DEBUG neutron.agent.securitygroups_rpc [req-77317ebe-67e0-4642-82f1-40d95b7a990c None] Adding [u'34e73ef0-34a9-4ba1-95a8-5529c4d5b9ee'] devices to the list of devices for which firewall needs to be refreshed _security_group_updated /opt/stack/new/neutron/neutron/agent/securitygroups_rpc.py:260

This should be captured and reported as a WARNING instead.

Tags: ovs
Changed in neutron:
assignee: nobody → Miguel Angel Ajo (mangelajo)
Changed in neutron:
importance: Undecided → Medium
status: New → Confirmed
tags: added: ovs
description: updated
Revision history for this message
Rossella Sblendido (rossella-o) wrote :

This doesn't happen any more ...marking it as invalid

Changed in neutron:
status: Confirmed → Invalid
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.