[openstack-dev] BUG in OpenVSwitch Version ovs-vswitchd (Open vSwitch) 1.4.6

Ihar Hrachyshka ihrachys at redhat.com
Mon Feb 9 11:50:12 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/07/2015 05:09 AM, 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 <http://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

It seems you're using Neutron Havana. It's not supported anymore.
Also, I would recommend you to upgrade your openvswitch version since
1.4.6 sounds very old to me. There were huge performance optimizations
in recent version of OVS.

/Ihar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJU2J70AAoJEC5aWaUY1u57VwwIAMBZPH9D0cHUUzdjrhie4dYx
dXTKuo5gAS2FTtsQVjgycmoskft9TX1FGrfHrMg8VEg0m3XnpgCCWD7R7AaTftCA
vfSsNEZJ64mXvjwIBmsQfsX3Ic0mWZQckv2J2ftQ0slXgjhN8cyDiujv6f5Lxav0
yUaSPQpNqmL+bDyxof7YVFjRlq6OlFcnw9SA/9GZvlQhWoBTybVsbdGi161778dT
UyVtv6DvuwPVotZzlWVfhCEkKlHcTN2U+K9O3eHdNrNFYAK3Bznu9zFN7xQOEOKe
YteMU8yWILmA4R4aB8Uir0x0ugOWB5jgmsEMFFTNfPPXR60pkKTtpkF8I2os5nk=
=YVoH
-----END PGP SIGNATURE-----



More information about the OpenStack-dev mailing list