System tests for openstack upgrade procedure
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:
- 7.0
- Started by
- Tatyanka
- Completed by
- Tatyanka
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add prepare snapshots for OS upgrade procedure
Addressed by: https:/
Add test which deploy upgradable cluster
Addressed by: https:/
Add first bunch of tests on upgrade OS procedure
Addressed by: https:/
Add first bunch of tests on upgrade OS procedure
Addressed by: https:/
Add second bunch of tests on upgrade OS procedure
Addressed by: https:/
Add second bunch of tests on upgrade OS procedure
Addressed by: https:/
Add first bunch of tests on upgrade OS procedure
Addressed by: https:/
Add third bunch of tests on upgrade OS procedure
Addressed by: https:/
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.