yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #35177
[Bug 1473179] Re: neutron-ovs-cleanup fails if there is a bond on br-ex
** Also affects: neutron
Importance: Undecided
Status: New
** Changed in: neutron
Status: New => In Progress
** Changed in: neutron
Assignee: (unassigned) => Dan Prince (dan-prince)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1473179
Title:
neutron-ovs-cleanup fails if there is a bond on br-ex
Status in OpenStack Neutron (virtual network service):
In Progress
Status in tripleo - openstack on openstack:
In Progress
Bug description:
Using some of the TripleO network bond templates we've discoverd that
having any sort of bond on the br-ex bridge causes neutron-ovs-cleanup
to fail like this:
2015-07-09 17:51:07.080 8880 ERROR neutron Traceback (most recent call last):
2015-07-09 17:51:07.080 8880 ERROR neutron File "/bin/neutron-ovs-cleanup", line 10, in <module>
2015-07-09 17:51:07.080 8880 ERROR neutron sys.exit(main())
2015-07-09 17:51:07.080 8880 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/cmd/ovs_cleanup.py", line 100, in main
2015-07-09 17:51:07.080 8880 ERROR neutron ports = collect_neutron_ports(available_configuration_bridges)
2015-07-09 17:51:07.080 8880 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/cmd/ovs_cleanup.py", line 60, in collect_neutron_ports
2015-07-09 17:51:07.080 8880 ERROR neutron ports += [port.port_name for port in ovs.get_vif_ports()]
2015-07-09 17:51:07.080 8880 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/common/ovs_lib.py", line 324, in get_vif_ports
2015-07-09 17:51:07.080 8880 ERROR neutron check_error=True)
2015-07-09 17:51:07.080 8880 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/common/ovs_lib.py", line 142, in db_get_val
2015-07-09 17:51:07.080 8880 ERROR neutron check_error=check_error, log_errors=log_errors)
2015-07-09 17:51:07.080 8880 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/ovsdb/impl_vsctl.py", line 83, in execute
2015-07-09 17:51:07.080 8880 ERROR neutron txn.add(self)
2015-07-09 17:51:07.080 8880 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/ovsdb/api.py", line 70, in __exit__
2015-07-09 17:51:07.080 8880 ERROR neutron self.result = self.commit()
2015-07-09 17:51:07.080 8880 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/ovsdb/impl_vsctl.py", line 50, in commit
2015-07-09 17:51:07.080 8880 ERROR neutron res = self.run_vsctl(args)
2015-07-09 17:51:07.080 8880 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/ovsdb/impl_vsctl.py", line 70, in run_vsctl
2015-07-09 17:51:07.080 8880 ERROR neutron ctxt.reraise = False
2015-07-09 17:51:07.080 8880 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 119, in __exit__
2015-07-09 17:51:07.080 8880 ERROR neutron six.reraise(self.type_, self.value, self.tb)
2015-07-09 17:51:07.080 8880 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/ovsdb/impl_vsctl.py", line 63, in run_vsctl
2015-07-09 17:51:07.080 8880 ERROR neutron log_fail_as_error=False).rstrip()
2015-07-09 17:51:07.080 8880 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 138, in execute
2015-07-09 17:51:07.080 8880 ERROR neutron raise RuntimeError(m)
2015-07-09 17:51:07.080 8880 ERROR neutron RuntimeError:
2015-07-09 17:51:07.080 8880 ERROR neutron Command: ['sudo', 'ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns=external_ids', 'list', 'Interface', 'bond1']
2015-07-09 17:51:07.080 8880 ERROR neutron Exit code: 1
2015-07-09 17:51:07.080 8880 ERROR neutron Stdin:
2015-07-09 17:51:07.080 8880 ERROR neutron Stdout:
2015-07-09 17:51:07.080 8880 ERROR neutron Stderr: ovs-vsctl: no row "bond1" in table Interface
2015-07-09 17:51:07.080 8880 ERROR neutron
2015-07-09 17:51:07.080 8880 ERROR neutron
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1473179/+subscriptions