Bug 1223210

Summary: unbound variable error for 90-tuskar-db-sync
Product: Red Hat OpenStack Reporter: Dan Macpherson <dmacpher>
Component: rhosp-directorAssignee: James Slagle <jslagle>
Status: CLOSED ERRATA QA Contact: Ola Pavlenko <opavlenk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: dmacpher, mburns, rhel-osp-director-maint, sclewis
Target Milestone: gaKeywords: Triaged
Target Release: Director   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:51:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Macpherson 2015-05-20 06:20:23 UTC
I hit the following exception in 90-tuskar-db-sync:

++ echo Compute Controller Swift-Storage Cinder-Storage Ceph-Storage
+ load_roles 'Compute Controller Swift-Storage Cinder-Storage Ceph-Storage' /usr/share/openstack-tripleo-heat-templates .yaml
+ TUSKAR_LOAD_ROLE_BASE='tuskar-load-role --config-file /etc/tuskar/tuskar.conf '
+ roles=($(echo "$1"))
++ echo 'Compute Controller Swift-Storage Cinder-Storage Ceph-Storage'
ERROR: openstack Command 'instack-install-undercloud' returned non-zero exit status 1
+ dir=/usr/share/openstack-tripleo-heat-templates
+ suffix=.yaml
/usr/libexec/os-refresh-config/configure.d/90-tuskar-db-sync: line 11: 4: unbound variable
[2015-05-18 18:08:17,218] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1]

[2015-05-18 18:08:17,218] (os-refresh-config) [ERROR] Aborting...

.. and then it returns me to the prompt

Line 11 seems to be:

    extra_data="${4}"

== Additional Notes ==

I did not encounter this problem when doing an upstream install on CentOS

Comment 3 chris alfonso 2015-06-15 19:47:07 UTC
Dan, Can you provide versions of packages and let us know if it is still broken. We *think* this has been fixed.

Comment 6 Ola Pavlenko 2015-07-06 15:32:22 UTC
Which OS was used?

Comment 7 Ola Pavlenko 2015-07-13 13:08:33 UTC
didn't happen to me on VM with RHEL 7.1  and latest puddle from July 10.

Comment 9 errata-xmlrpc 2015-08-05 13:51:32 UTC
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-2015:1549