Bug 1480585

Summary: Bug in nova specfile that prevents it from building successfully
Product: Red Hat OpenStack Reporter: Ganesh Kadam <gkadam>
Component: openstack-novaAssignee: Sahid Ferdjaoui <sferdjao>
Status: CLOSED WONTFIX QA Contact: Joe H. Rahme <jhakimra>
Severity: low Docs Contact:
Priority: low    
Version: 11.0 (Ocata)CC: apevec, berrange, dasmith, eglynn, gkadam, kchamart, lyarwood, sbauza, sferdjao, sgordon, srevivo, vromanso
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-02 13:14: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:
Bug Depends On:    
Bug Blocks: 1399824, 1401639    
Attachments:
Description Flags
build of rhos11
none
packages none

Description Ganesh Kadam 2017-08-11 12:29:37 UTC
Description of problem:

There appears to be a bug in the rhelosp-nova specfile that prevents it from building successfully. The error from rpmbuild/mock is:

~~~
creating build/lib/nova/CA
error: can't copy 'nova/CA/.gitignore': doesn't exist or not a regular file
~~~

Cu have recreated this locally with:

~~~
git clone git:metacloud/rhelosp-nova.git        
cd rhelosp-nova/rpm
wget https://tarballs.openstack.org/nova/nova-15.0.6.tar.gz
cd ..
mock -r cisco-rhel7-osp11 --buildsrpm --spec rpm/openstack-nova.spec --sources rpm
mv /var/lib/mock/cisco.el-7-x86_64/result/openstack-nova-15.0.6-3.el7.src.rpm ~/rpmbuild/SRPMS 
mock -r cisco-rhel7-osp11 --rebuild ~/rpmbuild/SRPMS/openstack-nova-15.0.6-3.el7.src.rpm
~~~

Note that the specific mock chroot configuration is irrelevant here; any mock chroot that has access to all of the BuildRequires will be able to reproduce the failure.

This failure doesn't occur with any of the other RHEL OSP components we've rebuilt in the same environment on the same infrastructure; it is unique to Nova.

Comment 1 Sahid Ferdjaoui 2017-08-18 15:27:53 UTC
We where not able to reproduce the issue on our last packages. Can you please provide more information of where the spec are coming from and reproducer?

Comment 5 Sahid Ferdjaoui 2017-08-22 09:21:56 UTC
Created attachment 1316564 [details]
build of rhos11

I just attached the result of my build.

Comment 13 Sahid Ferdjaoui 2017-08-23 12:33:13 UTC
Created attachment 1317074 [details]
packages

Comment 19 Sahid Ferdjaoui 2017-09-12 07:24:34 UTC
That needs for to be merged on RDO master

   https://review.rdoproject.org/r/9435

Comment 25 Sahid Ferdjaoui 2018-08-02 13:14:42 UTC
Please reopen if still needed

Comment 26 Red Hat Bugzilla 2023-09-14 04:02:16 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days