Adding pre-upgrade validations to tripleo-validations

Registered by Florian Fuchs

A set of validations to run before an upgrade is initialized, meant to give operators confidence that all basic prerequisites for the upgrade are met.

This is in addition to the step-by-step validations described in this blueprint: https://blueprints.launchpad.net/tripleo/+spec/step-by-step-validation

Examples:

- Undercloud service checks
- Verifying that the stack is in a *_COMPLETE state
- Verifying undercloud disk space. For node replacement we recommended a
minimum of 10 GB free.
- Network/repo availability check (undercloud and overcloud)
- Verifying we're at the latest version of the current release
- ...

Etherpad with work items: https://etherpad.openstack.org/p/tripleo-pre-upgrade-validations

Blueprint information

Status:
Complete
Approver:
Emilien Macchi
Priority:
High
Drafter:
Florian Fuchs
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for pike
Implementation:
Implemented
Milestone target:
None
Started by
Emilien Macchi
Completed by
Emilien Macchi

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/#/c/462918/
    Validate undercloud service status before update/upgrade

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

Addressed by: https://review.openstack.org/467607
    Add stack health check validation

Addressed by: https://review.openstack.org/471686
    Pre-upgrade: Check disk space

Addressed by: https://review.openstack.org/471691
    Add pre-upgrade group to RAM/disk space validations

Addressed by: https://review.openstack.org/472350
    Reference the new pre-upgrade group

Addressed by: https://review.openstack.org/474187
    Adds pre-upgrade/update to the overcloud endpoint validation

Addressed by: https://review.openstack.org/474189
    [Ocata only] Fix inventory - no PublicVip in ocata tht

Addressed by: https://review.openstack.org/474578
    WIP Adds execution of validations on undercloud upgrade

Addressed by: https://review.openstack.org/476517
    Add a validation that checks for available update

Addressed by: https://review.openstack.org/477006
    [WIP]Check repository availability

Addressed by: https://review.openstack.org/478920
    Adds docs about the pre-upgrade validations

Addressed by: https://review.openstack.org/481667
    Remove the pre-update group and add a post-upgrade group

Addressed by: https://review.openstack.org/482615
    Fixup the undercloud service list used in the validation

Addressed by: https://review.openstack.org/485184
    WIP: Adds pre-upgrade validations using the new pre-upgrade hook

Addressed by: https://review.openstack.org/498975
    Revert "Adds execution of post-upgrade validations on undercloud upgrade"

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.