python-tripleoclient/tripleoclient/v1
Bogdan Dobrelya 038ed01058 UC: validate paths for tht templates and env files
The --templates path must match the -e path, e.g:

openstack overcloud upgrade prepare \
  --templates ~/tripleo-heat-templates
  -e ~/tripleo-heat-templates/*.yaml

Though, there are totally valid cases when --templates is
mixed with auto generated -e files residing in either temp
dirs or the user's home dir. For example, heat undercloud
installer generates such files. So we can not blindly
prohibit non matching --templates and -e's.

To adress that UX issue, add additional contstraints for
undercloud tht env files validation:

* "-e" files can not refer external files normally
  processed from jinja2 in t-h-t. Those must come from
  the templates path only.

NOTE: the similar change for overcloud should be done
in follow-ups.

Partial-bug: #1762403

Depends-On: I10d4dffcd3802f62fc824c808728c0b5b4f1002c
Change-Id: Ia9c62c787d6c581a66b2fde030a60499cfa18b82
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-05-05 00:38:01 +00:00
..
__init__.py Rename rdomanager_oscplugin to tripleoclient 2015-09-08 10:22:22 -04:00
container_image.py Use the build_service_filter from kolla_builder 2018-04-11 14:42:39 +00:00
overcloud_ceph_upgrade.py Introduce Ceph upgrade command 2018-04-24 11:36:25 +02:00
overcloud_config.py Add arg to remove config-dir for config-download 2018-04-20 00:38:33 +00:00
overcloud_credentials.py Revert "Remove the overcloudrc.v3 file" 2018-01-29 14:49:15 +00:00
overcloud_delete.py Add each command to the history file 2017-11-27 15:37:00 +00:00
overcloud_deploy.py Remove adding config-download-environment.yaml 2018-04-20 14:22:24 +00:00
overcloud_execute.py Add each command to the history file 2017-11-27 15:37:00 +00:00
overcloud_ffwd_upgrade.py Merge "Add --stack to update, upgrade and ffwd-upgrade 'run' CLI." 2018-05-05 00:06:30 +00:00
overcloud_image.py Revert "Alter default http boot path for containerized Ironic" 2018-04-25 04:29:27 +00:00
overcloud_netenv_validate.py Add each command to the history file 2017-11-27 15:37:00 +00:00
overcloud_node.py Add 'overcloud node clean' command to run metadata cleaning on nodes 2018-04-27 15:41:14 +02:00
overcloud_parameters.py Deprecate the action parameter for fencing generation. 2018-03-14 17:33:20 +00:00
overcloud_plan.py Merge "Changes Delete Plan to Call Workflow" 2018-04-03 18:30:36 +00:00
overcloud_plan_roles.py Add workflows-based role listing commands 2018-01-11 15:10:08 +00:00
overcloud_profiles.py Merge "Report node availability from "overcloud profiles list"" 2017-12-27 12:47:31 +00:00
overcloud_raid.py Add each command to the history file 2017-11-27 15:37:00 +00:00
overcloud_roles.py Add workflows-based role listing commands 2018-01-11 15:10:08 +00:00
overcloud_support.py Add each command to the history file 2017-11-27 15:37:00 +00:00
overcloud_update.py Add --stack to update, upgrade and ffwd-upgrade 'run' CLI. 2018-05-04 18:36:35 +02:00
overcloud_upgrade.py Merge "Add --stack to update, upgrade and ffwd-upgrade 'run' CLI." 2018-05-05 00:06:30 +00:00
tripleo_deploy.py Move run command to utils 2018-05-01 12:55:28 -06:00
undercloud.py containerized/undercloud: disable verbosity by default 2018-04-11 05:58:44 +00:00
undercloud_backup.py Fix lint errors 2018-02-09 18:02:07 +01:00
undercloud_config.py Merge "Fix net_config_override validations" 2018-05-05 00:06:18 +00:00
undercloud_deploy.py Create generic deployment action 2018-04-30 20:48:16 -07:00
undercloud_preflight.py UC: validate paths for tht templates and env files 2018-05-05 00:38:01 +00:00