yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #34947
[Bug 1470637] [NEW] test_assert_bridges_ports_vxlan functional test fails
Public bug reported:
This is caused by too long of a random name on the bridge so the veth
pairs get hashed names that the test isn't expecting.
2015-07-01 17:19:37,656 INFO [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Mapping physical network physnet to bridge br-int857970511
2015-07-01 17:19:37,672 WARNING [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Creating an interface named br-int857970511 exceeds the 15 character limitation. It was shortened to int-br-inb25be8 to fit.
2015-07-01 17:19:37,672 WARNING [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Creating an interface named br-int857970511 exceeds the 15 character limitation. It was shortened to phy-br-inb25be8 to fit.
2015-07-01 17:19:37,743 ERROR [neutron.agent.ovsdb.impl_vsctl] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-exist', 'add-port', 'br-int857970511', 'br-in-patch-tun', '--', 'set', 'Interface', 'br-in-patch-tun', 'type=patch', 'options:peer=br-tu-patch-int'].
Traceback (most recent call last):
File "neutron/agent/ovsdb/impl_vsctl.py", line 63, in run_vsctl
log_fail_as_error=False).rstrip()
File "neutron/agent/linux/utils.py", line 138, in execute
raise RuntimeError(m)
RuntimeError:
Command: ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-exist', 'add-port', 'br-int857970511', 'br-in-patch-tun', '--', 'set', 'Interface', 'br-in-patch-tun', 'type=patch', 'options:peer=br-tu-patch-int']
Exit code: 1
Stdin:
Stdout:
Stderr: ovs-vsctl: "--may-exist add-port br-int857970511 br-in-patch-tun" but br-in-patch-tun is actually attached to bridge br-int811298200
2015-07-01 17:19:37,752 ERROR [neutron.agent.ovsdb.impl_vsctl] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-exist', 'add-port', 'br-tun352940953', 'br-tu-patch-int', '--', 'set', 'Interface', 'br-tu-patch-int', 'type=patch', 'options:peer=br-in-patch-tun'].
Traceback (most recent call last):
File "neutron/agent/ovsdb/impl_vsctl.py", line 63, in run_vsctl
log_fail_as_error=False).rstrip()
File "neutron/agent/linux/utils.py", line 138, in execute
raise RuntimeError(m)
RuntimeError:
Command: ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-exist', 'add-port', 'br-tun352940953', 'br-tu-patch-int', '--', 'set', 'Interface', 'br-tu-patch-int', 'type=patch', 'options:peer=br-in-patch-tun']
Exit code: 1
Stdin:
Stdout:
Stderr: ovs-vsctl: "--may-exist add-port br-tun352940953 br-tu-patch-int" but br-tu-patch-int is actually attached to bridge br-tun804966222
2015-07-01 17:19:37,894 WARNING [neutron.agent.securitygroups_rpc] Driver configuration doesn't match with enable_security_group
}}}
Traceback (most recent call last):
File "neutron/tests/functional/agent/test_l2_ovs_agent.py", line 292, in test_assert_bridges_ports_vxlan
self.assert_bridge_ports()
File "neutron/tests/functional/agent/test_l2_ovs_agent.py", line 203, in assert_bridge_ports
self.assertTrue(self.ovs.port_exists(port))
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/unittest2/case.py", line 702, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true
** Affects: neutron
Importance: Undecided
Assignee: Kevin Benton (kevinbenton)
Status: In Progress
** Changed in: neutron
Assignee: (unassigned) => Kevin Benton (kevinbenton)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1470637
Title:
test_assert_bridges_ports_vxlan functional test fails
Status in OpenStack Neutron (virtual network service):
In Progress
Bug description:
This is caused by too long of a random name on the bridge so the veth
pairs get hashed names that the test isn't expecting.
2015-07-01 17:19:37,656 INFO [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Mapping physical network physnet to bridge br-int857970511
2015-07-01 17:19:37,672 WARNING [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Creating an interface named br-int857970511 exceeds the 15 character limitation. It was shortened to int-br-inb25be8 to fit.
2015-07-01 17:19:37,672 WARNING [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Creating an interface named br-int857970511 exceeds the 15 character limitation. It was shortened to phy-br-inb25be8 to fit.
2015-07-01 17:19:37,743 ERROR [neutron.agent.ovsdb.impl_vsctl] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-exist', 'add-port', 'br-int857970511', 'br-in-patch-tun', '--', 'set', 'Interface', 'br-in-patch-tun', 'type=patch', 'options:peer=br-tu-patch-int'].
Traceback (most recent call last):
File "neutron/agent/ovsdb/impl_vsctl.py", line 63, in run_vsctl
log_fail_as_error=False).rstrip()
File "neutron/agent/linux/utils.py", line 138, in execute
raise RuntimeError(m)
RuntimeError:
Command: ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-exist', 'add-port', 'br-int857970511', 'br-in-patch-tun', '--', 'set', 'Interface', 'br-in-patch-tun', 'type=patch', 'options:peer=br-tu-patch-int']
Exit code: 1
Stdin:
Stdout:
Stderr: ovs-vsctl: "--may-exist add-port br-int857970511 br-in-patch-tun" but br-in-patch-tun is actually attached to bridge br-int811298200
2015-07-01 17:19:37,752 ERROR [neutron.agent.ovsdb.impl_vsctl] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-exist', 'add-port', 'br-tun352940953', 'br-tu-patch-int', '--', 'set', 'Interface', 'br-tu-patch-int', 'type=patch', 'options:peer=br-in-patch-tun'].
Traceback (most recent call last):
File "neutron/agent/ovsdb/impl_vsctl.py", line 63, in run_vsctl
log_fail_as_error=False).rstrip()
File "neutron/agent/linux/utils.py", line 138, in execute
raise RuntimeError(m)
RuntimeError:
Command: ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-exist', 'add-port', 'br-tun352940953', 'br-tu-patch-int', '--', 'set', 'Interface', 'br-tu-patch-int', 'type=patch', 'options:peer=br-in-patch-tun']
Exit code: 1
Stdin:
Stdout:
Stderr: ovs-vsctl: "--may-exist add-port br-tun352940953 br-tu-patch-int" but br-tu-patch-int is actually attached to bridge br-tun804966222
2015-07-01 17:19:37,894 WARNING [neutron.agent.securitygroups_rpc] Driver configuration doesn't match with enable_security_group
}}}
Traceback (most recent call last):
File "neutron/tests/functional/agent/test_l2_ovs_agent.py", line 292, in test_assert_bridges_ports_vxlan
self.assert_bridge_ports()
File "neutron/tests/functional/agent/test_l2_ovs_agent.py", line 203, in assert_bridge_ports
self.assertTrue(self.ovs.port_exists(port))
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/unittest2/case.py", line 702, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1470637/+subscriptions
Follow ups
References