Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/

Bug 1148346

Summary: puppet-glance does not work with glanceclient 0.14
Product: [Community] RDO Reporter: Arif Ali <mail>
Component: openstack-puppet-modulesAssignee: Javier Peña <jpena>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, apevec, apevec, derekh, emilien.macchi, ichavero, jpena, lobo, mmagr, mrunge, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: Juno   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-puppet-modules-2014.2-0.3.1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-27 19:07:07 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
log of the puppet module for provision glance
none
openstack setup log none

Description Arif Ali 2014-10-01 08:46:36 UTC
Created attachment 942968 [details]
log of the puppet module for provision glance

Description of problem:
I have run packstack --allinone, and the installation fails at

10.0.0.1_provision_glance.pp:                     [ ERROR ]             


Version-Release number of selected component (if applicable):

RDO Juno

openstack-packstack-2014.2-0.3.dev1266.g63d9c50.el7.centos.noarch

How reproducible:

Every time

Steps to Reproduce:
1. Install machine with CentOS or RedHat
2. setenforce 0
2. Install openstack-packstack using the QuickStart guide on https://openstack.redhat.com/QuickStart
3. packstack --allinone

Actual results:

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 86f175e8c0884d77 -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-091112-m6iWqu/manifests/10.0.0.1_provision_glance.pp.log
Please check log file /var/tmp/packstack/20141001-091112-m6iWqu/openstack-setup.log for more information


Expected results:

The installation should go through, and we should not get the errors

Additional info:

Comment 1 Arif Ali 2014-10-01 08:48:49 UTC
Created attachment 942970 [details]
openstack setup log

Comment 2 Emilien Macchi 2014-10-01 15:56:45 UTC
Patch upstream in puppet-glance: https://review.openstack.org/#/c/125394/

Comment 3 Alan Pevec (Fedora) 2014-10-01 20:10:42 UTC
*** Bug 1148459 has been marked as a duplicate of this bug. ***

Comment 4 Alan Pevec (Fedora) 2014-10-01 20:12:11 UTC
Ivan, could we get a quick Rawhide respin with a patch from comment 2 ?

Comment 5 Martin Magr 2014-10-02 08:17:07 UTC
Will do the build.