major upgrade workflow

Registered by mathieu bultel

TripleO - Ansible upgrade Worklow with UI integration

https://review.openstack.org/#/c/507620

For Queens and as discussed at the Denver PTG_ we aim to collect
the upgrade_tasks for the controlplane nodes into ansible playbooks that can
then be invoked to deliver the actual upgrade.

----------------------------------------------
notes:
(one of the work items is) We need to implement the major upgrade workflow in the tripleo directly in order to:
- improve the user experience,
- simplify the workflow,
- be consumable easily by all the automation tools without any big extra tasks, workaround and tricks
- decrease the documentation and end user mistakes

The goal would be to have a mistral workflow that can handle the major upgrade in Tripleo via the CLI.
The CLI should have an entry point as simple as possible:
--> perform major upgrade: (controllers upgrade)
openstack overcloud upgrade --steps ctlplane --yum-repo-file my_repo.yaml
--> upgrade nodes: (computes and ceph and block storage) (could take a list of nodes to upgrade, the migration of the workload should be handle by the operator, help with documentation)
openstack overcloud upgrade --steps nodes overcloud-novacompute-0 overcloud-novacompute-1
--> converge the cloud:
openstack overcloud upgrade --steps converge

Both review in progress addressed this: BP
    https://review.openstack.org/463765

    https://review.openstack.org/463728

Blueprint information

Status:
Complete
Approver:
Emilien Macchi
Priority:
Essential
Drafter:
mathieu bultel
Direction:
Approved
Assignee:
mathieu bultel
Definition:
Approved
Series goal:
Accepted for rocky
Implementation:
Implemented
Milestone target:
milestone icon rocky-3
Started by
Alex Schultz
Completed by
Alex Schultz

Related branches

Sprints

Whiteboard

[2018-07-25] (aschultz) as patches are merged, I believe we have this now. Feel free to reopen if that is not the case.
[2018-07-11] all patches are merged (https://review.openstack.org/#/c/463728/ replaced by https://review.openstack.org/#/c/526213/ - isn't it "implemented" now?

Queens has been released, updating goal for Rocky

Work in progress here:

https://review.openstack.org/#/c/463728/
https://review.openstack.org/#/c/463765/

And CI review:
https://review.openstack.org/#/c/483850

Gerrit topic: https://review.openstack.org/#q,topic:bp/major-upgrade-workflow,n,z

Addressed by: https://review.openstack.org/510902
    EARLY WIP: Convert tags to when statements for Q major upgrade workflow

Addressed by: https://review.openstack.org/511228
    Add post_upgrade_tasks and upgrade_batch_tasks to deploy output

Addressed by: https://review.openstack.org/526006
    WIP: wire up queens upgrade workflow

Gerrit topic: https://review.openstack.org/#q,topic:update/workflow,n,z

Addressed by: https://review.openstack.org/552073
    Add pre_upgrade_rolling_tasks

Gerrit topic: https://review.openstack.org/#q,topic:major-upgrade,n,z

Addressed by: https://review.openstack.org/556454
    Add pre_upgrade_rolling_tasks

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.