Cluster grow not showing locality

Bug #1621634 reported by Peter Stachowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Critical
Peter Stachowski

Bug Description

The scenario tests for clusters are occasionally failing when doing a cluster-show after a cluster-grow. This seems to happen because the locality flag on the new instances takes a few seconds (sometimes) to populate. This results in a 'AssertionError: Cluster missing attribute locality.' error in the cluster grow test.

Revision history for this message
Peter Stachowski (peterstac) wrote :

This should fix the gate errors in the Redis scenario run

Changed in trove:
importance: Undecided → Critical
assignee: nobody → Peter Stachowski (peterstac)
milestone: none → next
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/367644
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=3ae00fcf694eced693a94d0d8dea2c852880cc0e
Submitter: Jenkins
Branch: master

commit 3ae00fcf694eced693a94d0d8dea2c852880cc0e
Author: Peter Stachowski <email address hidden>
Date: Thu Sep 8 21:17:38 2016 +0000

    [fix gate] Cluster grow not showing locality

    The scenario tests for clusters are occasionally failing when doing a
    cluster-show after a cluster-grow. This seems to happen because the
    locality flag on the new instances takes a few seconds (sometimes) to
    populate. This results in a 'AssertionError: Cluster missing attribute
    locality.' error in the cluster grow test.

    The fix is to check all the instances for the server_group information
    instead of just the first instance.

    The cluster tests were also tweaked so they could be run separately.

    Change-Id: I4f369231a8f0bc8cad338e2eb1de9cd1ca0253f6
    Closes-Bug: #1621634

Changed in trove:
status: In Progress → Fix Released
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.