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.
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?