Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1440099

Summary: Can't build RPM for patches that modify neutron setup.cfg file on 9.2.0 tag
Product: Red Hat OpenStack Reporter: Daniel Alvarez Sanchez <dalvarez>
Component: openstack-neutronAssignee: Daniel Alvarez Sanchez <dalvarez>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: amuller, chrisw, jjoyce, jlibosva, nyechiel, oblaut, srevivo, tfreger
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-9.2.0-10.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1440094 Environment:
Last Closed: 2017-06-28 15:31:11 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:
Bug Depends On: 1440094    
Bug Blocks:    

Description Daniel Alvarez Sanchez 2017-04-07 09:45:36 UTC
+++ This bug was initially created as a clone of Bug #1440094 +++

Because the setup.cfg included in U/S neutron tarballs [0] include tabs instead of spaces, and patches expect it to have spaces, rpmbuild can't apply patches that modify this file.

Although there's an RFE [1] to do this, in the meantime we can submit a double patch on top of the latest tagged commit:

1. Patch that uses the setup.cfg from the tarball (with tabs) - DROP-IN-RPM
2. Patch that uses the setup.cfg from git (with spaces and comments)

After this, all git patches that modify setup.cfg should apply and the RPM package should build normally.

[0] https://tarballs.openstack.org/neutron/
[1] https://github.com/openstack-packages/rdopkg/issues/112

Comment 2 Eran Kuris 2017-05-03 08:50:17 UTC
verified : 
rpm -qa |grep openstack-neutron-9
openstack-neutron-9.2.0-11.el7ost.noarch

Comment 5 errata-xmlrpc 2017-06-28 15:31:11 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/RHBA-2017:1594