Add comment to online data migration command
One of the requirements of the online data migration command is that they must be able to be run without any Cinder service running in order to support a normal upgrade or a Fast-Forward upgrade. With the introduction of the shared_targets feature we added an online migration that requires the Cinder services to be running (it does RPC calls). To prevent this from happening again this patch adds a comment right above the online_migrations tupple as a reminder for reviewers. Change-Id: I911ddee5a62edc95bedbfd644804abd8b206e957
This commit is contained in:
parent
7eb4e1d0a8
commit
2cd5957c5e
@ -259,6 +259,9 @@ class HostCommands(object):
|
||||
class DbCommands(object):
|
||||
"""Class for managing the database."""
|
||||
|
||||
# NOTE: Online migrations cannot depend on having Cinder services running.
|
||||
# Migrations can be called during Fast-Forward Upgrades without having any
|
||||
# Cinder services up.
|
||||
online_migrations = (
|
||||
# Added in Queens
|
||||
db.service_uuids_online_data_migration,
|
||||
|
Loading…
x
Reference in New Issue
Block a user