M/N upgrades - Need to migrate existing full HA to the new HA as deployed in Newton

Bug #1617520 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Michele Baldessari

Bug Description

When upgrading from Mitaka to Newton we currently do not migrate the HA architecture as deployed in Mitaka to the new (lighter) one as deployed by Newton.

Tags: upgrade
tags: added: upgrade
Changed in tripleo:
assignee: nobody → Michele Baldessari (michele)
status: New → In Progress
Changed in tripleo:
assignee: Michele Baldessari (michele) → Emilien Macchi (emilienm)
Changed in tripleo:
assignee: Emilien Macchi (emilienm) → Michele Baldessari (michele)
Changed in tripleo:
milestone: none → newton-rc2
importance: Undecided → High
Revision history for this message
Michele Baldessari (michele) wrote :
Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/358626
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=63421ca73de8ed9a0033706c190bf9a6eca4b582
Submitter: Jenkins
Branch: master

commit 63421ca73de8ed9a0033706c190bf9a6eca4b582
Author: Michele Baldessari <email address hidden>
Date: Fri Aug 26 16:46:44 2016 +0200

    Add a function to upgrade from full HA to NG HA

    This is the initial work to have a function that migrates a full HA
    architecture as deployed in Mitaka to the HA architecture as deployed in
    Newton where only a few resources are managed by pacemaker.

    The sequence is the following:
    1) We remove the desired services from pacemaker's control. The services
       at this point are still running normally via the systemd service as
       invoked by pacemaker
    2) We do a "systemctl stop <service>" on all controllers for all the
       services that were removed from pacemaker's control. We do this to make
       sure that during the yum upgrade, the %post sections that call
       "systemctl try-restart" do not take ages, because at this point during
       the upgrade rabbit is down. The only exceptions are "openstack-core"
       and "delay" which are dummy pacemaker resources that do not exist on
       the system
    3) We do a "systemctl start <service>" on all nodes for all the services
       mentioned above.

    We should probably merge this patch only when newton has branched as it
    is very specific to the M/N upgrade.

    Closes-Bug: 1617520
    Change-Id: I4c409ce58c1a57b6e0decc3cf168b62698b32e39

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0rc2

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0.0rc2 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.