Bug 840387

Summary: Missing BuildRequire on python-iniparse
Product: [Fedora] Fedora EPEL Reporter: Jan van Eldik <Jan.van.Eldik>
Component: openstack-glanceAssignee: Mark McLoughlin <markmc>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: apevec, apevec, bfilippov, breu, d.busby, Jan.van.Eldik, jonathansteffan, jose.castro.leon, markmc, matt_domsch, nsantos, pbrady, p, rbryant, rkukura
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: 2012-07-16 08:48:29 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 Jan van Eldik 2012-07-16 08:40:01 UTC
Description of problem:

  Missing "BuildRequires:    python-iniparse"

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

  openstack-keystone-2012.1.1-1.el6

How reproducible:

  100%

Steps to Reproduce:
  1. rpm -e python-iniparse --nodeps
  2. rpmbuild --ba rpmbuild/SPECS/openstack-glance.spec
  
Actual results:

  Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bdDRZw 
  + umask 022
  + cd /root/rpmbuild/BUILD
  + cd glance-2012.1.1
  + LANG=C
  + export LANG
  + unset DISPLAY
  + openstack-config --set etc/glance-registry.conf DEFAULT sql_connection mysql://glance:glance@localhost/glance
  Traceback (most recent call last):
    File "/usr/bin/openstack-config", line 19, in <module>
      import iniparse
  ImportError: No module named iniparse
  error: Bad exit status from /var/tmp/rpm-tmp.bdDRZw (%build)

Expected results:

  Successfull build :)

Additional info:

  - We discovered this building under Mock
  - We did not check, but this may also affect F16/17/..

Comment 1 Alan Pevec 2012-07-16 08:48:29 UTC
You should get it in mock buildroot, openstack-glance.spec has
BuildRequires:    openstack-utils
and openstack-utils
Requires:       python-iniparse

Comment 2 Pádraig Brady 2012-07-16 09:06:28 UTC
Note the corrected openstack-utils with appropriate dependencies is only in testing at present: https://admin.fedoraproject.org/updates/openstack-utils-2012.1-2.el6

I used a buildroot override to build the last glance package.