Bug 1029072

Summary: demo user is not created because of syntax error in provision.pp module
Product: [Community] RDO Reporter: Jakub Libosvar <jlibosva>
Component: openstack-packstackAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Nir Magnezi <nmagnezi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, hateya, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-14 13:02:26 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:
Attachments:
Description Flags
Packstack logs none

Description Jakub Libosvar 2013-11-11 15:37:21 UTC
Created attachment 822476 [details]
Packstack logs

Description of problem:
In packstack answer file is enabled demo user:
CONFIG_PROVISION_DEMO=y
but after packstack successfully finishes installation, demo user is missing in keystone:
# keystone user-list
+----------------------------------+---------+---------+-------------------+
|                id                |   name  | enabled |       email       |
+----------------------------------+---------+---------+-------------------+
| 0075d604af1a49ff9ac84a9ac507ea17 |  admin  |   True  |   test   |
| 7175c5bfbe8f4c91863792fda22db26a |  cinder |   True  |  cinder@localhost |
| 2e504da688fe45ea9b6af3923db0bed6 |  glance |   True  |  glance@localhost |
| 566f04b839164b3fa0afe5b10837551a |   nova  |   True  |   nova@localhost  |
| 9c752a5de5204e0c834a95107b6c37c5 | quantum |   True  | quantum@localhost |
+----------------------------------+---------+---------+-------------------+

Possible culprit is error in module provision

# cat /var/tmp/packstack/20131111-153113-KB8IM8/manifests/10.34.62.164_provision.pp.log 
Syntax error at '['; expected ']' at /var/tmp/packstack/a2a22670cc1140f090013ae1fd9cf893/modules/openstack/manifests/provision.pp:170 on node localhost.localdomain


Version-Release number of selected component (if applicable):
openstack-packstack-2013.1.1-0.31.dev696.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install openstack allinone using packstack with CONFIG_PROVISION_DEMO=y

Actual results:
demo user and tenant are missing

Expected results:
demo user and tenant are created in the system

Additional info:

Comment 1 Jakub Libosvar 2013-11-14 13:02:26 UTC
Updating puppet to puppet-2.7.23-1.el6.noarch fixed the issue.