python-tripleoclient/tripleoclient
James Slagle 234a41b7dd Ephemeral Heat: Add a --refresh option to external update run
In order to support ephemeral Heat, the external update run command
should rely on the already downloaded config-download playbooks as
generated by update prepare. There is no Heat instance available to
re-download the playbooks automatically.

To support the old behavior with a system installed Heat, a --refresh
option is added which will refresh the config-download playbooks.

We can not have an option to refresh the playbooks automatically with
ephemeral Heat, because the command would need to inherit from
DeployCommand and require environment files so that we can use the
ContainerImagePrepare value to get the ephemeral Heat container images,
as well as the ephemeral Heat setup and tear down code. As this would be
a much larger refactor to the CLI, we avoid it.

The correct fix for the case where the stack may have been modified out
of order is to require another run of update prepare which will
regenerate the playbooks.

Change-Id: Ib01d920112f5e84190fbcd9470dd7bac269b3987
Signed-off-by: James Slagle <jslagle@redhat.com>
(cherry picked from commit 76c9590636)
2021-05-27 12:54:32 -04:00
..
config Add enable_neutron and enable_heat 2021-05-06 21:17:26 -04:00
tests Ephemeral Heat: Add a --refresh option to external update run 2021-05-27 12:54:32 -04:00
v1 Ephemeral Heat: Add a --refresh option to external update run 2021-05-27 12:54:32 -04:00
v2 Fix error message for vip provision 2021-05-14 11:00:35 +00:00
workflows Ephemeral Heat: Add a --refresh option to external update run 2021-05-27 12:54:32 -04:00
__init__.py Add ReNo support 2016-10-08 00:28:43 +00:00
command.py Use correct default key file and normalize the usage 2020-02-20 08:52:09 -06:00
constants.py Support using ephemeral Heat 2021-05-06 21:17:26 -04:00
exceptions.py Wait for Heat message queues 2021-05-17 20:43:38 -04:00
export.py Automatically run overcloud export when using ephemeral heat 2021-05-06 21:17:26 -04:00
heat_launcher.py Ephemeral Heat unit tests 2021-05-27 12:54:29 -04:00
noauth_policy.json Add heat_launcher module to help launch heat-all 2017-02-08 15:49:24 -05:00
plugin.py Update client to create archive and use tripleo-common 2021-01-20 09:43:52 -06:00
utils.py Ephemeral Heat unit tests 2021-05-27 12:54:29 -04:00