Browse Source

Skip network check with stack env when validations disabled

Allow for bypassing check_stack_network_matches_env_files()
when --disable-validations is provided.

Change-Id: Ie24163a39a68ec73ae8ea5ad1011eb3789961077
Closes-Bug: #1866155
(cherry picked from commit d8a7eaf88c)
changes/64/741464/1
Rabi Mishra 5 months ago
committed by Alex Schultz
parent
commit
bf17d081b8
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      tripleoclient/v1/overcloud_deploy.py

+ 3
- 2
tripleoclient/v1/overcloud_deploy.py View File

@@ -442,8 +442,9 @@ class DeployOvercloud(command.Command):
template_utils.deep_update(env, localenv)

if stack:
# note(aschultz): network validation goes here before we deploy
utils.check_stack_network_matches_env_files(stack, env)
if not parsed_args.disable_validations:
# note(aschultz): network validation goes here before we deploy
utils.check_stack_network_matches_env_files(stack, env)
bp_cleanup = self._create_breakpoint_cleanup_env(
tht_root, parsed_args.stack)
template_utils.deep_update(env, bp_cleanup)


Loading…
Cancel
Save