← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1519118] Re: No way to determine whether contract migrations are pending

 

Reviewed:  https://review.openstack.org/248190
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=eb084af29da6b8b9bb5608f294acaaa44f923895
Submitter: Jenkins
Branch:    master

commit eb084af29da6b8b9bb5608f294acaaa44f923895
Author: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
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
    'neutron-db-manage' tool. The command determines whether full
    neutron-server shutdown is needed for database upgrade.
    
    Closes-Bug: #1519118
    Change-Id: I7c5a4882ad4f80459ebe69c9a9c43cc60ce50200
    Co-Authored-By: Martin Hickey <martin.hickey@xxxxxxxxxx>


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1519118

Title:
  No way to determine whether contract migrations are pending

Status in neutron:
  Fix Released

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://github.com/openstack/openstack-
  ansible/blob/aa9230b5a5cdf0e7baf57b5fb8fc6e149912b0fa/playbooks/roles/os_neutron/library/neutron_migrations_facts#L162

  We should accommodate those users that want to utilize the benefits of
  split branches in production with a simple CLI command.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1519118/+subscriptions


References