L3DvrTestCase.test_dvr_gateway_host_binding_is_set: MismatchError: u'host0' != u'standby'

Bug #1698058 reported by IWAMOTO Toshihiro
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Kevin Benton

Bug Description

L3DvrTestCase.test_dvr_gateway_host_binding_is_set is recently added in commit abe99383.
It seems to fail often with MismatchError: u'host0' != u'standby'.

Example:
http://logs.openstack.org/63/470063/5/check/gate-neutron-dsvm-functional-ubuntu-xenial/4063789/testr_results.html.gz

Changed in neutron:
status: New → Confirmed
assignee: nobody → Kevin Benton (kevinbenton)
Changed in neutron:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/474466

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/474467

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/474466
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=803f7b85448bbe7fbff8e245913eb3031f5abdc6
Submitter: Jenkins
Branch: master

commit 803f7b85448bbe7fbff8e245913eb3031f5abdc6
Author: Kevin Benton <email address hidden>
Date: Thu Jun 15 00:22:19 2017 -0700

    Fix test_dvr_gateway_host_binding_is_set

    Router scheduling was happening before the schedule call
    so sometimes the router was being scheduled to a different
    host than the test was expecting.

    This fixes it by explicitly setting the router to not be HA
    and calls schedule before adding interfaces that would trigger
    scheduling.

    Closes-Bug: #1698058
    Change-Id: I6c6319f1da72546a9d21af198daf9a2a67e6dec8

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 11.0.0.0b3

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

tags: added: neutron-proactive-backport-potential
tags: removed: neutron-proactive-backport-potential
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.