Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Fix update of non HA container during update.
Browse files Browse the repository at this point in the history
After the refactoring of step_1 to improve speed during deployment, we
were not updating the /var/lib/container-puppet/container-puppet.json
or the container-startup-configs.json for instance.

Net result is that the configuration is being done on the initially
deployed container and non HA container are not updated.

Note that not all step1 tasks were refarctored into the
deploy_steps_tasks_step_1. So we still need to loop over step 1 in the
deploy_steps_tasks.

Closes-Bug: #1848359

Change-Id: I76b16cd7781ea601778004afa4e0bc3020ce3c59
  • Loading branch information
sathlan committed Oct 17, 2019
1 parent bf60423 commit 6e649cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/deploy-steps.j2
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,7 @@ outputs:
loop_var: step
- import_tasks: {{role.name}}/host_prep_tasks.yaml
when: tripleo_role_name == '{{role.name}}'
- import_tasks: common_deploy_steps_tasks_step_1.yaml
- include_tasks: common_deploy_steps_tasks.yaml
with_sequence: start=1 end={{deploy_steps_max-1}}
loop_control:
Expand Down

0 comments on commit 6e649cc

Please sign in to comment.