System tests for openstack upgrade procedure

Registered by Sergey Murashov on 2015-07-16

Need to develop system tests for openstack upgrade procedure, which will be coverage all upgrade supported cluster setups
Now we support 2 cases: Openstack HA mode, ceph for all, neutron vlan without additional nodes, and with 3 additional nodes for new controllers.
These tests require 7.0 master node which was upgraded from 6.1, and openstack cluster( Openstack HA mode, ceph for all, neutron vlan, 2 storage nodes minimum)
The following case will be implemented:
1) Prepare fuel master. Check that this command passes well.
2) Clone target environment. Check clone environment procedure.
3) Check reassignment controller to new environment. Check reassignment of first controller. Check that controller was removed from old cluster correctly and it doesn't have serious impact on operability of old cluster. Check that controller was correctly added to new cluster, disk and network was configured properly. Check that deployment info was updated well(pathes from public and mgmt bridges removed). Check result of provision&deploy of this node in new cluster.
4) Check upgrade-db procedure. Check that APIs in old cluster were successfully disabled and returns 503 status code, but openstack infra is available. Check that services in new cluster were successfully stopped. Check that db was migrated and upgrade correctly
5) Check upgrade-ceph procedure. Verify that new ceph mon sees old osd nodes and ceph cluster is healthy
6) Check upgrade-cics procedure. Verify that patches on old controllers from public, mgmt, private bridges removes successfully, patches on new controller create well, old computes and storage nodes see new controller via mgmt network, inplace upgrade of computes does properly, check that openstack cluster is fine.
7) Check redeploy of two last controllers via upgrade-node procedure
8) Check redeploy of osd and compute nodes via upgrade-node procedure
9) Run ostf check that cluster is operable
10) Revert patches from fuel master

Blueprint information

Status:
Complete
Approver:
Tatyanka
Priority:
Undefined
Drafter:
Sergey Murashov
Direction:
Needs approval
Assignee:
Sergey Murashov
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 7.0
Started by
Tatyanka on 2016-04-12
Completed by
Tatyanka on 2016-04-12

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/system-tests-for-openstack-upgrades-feature,n,z

Addressed by: https://review.openstack.org/211571
    Add prepare snapshots for OS upgrade procedure

Addressed by: https://review.openstack.org/211582
    Add test which deploy upgradable cluster

Addressed by: https://review.openstack.org/224178
    Add first bunch of tests on upgrade OS procedure

Addressed by: https://review.openstack.org/224484
    Add first bunch of tests on upgrade OS procedure

Addressed by: https://review.openstack.org/226280
    Add second bunch of tests on upgrade OS procedure

Addressed by: https://review.openstack.org/226282
    Add second bunch of tests on upgrade OS procedure

Addressed by: https://review.openstack.org/227713
    Add first bunch of tests on upgrade OS procedure

Addressed by: https://review.openstack.org/227822
    Add third bunch of tests on upgrade OS procedure

Addressed by: https://review.openstack.org/238026
    Add first bunch of tests on upgrade OS procedure via clonning all controllers with using additional nodes

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.