[ovs-discuss] BUG in OpenVswitch version

Ben Pfaff blp at nicira.com
Sat Feb 7 07:06:01 UTC 2015


Unless you're very lucky no one here will be able to guess what's
wrong.  An error from an OpenStack service is going to be meaningless to
most Open vSwitch experts.  I'd start by trying an appropriate OpenStack
mailing list; once they've dug into the problem, they may direct you
back here with a more specific question.

On Fri, Feb 06, 2015 at 08:02:48PM -0800, masoom alam wrote:
> Hi every one,
> 
> Can any one spot why the following bug will appear in Openstack leaving all
> services of Neutron to unusable state....?
> 
> To give you an idea that I was trying:
> 
> "I tried to configure 173.39.237.0 ip to a VM, with the CIDR 173.39.236.0/23,
> however the OVS gave error and now all the neutron services are completely
> unusable"
> 
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent
> call last):
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent   File
> "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
> line 1197, in rpc_loop
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent     port_info =
> self.scan_ports(ports, updated_ports_copy)
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent   File
> "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
> line 821, in scan_ports
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent
> updated_ports.update(self.check_changed_vlans(registered_ports))
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent   File
> "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
> line 848, in check_changed_vlans
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent     port_tags =
> self.int_br.get_port_tag_dict()
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent   File
> "/opt/stack/neutron/neutron/agent/linux/ovs_lib.py", line 394, in
> get_port_tag_dict
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent     result =
> self.run_vsctl(args, check_error=True)
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent   File
> "/opt/stack/neutron/neutron/agent/linux/ovs_lib.py", line 67, in run_vsctl
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent     return
> utils.execute(full_args, root_helper=self.root_helper)
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent   File
> "/opt/stack/neutron/neutron/agent/linux/utils.py", line 75, in execute
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent     raise
> RuntimeError(m)
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent RuntimeError:
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent Command: ['sudo',
> '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf',
> 'ovs-vsctl', '--timeout=10', '--format=json', '--', '--columns=name,tag',
> 'list', 'Port']
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent Exit code: 1
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent Stdout: ''
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent Stderr: 'Traceback
> (most recent call last):\n  File "/usr/local/bin/neutron-rootwrap", line 4,
> in <module>\n
>  __import__(\'pkg_resources\').require(\'neutron==2013.2.4.dev32\')\n  File
> "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
> 3018, in <module>\n    working_set = WorkingSet._build_master()\n  File
> "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
> 614, in _build_master\n    return
> cls._build_from_requirements(__requires__)\n  File
> "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
> 627, in _build_from_requirements\n    dists = ws.resolve(reqs,
> Environment())\n  File
> "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
> 805, in resolve\n    raise
> DistributionNotFound(req)\npkg_resources.DistributionNotFound:
> alembic<0.6.4,>=0.4.1\n'
> 2015-02-04 05:25:06.993 TRACE
> neutron.plugins.openvswitch.agent.ovs_neutron_agent

> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss




More information about the discuss mailing list