Replace default repos in upgrade tests after reinstallation

Right now proposed repo is not appends to releases after reinstallation.
We should add the update call into restore procedure.

Closes-bug:1620978
Change-Id: I07f8d28f08c4c0748a32bd0a3dce58b1fa322dab
This commit is contained in:
Vladimir Khlyunev 2016-09-02 13:27:59 +03:00
parent 7ac5e711e9
commit 12f5f12acc

View File

@ -34,6 +34,8 @@ from fuelweb_test.settings import KEYSTONE_CREDS
from fuelweb_test.settings import LOGS_DIR
from fuelweb_test.settings import OCTANE_PATCHES
from fuelweb_test.settings import OCTANE_REPO_LOCATION
from fuelweb_test.settings import REPLACE_DEFAULT_REPOS
from fuelweb_test.settings import REPLACE_DEFAULT_REPOS_ONLY_ONCE
from fuelweb_test.settings import UPGRADE_FUEL_FROM
from fuelweb_test.settings import UPGRADE_BACKUP_FILES_LOCAL_DIR
from fuelweb_test.settings import UPGRADE_BACKUP_FILES_REMOTE_DIR
@ -318,6 +320,8 @@ class DataDrivenUpgradeBase(TestBasic):
"Update CentOS bootstrap image with restored ssh keys")
self.octane_action('update-bootstrap-centos')
if REPLACE_DEFAULT_REPOS and REPLACE_DEFAULT_REPOS_ONLY_ONCE:
self.fuel_web.replace_default_repos()
if self.fuel_version >= LooseVersion('8.0'):
self.fuel_web.change_default_network_settings()