Bug 1236426

Summary: packstack puppet-glance in OSP7 RC-2 cannot install due to glance provider error.
Product: Red Hat OpenStack Reporter: Scott Drennan <scott.drennan>
Component: openstack-puppet-modulesAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.0 (Kilo)CC: gchamoul, jschluet, pchriste, rrosa, sellis, tonishim, tumeya, yeylon
Target Milestone: ga   
Target Release: 7.0 (Kilo)   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-puppet-modules-2015.1.8-1.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:28:15 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 Scott Drennan 2015-06-29 00:02:49 UTC
Description of problem:

Packstack install fails with:

	Error: Could not prefetch glance_image provider 'glance': File: /etc/glance/glance-api.conf does not contain all required sections. 


Version-Release number of selected component (if applicable):
openstack-puppet-modules-2015.1.7-2.el7ost.noarch

How reproducible:

Always


Steps to Reproduce:
1. Install OSP7 RC-2 using packstack and default answer file

Actual results:

	ERROR : Error appeared during Puppet run: 10.227.210.103_provision_glance
	Error: Could not prefetch glance_image provider 'glance': File: /etc/glance/glance-api.conf does not contain all required sections.
	You will find full trace in log /var/tmp/packstack/20150628-182450-ec7DDR/manifests/10.227.210.103_provision_glance.log
	Please check log file /var/tmp/packstack/20150628-182450-ec7DDR/openstack-setup.log for more information

Expected results:

Install completes successfully

Additional info:

Applying https://github.com/openstack/puppet-glance/commit/378523be4329f8f7d8bf5940143a7f45d57eb935 manually to /usr/share/openstack-puppet/modules/glance/lib/puppet/provider/glance.rb allows puppet-glance to get past this error.

Comment 3 Takuma Umeya 2015-07-01 15:15:36 UTC
Resetting the priority to URGENT. The description sounds to be a blocker issue for RHEL-OSP 7GA. Please look in this BZ request and provide the right guidance.

Comment 9 nlevinki 2015-07-21 12:38:23 UTC
 **** Installation completed successfully ******
Packstack installation passed.

[root@RHEL7 ~]# rpm -qa | grep openstack-puppet-modules
openstack-puppet-modules-2015.1.8-7.el7ost.noarch

Comment 10 Steven Ellis 2015-07-25 07:31:22 UTC
Same issues with RC2 openstack-puppet-modules

Updated to nightly

[root@openstack ~]# rpm -qa | grep openstack-puppet-modules
openstack-puppet-modules-2015.1.8-8.el7ost.noarch


Now working

Comment 12 errata-xmlrpc 2015-08-05 13:28:15 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:1548