Functional gate broken due to configure_for_func_testing.sh inability to configure DB backends

Bug #1505259 reported by Assaf Muller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Assaf Muller

Bug Description

After https://review.openstack.org/#/c/233106/ was merged to Devstack, the configure_for_func_testing.sh script is unable to configure both DB backends, and test setup eventually fails as such:
http://logs.openstack.org/68/233068/5/check/gate-neutron-dsvm-functional/6c27c46/console.html#_2015-10-12_13_29_18_446

This happens because the Postgres disable is successful, but the Postgres enable is ignored by Devstack. The issue is here:
https://github.com/openstack/neutron/blob/master/tools/configure_for_func_testing.sh#L127

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/233667

Changed in neutron:
assignee: nobody → Assaf Muller (amuller)
status: New → In Progress
tags: added: gate-failure
Changed in neutron:
assignee: Assaf Muller (amuller) → Armando Migliaccio (armando-migliaccio)
Changed in neutron:
assignee: Armando Migliaccio (armando-migliaccio) → Assaf Muller (amuller)
Changed in neutron:
assignee: Assaf Muller (amuller) → Armando Migliaccio (armando-migliaccio)
Changed in neutron:
assignee: Armando Migliaccio (armando-migliaccio) → Assaf Muller (amuller)
Changed in neutron:
assignee: Assaf Muller (amuller) → Armando Migliaccio (armando-migliaccio)
Changed in neutron:
assignee: Armando Migliaccio (armando-migliaccio) → Assaf Muller (amuller)
Changed in neutron:
assignee: Assaf Muller (amuller) → Ihar Hrachyshka (ihar-hrachyshka)
Assaf Muller (amuller)
Changed in neutron:
assignee: Ihar Hrachyshka (ihar-hrachyshka) → Assaf Muller (amuller)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/233667
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8a9de547ed4a15b9ac0eb0d085025d7c97fbf594
Submitter: Jenkins
Branch: master

commit 8a9de547ed4a15b9ac0eb0d085025d7c97fbf594
Author: Assaf Muller <email address hidden>
Date: Mon Oct 12 10:40:49 2015 -0400

    Remove disable_service from DBs configuration

    Remove disable_service from configure_for_func_testing.
    A recent Devstack patch (Linked in bug report) checks
    that a disabled service is not enabled later. This breaks
    the code this patch touches. I believe the DBs were disabled
    and enabled with the assumption that Devstack expects only
    a single DB to be configured at a time, but that doesn't
    seem to be the case. Simply removing the disable calls seems
    to work fine.

    Also exclude oslo.messaging==2.6.0 as per global-requirements.txt.

    Closes-Bug: #1505259
    Closes-Bug: #1505295

    Depends-On: I47ab12f719fba41c2f0c03047b05eb28f4423682
    Change-Id: I0fbcc1218e1aa9adbf89f6121c1c2e224ed93cab

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron 8.0.0.0b1

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

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

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/336076

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

Reviewed: https://review.openstack.org/336076
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=49f0432cf387edac81cef8e3781a64ec1d1031a6
Submitter: Jenkins
Branch: stable/liberty

commit 49f0432cf387edac81cef8e3781a64ec1d1031a6
Author: Assaf Muller <email address hidden>
Date: Mon Oct 12 10:40:49 2015 -0400

    Remove disable_service from DBs configuration

    Remove disable_service from configure_for_func_testing.
    A recent Devstack patch (Linked in bug report) checks
    that a disabled service is not enabled later. This breaks
    the code this patch touches. I believe the DBs were disabled
    and enabled with the assumption that Devstack expects only
    a single DB to be configured at a time, but that doesn't
    seem to be the case. Simply removing the disable calls seems
    to work fine.

    Closes-Bug: #1505259
    Closes-Bug: #1505295

    Conflicts:
     requirements.txt

    Depends-On: I47ab12f719fba41c2f0c03047b05eb28f4423682
    Change-Id: I0fbcc1218e1aa9adbf89f6121c1c2e224ed93cab
    (cherry picked from commit 8a9de547ed4a15b9ac0eb0d085025d7c97fbf594)

tags: added: in-stable-liberty
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 7.1.2

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

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.