Bug 1308639 - neutron-openvswitch-agent service should automatically start openvswitch service
Summary: neutron-openvswitch-agent service should automatically start openvswitch service
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 9.0 (Mitaka)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Jakub Libosvar
QA Contact: Toni Freger
URL:
Whiteboard:
Depends On:
Blocks: 1341468 1341469 1341470
TreeView+ depends on / blocked
 
Reported: 2016-02-15 16:34 UTC by Attila Fazekas
Modified: 2016-06-29 13:59 UTC (History)
7 users (show)

Fixed In Version: openstack-neutron-7.0.4-5.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1341468 1341469 1341470 1341471 (view as bug list)
Environment:
Last Closed: 2016-06-29 13:59:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1353 0 normal SHIPPED_LIVE openstack-neutron bug fix advisory 2016-06-29 17:57:46 UTC

Description Attila Fazekas 2016-02-15 16:34:23 UTC
Description of problem:
Running neutron-openvswitch-agent without locally running openvswitch
does not makes too much sense.

Version-Release number of selected component (if applicable):
openstack-neutron-openvswitch-8.0.0.0b3-dev235


2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib [-] Timed out retrieving ofport on port br-int.
2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib Traceback (most recent call last):
2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib   File "/usr/lib/python2.7/site-packages/neutron/agent/common/ovs_lib.py", line 275, in get_port_ofport
2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib     ofport = self._get_port_ofport(port_name)
2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib   File "/usr/lib/python2.7/site-packages/neutron/agent/common/ovs_lib.py", line 89, in wrapped
2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib     return new_fn(*args, **kwargs)
2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib   File "/usr/lib/python2.7/site-packages/retrying.py", line 68, in wrapped_f
2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib     return Retrying(*dargs, **dkw).call(f, *args, **kw)
2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib   File "/usr/lib/python2.7/site-packages/retrying.py", line 231, in call
2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib     raise RetryError(attempt)
2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib RetryError: RetryError[Attempts: 16, Value: None]
2016-02-15 16:26:14.770 9141 ERROR neutron.agent.common.ovs_lib 
2016-02-15 16:26:14.774 9141 ERROR neutron.agent.ovsdb.impl_vsctl [-] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', 'set-fail-mode', 'br-int', 'secure']. Exception: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)

Comment 2 Assaf Muller 2016-06-01 00:57:04 UTC
Thoughts?

Comment 3 Jakub Libosvar 2016-06-01 07:11:53 UTC
(In reply to Assaf Muller from comment #2)
> Thoughts?

This guy knows what he's talking about. I pushed https://review.rdoproject.org/r/#/c/1253/

We miss it in all versions, I'll clone this BZ.

Comment 7 GenadiC 2016-06-15 06:05:07 UTC
Verified on RHEL7.2 Icehouse, openstack-neutron-2014.1.5-14.el7ost.noarch

Comment 8 GenadiC 2016-06-15 06:56:47 UTC
Updated incorrect bug with verify, at this stage checked only on Icehouse

Comment 9 Toni Freger 2016-06-27 10:44:20 UTC
Verified according to reproduction steps.
openstack-neutron-7.0.4-7.el7ost.noarch

Comment 11 errata-xmlrpc 2016-06-29 13:59:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1353


Note You need to log in before you can comment on or make changes to this bug.