diff options
| -rw-r--r-- | docker/cinder/cinder-api/extend_start.sh | 2 | ||||
| -rw-r--r-- | releasenotes/notes/bug-1866827-5351ec43486d7f33.yaml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/docker/cinder/cinder-api/extend_start.sh b/docker/cinder/cinder-api/extend_start.sh index cc0fd43f2..353983a95 100644 --- a/docker/cinder/cinder-api/extend_start.sh +++ b/docker/cinder/cinder-api/extend_start.sh @@ -9,7 +9,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then fi if [[ "${!KOLLA_OSM[@]}" ]]; then - if [[ -z ${MAX_NUMBER} ]]; then + if [[ "${!MAX_NUMBER[@]}" ]]; then cinder-manage db online_data_migrations --max_count ${MAX_NUMBER} else cinder-manage db online_data_migrations diff --git a/releasenotes/notes/bug-1866827-5351ec43486d7f33.yaml b/releasenotes/notes/bug-1866827-5351ec43486d7f33.yaml new file mode 100644 index 000000000..63fae75ec --- /dev/null +++ b/releasenotes/notes/bug-1866827-5351ec43486d7f33.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes the MAX_NUMBER variable usage when running the database online + migrations for cinder. |
