[Newton] During major-upgrade-pacemaker we should also enable the services migrated to systemd

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

Bug Description

During the "major-upgrade-pacemaker" step we basically do the following:
1) For all the OSP9-mitaka pacemaker services we first delete any constraints and then disable and then delete the pacemaker resource from the cluster CIB
https://github.com/openstack/tripleo-heat-templates/blob/stable/newton/extraconfig/tasks/major_upgrade_pacemaker_migrations.sh#L67-L99 [A]
2) We then update all packages via yum
3) Then we start all the services.

In 3) we do this:
for service in $services; do
    manage_systemd_service start "${service%%-clone}"
    check_resource_systemd "${service%%-clone}" started 600
done

We also want to explicitly enable the service so that if a reboot happens before the convergence step the controller node will come up with the services being enabled.

Revision history for this message
Michele Baldessari (michele) wrote :
tags: added: upgrade
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/451512

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/451512
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=a7e6dcdb552fb93d84fbd06ba5bb3543ec3c1c62
Submitter: Jenkins
Branch: stable/newton

commit a7e6dcdb552fb93d84fbd06ba5bb3543ec3c1c62
Author: Michele Baldessari <email address hidden>
Date: Wed Mar 29 20:45:43 2017 +0200

    [Newton-only] Enable services in the major-upgrade-pacemaker step

    During the "major-upgrade-pacemaker" step we basically do the following:
    1) For all the OSP9-mitaka pacemaker services we first delete any
    constraints and then disable and then delete the pacemaker resource from
    the cluster CIB https://github.com/openstack/tripleo-heat-templates/blob/stable/newton/extraconfig/tasks/major_upgrade_pacemaker_migrations.sh#L67-L99
    2) We then update all packages via yum
    3) Then we start all the services.

    In 3) we do this:
    for service in $services; do
        manage_systemd_service start "${service%%-clone}"
        check_resource_systemd "${service%%-clone}" started 600
    done

    We also want to explicitly enable the service so that if a reboot
    happens before the convergence step the controller node will come up
    with the services being enabled.

    Change-Id: Ie163e5f1d24b23b46092a9a3cb844fcb4e810f7b
    Closes-Bug: #1677346

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.3.0

This issue was fixed in the openstack/tripleo-heat-templates 5.3.0 release.

Changed in tripleo:
status: Triaged → Fix Released
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.