Bug 1148459

Summary: [packstack][juno] Enable tempest in answer file raises glance error
Product: [Community] RDO Reporter: Marcos <lobo>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED DUPLICATE QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, apevec, derekh, pkshiras, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-01 20:10:42 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
puppet log file from provision glance none

Description Marcos 2014-10-01 13:51:55 UTC
Created attachment 943060 [details]
puppet log file from provision glance

Description of problem:
In CentOS 7. When you try to install openstack Juno release, using packstack, if you enable tempest in the answer file (following this https://openstack.redhat.com/Testing_IceHouse_using_Tempest#Enable_tempest_and_demo), you get glance error.

Version-Release number of selected component (if applicable):
openstack-packstack.2014.2-0.3.dev1266.g63d9c50.el7.centos

How reproducible:
When you put CONFIG_PROVISION_TEMPEST=y in the packstack answer file. Following this instructions https://openstack.redhat.com/Testing_IceHouse_using_Tempest#Enable_tempest_and_demo

Steps to Reproduce:
1. setenforce 0 (because this https://bugzilla.redhat.com/show_bug.cgi?id=1139771)
2. Set CONFIG_PROVISION_DEMO=n in packstack answer file (because this https://bugzilla.redhat.com/show_bug.cgi?id=1148346)
3. packstack --allinone --use-epel=y
4. Everything installed OK!
5. Set CONFIG_PROVISION_TEMPEST=y in packstack answer file
6. packstack --answer-file packstack-answers-20141001-121344.txt

Actual results:
10.0.0.1_provision_glance.pp:               [ ERROR ]
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.0.0.1_provision_glance.pp
Error: Could not prefetch glance_image provider 'glance': Execution of '/usr/bin/glance -T services -I glance -K 0f75673432f84bef -N http://10.0.0.1:35357/v2.0/ index' returned 2: usage: glance [--version] [-d] [-v] [--get-schema] [--timeout TIMEOUT]
You will find full trace in log /var/tmp/packstack/20141001-131918-KS5XQ4/manifests/10.0.0.1_provision_glance.pp.log

Expected results:
 **** Installation completed successfully ******

Additional info:
Bug related: https://bugzilla.redhat.com/show_bug.cgi?id=1148346

Comment 1 Alan Pevec (Fedora) 2014-10-01 20:10:42 UTC
Eventually, Tempest configuration and demo provisioning are going to be moved to the openstack-tempest RPM, but for now this issue is a duplicate of puppet-glance issue with the latest glanceclient.

*** This bug has been marked as a duplicate of bug 1148346 ***