No way to determine whether contract migrations are pending
Bug #1519118 reported by
Ihar Hrachyshka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Martin Hickey |
Bug Description
It's needed because depending on that fact operators may need to proceed with full shutdown of their API services, or may skip such high impact step in upgrade procedures.
Ansible playbooks for neutron already rely on some hacky way to determine that: https:/
We should accommodate those users that want to utilize the benefits of split branches in production with a simple CLI command.
Changed in neutron: | |
assignee: | nobody → Ihar Hrachyshka (ihar-hrachyshka) |
tags: | added: db |
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
assignee: | Ihar Hrachyshka (ihar-hrachyshka) → Martin Hickey (martin-hickey) |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/248190 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=eb084af29da 6b8b9bb5608f294 acaaa44f923895
Committed: https:/
Submitter: Jenkins
Branch: master
commit eb084af29da6b8b 9bb5608f294acaa a44f923895
Author: Ihar Hrachyshka <email address hidden>
Date: Fri Nov 20 18:23:08 2015 +0100
neutron- db-manage: add has_offline_ migrations command
This command should be used by operators and deployment tools to
determine whether full neutron-server shutdown is needed for database
upgrade.
The change also makes neutron-db-manage tool to return the cumulative
result of commands being issued (in most cases it will still be 0 only,
since our command handlers implicitly return None).
DocImpact: Update doc to add new command 'has_offline_ migrations' to db-manage' tool. The command determines whether full
'neutron-
neutron-server shutdown is needed for database upgrade.
Closes-Bug: #1519118 459ebe69c9a9c43 cc60ce50200
Change-Id: I7c5a4882ad4f80
Co-Authored-By: Martin Hickey <email address hidden>