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.
Reviewed: https:/ /review. opendev. org/712055 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=ff42ff20048 ef3b7d2f8df04ad a8ff4bf7b710e0
Committed: https:/
Submitter: Zuul
Branch: master
commit ff42ff20048ef3b 7d2f8df04ada8ff 4bf7b710e0
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: Ie46da709db0de0 9a9cf641b3c1542 75282f213fc
Closes-Bug: #1866827