Comment 9 for bug 1866827

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

Reviewed: https://review.opendev.org/715163
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=4696fc0f322bdc4327b0ac4ec58f2ddc9d014ec1
Submitter: Zuul
Branch: stable/stein

commit 4696fc0f322bdc4327b0ac4ec58f2ddc9d014ec1
Author: Gauvain Pocentek <email address hidden>
Date: Tue Mar 10 12:46:17 2020 +0100

    Fix invalid test in cinder data migration script

    The extend_start.sh script for cinder-api uses an incorrect test to
    check if the MAX_NUMBER variable is set. This leads to a incorrect
    cinder-manage command being run if this variable is not set, making the
    database migration fail.

    This change fixes the test to properly use the MAX_NUMBER variable.

    Change-Id: Ie46da709db0de09a9cf641b3c154275282f213fc
    Closes-Bug: #1866827
    (cherry picked from commit ff42ff20048ef3b7d2f8df04ada8ff4bf7b710e0)