python-tripleoclient/tripleoclient/tests/v1
Jose Luis Franco Arza 0ba53608b2 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 package_update 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
(cherry picked from commit 8df46e3798)
2020-06-23 08:45:39 +00:00
..
baremetal Do not silence exceptions in overcloud_node unit tests 2019-03-11 12:32:06 +01:00
overcloud_config Use workflow config_download_export 2018-07-26 09:09:09 -04:00
overcloud_delete Add option to skip ipa cleanup when deleting overclouds 2020-05-04 17:51:22 +00:00
overcloud_deploy Expose --limit, --skip-tags, and --tags on the CLI. 2020-04-27 14:51:20 -04:00
overcloud_external_update Expose --limit, --skip-tags, and --tags on the CLI. 2020-04-27 14:51:20 -04:00
overcloud_external_upgrade Expose --limit, --skip-tags, and --tags on the CLI. 2020-04-27 14:51:20 -04:00
overcloud_ffwd_upgrade Expose --limit, --skip-tags, and --tags on the CLI. 2020-04-27 14:51:20 -04:00
overcloud_image Local file based image uploader 2020-03-17 15:06:06 +10:30
overcloud_netenv_validate Fix test for netenv validate 2018-05-01 14:07:17 -06:00
overcloud_node baremetal provision expose concurrency and timeout 2020-03-12 11:41:56 +13:00
overcloud_roles Additional resource cleanup 2019-08-02 12:34:42 -06:00
overcloud_support Add overcloud support report collect command 2017-05-11 09:28:59 -06:00
overcloud_update Expose --limit, --skip-tags, and --tags on the CLI. 2020-04-27 14:51:20 -04:00
overcloud_upgrade Refactor upgrade prepare and converge. 2020-06-23 08:45:39 +00:00
tripleo TripleO Validations Logging CLI Introduction 2020-06-09 12:51:10 +00:00
undercloud Fix upgrade prompt 2020-05-13 16:21:16 -06: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-28 22:56:58 +00:00
test_overcloud_admin.py Use correct default key file and normalize the usage 2020-03-12 11:41:51 +13:00
test_overcloud_bios.py Create commands for configuring BIOS on given nodes 2019-03-11 12:55:39 +01:00
test_overcloud_export.py Add openstack overcloud export 2019-11-13 17:05:25 +00:00
test_overcloud_parameters.py Merge "Make ipmi lanplus the default in auto fencing" 2018-06-05 02:45:24 +00:00
test_overcloud_plan.py Make _upload_file to work with Python 3 2019-03-12 10:43:58 -04:00
test_overcloud_plan_roles.py Remove execution from workflow message send 2019-01-21 09:26:04 +01:00
test_overcloud_profiles.py Report node availability from "overcloud profiles list" 2017-09-10 22:37:03 +02:00
test_overcloud_raid.py Remove execution from workflow message send 2019-01-21 09:26:04 +01:00
test_plugin.py Use correct default key file and normalize the usage 2020-03-12 11:41:51 +13:00