Add tests for new data-driven upgrade procedure

The upgrade procedure was completely changed because
of changing base OS for Fuel (Centos7). It leads to
complete refactoring of all upgrade-related code
including tests

This commit should be backportable to 7.0 branch
because we need to prepare some 7.0 clusters.
This is the reason of rejecting SSHManager
 _for this commit_. It will be integrated later.

Change-Id: I1932c28beb9a7101019a02d4cd5245a1a0996a05
Partial-bug:1546943
This commit is contained in:
Vladimir Khlyunev 2016-02-16 13:47:43 +03:00
parent 3e7b09e359
commit 8b9bac01e9
3 changed files with 1150 additions and 0 deletions

View File

@ -616,6 +616,11 @@ Restart tests
Upgrade tests
=============
Test Data-Driven Upgrade
------------------------
.. automodule:: fuelweb_test.tests.tests_upgrade.test_data_driven_upgrade
:members:
OS upgrade tests
================

View File

@ -492,6 +492,11 @@ FUEL_PLUGIN_BUILDER_REPO = 'https://github.com/openstack/fuel-plugins.git'
# Ubuntu: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-20921/ubuntu/
CUSTOM_PKGS_MIRROR = os.environ.get('CUSTOM_PKGS_MIRROR', '')
# URL for Fuel proposed repository - required for correct ordering of upgrade:
# update Fuel Master node using published packages (UPDATE_FUEL=True)
# then attach the repository in the test case.
FUEL_PROPOSED_REPO_URL = os.environ.get('FUEL_PROPOSED_REPO_URL', '')
# Location of local mirrors on master node.
LOCAL_MIRROR_UBUNTU = os.environ.get('LOCAL_MIRROR_UBUNTU',
'/var/www/nailgun/ubuntu/x86_64')

File diff suppressed because it is too large Load Diff