Bug 1480585 - Bug in nova specfile that prevents it from building successfully
Summary: Bug in nova specfile that prevents it from building successfully
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 11.0 (Ocata)
Hardware: All
OS: All
low
low
Target Milestone: ---
: 13.0 (Queens)
Assignee: Sahid Ferdjaoui
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks: ciscoosp11bugs 1401639
TreeView+ depends on / blocked
 
Reported: 2017-08-11 12:29 UTC by Ganesh Kadam
Modified: 2023-09-14 04:02 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-02 13:14:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
build of rhos11 (1.01 MB, text/plain)
2017-08-22 09:21 UTC, Sahid Ferdjaoui
no flags Details
packages (31.55 KB, text/plain)
2017-08-23 12:33 UTC, Sahid Ferdjaoui
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.