← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1566520] [NEW] Upgrade controllers with no API downtime

 

Public bug reported:

Currently pretty much every major upgrade requires full shutdown for all
neutron-server instances for the time while upgrade process is running.
The downtime is due to the need to run alembic scripts that modify
schema and transform data. Neutron-server instances are currently not
resilient to working with older schema. We also don't make an effort to
avoid 'contract' migrations.

The goal of the RFE is to allow upgrading controller services one by
one, without full shutdown for all of them in an HA setup. This will
allow to avoid public shutdown for API for rolling upgrades.

The RFE involves:
- adopting object facades for all interaction with database models;
- forbidding contract migrations in alembic;
- implementing new contract migrations in backwards compatible way in runtime.

** Affects: neutron
     Importance: Wishlist
         Status: New


** Tags: rfe

** Changed in: neutron
   Importance: Undecided => Wishlist

** Tags added: rfe

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

Title:
  Upgrade controllers with no API downtime

Status in neutron:
  New

Bug description:
  Currently pretty much every major upgrade requires full shutdown for
  all neutron-server instances for the time while upgrade process is
  running. The downtime is due to the need to run alembic scripts that
  modify schema and transform data. Neutron-server instances are
  currently not resilient to working with older schema. We also don't
  make an effort to avoid 'contract' migrations.

  The goal of the RFE is to allow upgrading controller services one by
  one, without full shutdown for all of them in an HA setup. This will
  allow to avoid public shutdown for API for rolling upgrades.

  The RFE involves:
  - adopting object facades for all interaction with database models;
  - forbidding contract migrations in alembic;
  - implementing new contract migrations in backwards compatible way in runtime.

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


Follow ups