commit 55c0787d00d678b2fbfc9e99a6e4b4ce5c9a82ca
Author: Mark Goddard <email address hidden>
Date: Mon Jun 15 16:19:49 2020 +0100
Remove max count from Cinder online schema migration
During an upgrade from Stein to Train, Kolla Ansible fails while running
TASK [cinder : Running Cinder online schema migration]
This is because the `--max_count 10` option is used, which returns 1
while migrations are processed. According to the upgrade documentation,
the command should be rerun while the exit status is 1: https://docs.openstack.org/cinder/train/upgrade.html
This issue was introduced by a change to the image [1] which fixed a bug
in the way that the max count was interpreted, but exposed an issue in
using the max count.
This change fixes the issue by ceasing to pass MAX_NUMBER, which will
cause all migrations to occur in a single pass.
Reviewed: https:/ /review. opendev. org/735617 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=55c0787d00d 678b2fbfc9e99a6 e4b4ce5c9a82ca
Committed: https:/
Submitter: Zuul
Branch: master
commit 55c0787d00d678b 2fbfc9e99a6e4b4 ce5c9a82ca
Author: Mark Goddard <email address hidden>
Date: Mon Jun 15 16:19:49 2020 +0100
Remove max count from Cinder online schema migration
During an upgrade from Stein to Train, Kolla Ansible fails while running
TASK [cinder : Running Cinder online schema migration]
This is because the `--max_count 10` option is used, which returns 1 /docs.openstack .org/cinder/ train/upgrade. html
while migrations are processed. According to the upgrade documentation,
the command should be rerun while the exit status is 1:
https:/
This issue was introduced by a change to the image [1] which fixed a bug
in the way that the max count was interpreted, but exposed an issue in
using the max count.
This change fixes the issue by ceasing to pass MAX_NUMBER, which will
cause all migrations to occur in a single pass.
[1] https:/ /review. opendev. org/#/c/ 712055
Change-Id: Ia786d037f5484f 18294188639c956 d4ed5ffbc2a
Closes-Bug: #1880753