Description of problem: when get-occ-config.sh script runs, it only updates first node and exits with rc 0.
Version-Release number of selected component (if applicable): OSP13
How reproducible: 100%
Steps to Reproduce:
1. Follow split stack deployment path
2. run heat-admin.sh that triggers get-occ-config.sh
3. start overcloud_deploy.sh
Actual results: Deployment fails with a timeout
Expected results: Deployment succeed
get-occ-config.sh contains ((i++)) at line 160 and needs to be reverted to i+=1 which was introduced by following commit: https://code.engineering.redhat.com/gerrit/gitweb?p=openstack-tripleo-heat-templates.git;a=commitdiff;h=f17b0a14dad89fdb0594457b602d4ca183b230d7
notice how the script just exits after ((i++)) even though there were multiple stacks in the $stacks var.
This is because the bash expression ((i++)) evaluates to 0, so returns 1, causing the script to exit.
We need to revert this line back to let i+=1
[stack@undercloud-0 ~]$ cat core_puddle_version
[stack@undercloud-0 ~]$ rpm -q openstack-tripleo-heat-templates
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.