serial shouldn't be used during upgrade and reconfigure

Bug #1668185 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Jeffrey Zhang
Ocata
Fix Released
Undecided
Jeffrey Zhang

Bug Description

most of the services are stateful, or depend on database.

it will cause issue when upgrade one of the services with others remain old.
for example if upgrade one nova-api to ocata, it can not read the DB schema successfully. and it can not send message through MQ, because the message struct is different.

On the other hand, if we upgrade the database and upgrade nova-api one by one, it will still cause the same issue.

serial is introduce for smooth upgrading. But apparently, it do not work as expected.

smooth upgrading should be handled by each roles rather than ansible serial feature.

Changed in kolla-ansible:
milestone: none → pike-1
Revision history for this message
Paul Bourke (pauldbourke) wrote :

This feels like a blueprint

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

but this blocks upgrade from newton to Ocata.

Changed in kolla-ansible:
assignee: nobody → Jeffrey Zhang (jeffrey4l)
Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/442974
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=cad7fc35f72b588b28b19198bc0a07669bbb8a39
Submitter: Jenkins
Branch: master

commit cad7fc35f72b588b28b19198bc0a07669bbb8a39
Author: Jeffrey Zhang <email address hidden>
Date: Wed Mar 8 15:04:48 2017 +0800

    Disable running playbooks in serial by default

    Run playbooks in serial are unnecessary and may cause some issue. This
    patch disables serial.

    This patch also removes the serial for MariaDB playbook. MariaDB handle
    this internally.

    Partial-Bug: #1668185
    Change-Id: I3b4216dd82607475e9bd9b44590b631be4abdbdd

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/ocata)

Reviewed: https://review.openstack.org/443228
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=1ae26fac8c2a8839c2f16c618d0ad2423afcf0bc
Submitter: Jenkins
Branch: stable/ocata

commit 1ae26fac8c2a8839c2f16c618d0ad2423afcf0bc
Author: Jeffrey Zhang <email address hidden>
Date: Wed Mar 8 15:04:48 2017 +0800

    Disable running playbooks in serial by default

    Run playbooks in serial are unnecessary and may cause some issue. This
    patch disables serial.

    This patch also removes the serial for MariaDB playbook. MariaDB handle
    this internally.

    Partial-Bug: #1668185
    Change-Id: I3b4216dd82607475e9bd9b44590b631be4abdbdd

tags: added: in-stable-ocata
Changed in kolla-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by Jeffrey Zhang (jeffrey.zhang@99cloud.net) on branch: master
Review: https://review.openstack.org/438374

Changed in kolla-ansible:
status: Fix Committed → 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.