Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1561544 - Splitstack deployment fails due to the bug in get-occ-config.sh script
Splitstack deployment fails due to the bug in get-occ-config.sh script
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
high Severity high
: beta
: 13.0 (Queens)
Assigned To: James Slagle
Gurenko Alex
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-28 10:08 EDT by Gurenko Alex
Modified: 2018-06-27 09:50 EDT (History)
6 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-8.0.2-0.20180327213844.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 09:49:05 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1759581 None None None 2018-03-28 10:12 EDT
OpenStack gerrit 558242 None None None 2018-04-02 13:03 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:50 EDT

  None (edit)
Description Gurenko Alex 2018-03-28 10:08:30 EDT
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


Additional info:

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
Comment 1 James Slagle 2018-03-28 10:21:06 EDT
sample log:
https://pastebin.com/kn6Q8TSJ

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
Comment 6 Gurenko Alex 2018-04-11 07:45:38 EDT
[stack@undercloud-0 ~]$ cat core_puddle_version
2018-04-10.2
[stack@undercloud-0 ~]$ rpm -q openstack-tripleo-heat-templates
openstack-tripleo-heat-templates-8.0.2-0.20180327213846.el7ost.noarch
Comment 8 errata-xmlrpc 2018-06-27 09:49:05 EDT
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.

https://access.redhat.com/errata/RHEA-2018:2086

Note You need to log in before you can comment on or make changes to this bug.