The neutron-sanity-check script should support Linux bridge

Bug #1515796 reported by Matt Kassawara
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Expired
Medium
Unassigned

Bug Description

By default, the neutron-sanity-check script checks for Open vSwitch components and breaks on deployments using the Linux bridge agent. For example:

$ neutron-sanity-check --config-file /etc/neutron/neutron.conf --config-file /etc/neutron
/plugins/ml2/ml2_conf.ini
No handlers could be found for logger "neutron.quota"
2015-11-12 23:38:31.989 7523 INFO neutron.common.config [-] Logging enabled!
2015-11-12 23:38:31.989 7523 INFO neutron.common.config [-] /openstack/venvs/neutron-master/bin/neutron-sanity-check version 8.0.0.dev157
2015-11-12 23:38:31.994 7523 WARNING oslo_config.cfg [-] Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
2015-11-12 23:38:32.394 7523 ERROR neutron.agent.ovsdb.impl_vsctl [-] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-exist', 'add-br', 'patchtest-6fae63', '--', 'set', 'Bridge', 'patchtest-6fae63', 'datapath_type=system'].
2015-11-12 23:38:32.394 7523 ERROR neutron.agent.ovsdb.impl_vsctl Traceback (most recent call last):
2015-11-12 23:38:32.394 7523 ERROR neutron.agent.ovsdb.impl_vsctl File "/openstack/venvs/neutron-master/lib/python2.7/site-packages/neutron/agent/ovsdb/impl_vsctl.py", line 63, in run_vsctl
2015-11-12 23:38:32.394 7523 ERROR neutron.agent.ovsdb.impl_vsctl log_fail_as_error=False).rstrip()
2015-11-12 23:38:32.394 7523 ERROR neutron.agent.ovsdb.impl_vsctl File "/openstack/venvs/neutron-master/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 157, in execute
2015-11-12 23:38:32.394 7523 ERROR neutron.agent.ovsdb.impl_vsctl raise RuntimeError(m)
2015-11-12 23:38:32.394 7523 ERROR neutron.agent.ovsdb.impl_vsctl RuntimeError:
2015-11-12 23:38:32.394 7523 ERROR neutron.agent.ovsdb.impl_vsctl Command: ['sudo', '/openstack/venvs/neutron-master/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--may-exist', 'add-br', 'patchtest-6fae63', '--', 'set', 'Bridge', 'patchtest-6fae63', 'datapath_type=system']
2015-11-12 23:38:32.394 7523 ERROR neutron.agent.ovsdb.impl_vsctl Exit code: 96
2015-11-12 23:38:32.394 7523 ERROR neutron.agent.ovsdb.impl_vsctl
2015-11-12 23:38:32.394 7523 ERROR neutron.agent.ovsdb.impl_vsctl

Tags: linuxbridge
Revision history for this message
Sean M. Collins (scollins) wrote :

Yes, sane people _do_ use Linux Bridge. We should account for that.

Changed in neutron:
status: New → Confirmed
tags: added: linuxbridge
Changed in neutron:
importance: Undecided → Medium
Changed in neutron:
assignee: nobody → Suraj Deshmukh (surajssd009005)
Revision history for this message
Matt Kassawara (ionosphere80) wrote :

Suraj,

I saw your comment on IRC about being new to OpenStack, neutron, and asking for help deploying Devstack. For a new contributor, I think you should try addressing an easier bug.

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

@Matt: I tried to reproduce this on current devstack, but I see no error, can you check whether the issue is still present for you?

Changed in neutron:
assignee: Suraj Deshmukh (surajssd009005) → nobody
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
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.