692f289a32
When performing a skip version upgrade from a release earlier than Pike, Ironic will crash when check_versions cannot find the 'version' columns in the database. This change adds a safety check which detects old database version missing the 'version' columns. Instead of crashing, it will inform the user that skip version upgrades are not supported and that database migrations need to be run for each skipped versions instead. Story: 2002558 Task: 22122 Change-Id: Ifa100c6fd168fc59b56bba0c41836958b10f2d47
12 lines
612 B
YAML
12 lines
612 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Better handles the case when an operator attempts to perform an upgrade
|
|
from a release older than Pike, directly to a release newer than Pike,
|
|
skipping one or more releases in between (i.e. a "skip version upgrade").
|
|
Instead of crashing, the operator will be informed that
|
|
upgrading from a version older than the previous release is not supported
|
|
(skip version upgrades) and that (as of Pike) all database migrations need
|
|
to be performed using the previous releases for a fast-forward upgrade.
|
|
[Bug `2002558 <https://storyboard.openstack.org/#!/story/2002558>`_]
|