ovsdb-monitor fails to connect to tcp port when vsctl driver is used

Bug #1669893 reported by Ihar Hrachyshka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Terry Wilson

Bug Description

It can be spotted in some functional test runs where vsctl flavours of tests are triggered before any native flavored test enables the manager port for tcp. For example,

http://logs.openstack.org/18/441218/1/check/gate-neutron-dsvm-functional-ubuntu-xenial/08292fe/logs/dsvm-functional-logs/neutron.tests.functional.agent.l2.extensions.test_ovs_agent_qos_extension.TestOVSAgentQosExtension.test_policy_rule_delete_vsctl_.txt.gz#_2017-03-03_16_53_30_358

This is because of https://review.openstack.org/#/c/407813/ that assumed that we use native.

Changed in neutron:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Terry Wilson (otherwiseguy)
tags: added: functional-tests gate-failure ovs
Changed in neutron:
status: Confirmed → In Progress
Changed in neutron:
assignee: Terry Wilson (otherwiseguy) → Ihar Hrachyshka (ihar-hrachyshka)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/441447
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6975e2a48e85a5f0f198e2af3e99bc06dd409eaa
Submitter: Jenkins
Branch: master

commit 6975e2a48e85a5f0f198e2af3e99bc06dd409eaa
Author: Terry Wilson <email address hidden>
Date: Fri Mar 3 14:00:39 2017 -0600

    Ensure ovsdb_connection enabled before calling monitor

    ovsdb-client monitor attempts to connect to ovs via the
    ovsdb_connection if it is set. Since it is set by default, we need
    to ensure that OVS is listening on the socket before calling
    ovsdb-client monitor.

    Closes-Bug: #1669893
    Depends-On: Ibde5417d005265d27e939ca29788c21f73b38980
    Change-Id: Ia34b9d599b522dd12ef088100c2b68a75a78d797

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/442799

Changed in neutron:
assignee: Ihar Hrachyshka (ihar-hrachyshka) → Terry Wilson (otherwiseguy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/ocata)

Reviewed: https://review.openstack.org/442799
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ae20437e984d89600f111f5b338e1ec3825c2e03
Submitter: Jenkins
Branch: stable/ocata

commit ae20437e984d89600f111f5b338e1ec3825c2e03
Author: Terry Wilson <email address hidden>
Date: Fri Mar 3 14:00:39 2017 -0600

    Ensure ovsdb_connection enabled before calling monitor

    ovsdb-client monitor attempts to connect to ovs via the
    ovsdb_connection if it is set. Since it is set by default, we need
    to ensure that OVS is listening on the socket before calling
    ovsdb-client monitor.

    Closes-Bug: #1669893
    Depends-On: Ibde5417d005265d27e939ca29788c21f73b38980
    Change-Id: Ia34b9d599b522dd12ef088100c2b68a75a78d797
    (cherry picked from commit 6975e2a48e85a5f0f198e2af3e99bc06dd409eaa)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 10.0.1

This issue was fixed in the openstack/neutron 10.0.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 11.0.0.0b1

This issue was fixed in the openstack/neutron 11.0.0.0b1 development milestone.

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.