python-tripleoclient/tripleoclient/tests/v1
Jose Luis Franco Arza 8d2cc4b3d8 Refactor upgrade prepare and converge.
As we aren't required to re-deploy any more during the converge step
the actions performed by the Upgrade Converge and Prepare are exactly
the same, the only difference is the lifecycle environment file we
use to set and unset parameters.

This patch refactors both classes, the UpgradePrepare and UpgradeConverge
clasess:

- UpgradePrepare: Stop forcing update-plan-only and then try to do most of the
actions from deployment into UpgradePrepare. This change will force config_download
to false (which will avoid running the full deployment and do only an stack update),
then download the config by invoking get_config from utils and lastly enable ssh
into overcloud nodes, as that part is perforemd in deployment only if config_download
is set to true. Add new attributes to UpgradePrepare so we can override them in
UpgradeConverge via inheritence.

- UpgradeConverge: Inherit from UpgradePrepare instead of DeployOvercloud. Set the
right value for the class attributes and let UpgradePrepare class do all the magic.

Change-Id: I6148511eb6ad1e3798a7bf40c721824830c7073d
2020-06-15 14:58:15 +02:00
..
baremetal Do not silence exceptions in overcloud_node unit tests 2019-03-11 12:32:06 +01:00
overcloud_config Use playbook for config-download export 2020-06-09 11:43:47 +05:30
overcloud_deploy Merge "Don't set DeployIdentifier in tripleoclient" 2020-05-24 19:25:08 +00:00
overcloud_external_update Remove left over mistral layers of abstration 2020-02-17 12:28:21 -06:00
overcloud_external_upgrade Remove left over mistral layers of abstration 2020-02-17 12:28:21 -06:00
overcloud_ffwd_upgrade Use ansible playbook for creating overcloudrc 2020-05-05 17:18:16 +05:30
overcloud_image Fix GlanceClientAdapter to use new osc release 2020-03-31 20:49:20 +02:00
overcloud_netenv_validate Fix some pep8 errors 2020-05-13 13:26:15 +05:30
overcloud_node Use cli-config-download.yaml playbook 2020-05-22 17:05:16 +05:30
overcloud_roles Additional resource cleanup 2019-08-02 12:34:42 -06:00
overcloud_update Correct YAML load warning 2020-03-16 15:05:44 -05:00
overcloud_upgrade Refactor upgrade prepare and converge. 2020-06-15 14:58:15 +02:00
tripleo Implement validations-libs framework for ALL validator commands 2020-06-09 19:13:47 +02:00
undercloud Merge "Fix upgrade prompt" 2020-05-13 07:26:02 +00:00
__init__.py Rename rdomanager_oscplugin to tripleoclient 2015-09-08 10:22:22 -04:00
test_container_image.py Add login flag to container image prepare defaults 2020-04-15 16:00:59 -06:00
test_overcloud_admin.py Update verbosity so it is consistently set 2020-04-04 03:46:36 +00:00
test_overcloud_bios.py Update verbosity so it is consistently set 2020-04-04 03:46:36 +00:00
test_overcloud_export.py Don't use mistral directory as WORK_DIR for config-download 2020-04-24 12:26:41 +05:30
test_overcloud_parameters.py Update verbosity so it is consistently set 2020-04-04 03:46:36 +00:00
test_overcloud_plan.py Set correct deployment_status in deployment stages 2020-04-13 08:32:22 +05:30
test_overcloud_plan_roles.py Remove mistral from the list_available_roles deploy workflow 2020-02-17 17:41:56 -06:00
test_overcloud_profiles.py Report node availability from "overcloud profiles list" 2017-09-10 22:37:03 +02:00
test_overcloud_raid.py Update verbosity so it is consistently set 2020-04-04 03:46:36 +00:00
test_plugin.py Client code to do node import with ansible instead of mistral 2020-03-10 09:18:49 -05:00