Fuel-agent shouldn't use sdist during building packages
Bug #1604005 reported by
Mikhail Ivanov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Critical
|
Mikhail Ivanov |
Bug Description
For now, fuel-agent generate sdist for building rpm and deb packages [1][2].
This method doesn't use etc/ subdirectory, that required during building.
If we remove
skip_git_sdist = True
from setup.cfg [3], sdist will be generated with etc/, but we can't use patches before building.
[1]https:/
[2]https:/
[3]https:/
Changed in mos: | |
milestone: | none → 10.0 |
importance: | Undecided → High |
tags: | added: area-mos |
Changed in mos: | |
assignee: | nobody → Fuel Core Team (fuel-core) |
importance: | High → Critical |
Changed in mos: | |
status: | New → In Progress |
Changed in mos: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
During .rpm build: build/BUILDROOT /fuel-agent- 10.0~b1- 1.el7~mos4. x86_64/ etc/fuel- agent build/BUILD/ fuel-agent- 10.0~b1/ etc/fuel- agent/fuel- agent.conf. sample /builddir/ build/BUILDROOT /fuel-agent- 10.0~b1- 1.el7~mos4. x86_64/ etc/fuel- agent/fuel- agent.conf build/BUILD/ fuel-agent- 10.0~b1/ etc/fuel- agent/fuel- agent.conf. sample' : No such file or directory rpm-tmp. GxmVLr (%install) rpm-tmp. GxmVLr (%install) python2. 7/site- packages/ mockbuild/ trace_decorator .py", line 88, in trace python2. 7/site- packages/ mockbuild/ util.py" , line 547, in do Error(" Command failed. See logs for output.\n # %s" % (command,), child.returncode) build/SPECS/ fuel-agent. spec /home/abuild/ rpmbuild/ fuel-agent- 10.0~b1- 1.el7~mos4. src.rpm) Config( centos- 7-x86_64) 0 minutes 13 seconds buildresult ------- ------- ------- ------- ------- ------ /packaging- ci.infra. mirantis. net/job/ master- pkg-pipeline- centos/ 4042/consoleFul l
DEBUG: RPM build errors:
DEBUG: + install -d -m 755 /builddir/
DEBUG: + install -p -D -m 644 /builddir/
DEBUG: install: cannot stat '/builddir/
DEBUG: error: Bad exit status from /var/tmp/
DEBUG: Bad exit status from /var/tmp/
DEBUG: Child return code was: 1
INFO: EXCEPTION: [Error()]
Traceback (most recent call last):
File "/usr/lib/
result = func(*args, **kw)
File "/usr/lib/
raise exception.
Error: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/
ERROR: Exception(
INFO: Results and/or logs in: /home/abuild/
DEBUG: kill orphans
-------
https:/
During .deb build: /debian/ fuel-agent/ /etc': No such file or directory dh_install] Error 1 dh_install' failed ------- ------- ------- ------- ------- ------ /packaging- ci.infra. mirantis. net/job/ master- pkg-mos- build-ubuntu- xenial/ 1098/consoleFul l
cp -r /«PKGBUILDDIR»/etc /«PKGBUILDDIR»
cp: cannot stat '/«PKGBUILDDIR»
make[1]: *** [override_
debian/rules:22: recipe for target 'override_
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [binary] Error 2
debian/rules:12: recipe for target 'binary' failed
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
-------
https:/