python-tripleoclient/tripleoclient/tests
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
..
config Add option to control ironic network interfaces 2020-03-12 21:54:57 +00:00
fixture_data Always run upgrades/updates as tripleo-admin 2018-11-01 15:16:47 +01:00
v1 Refactor upgrade prepare and converge. 2020-06-23 08:45:39 +00:00
workflows Handle config-download in progress in tripleoclient 2020-01-08 13:59:26 -05:00
__init__.py Rename rdomanager_oscplugin to tripleoclient 2015-09-08 10:22:22 -04:00
base.py Save DefaultPasswords values for undercloud deploy 2017-04-26 20:38:00 +01:00
fakes.py Use correct default key file and normalize the usage 2020-03-12 11:41:51 +13:00
test_export.py Add openstack overcloud export 2019-11-13 17:05:25 +00:00
test_overcloud_credentials.py Merge "Remove overcloudrc.v3 generation" 2019-03-13 00:24:29 +00:00
test_plugin.py Raise a new ValueError with the contents of the JSON is parsing fails 2020-04-28 22:56:48 +00:00
test_utils.py Fix ResourceWarning: unclosed file 2020-04-09 16:20:03 +00:00