make iso error because of missing range support at mirror.fuel-infra.org
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Triaged
|
Medium
|
Unassigned |
Bug Description
Sometimes make iso fails because there are partially downloaded files
by yumdownloader.
The error message is quite obscure and there is no easy fix.
Here is an snippet from the log:
# Yumdownloader workaround number four:
# yumdownloader should fail if some errors appears
test `grep "Errno" /vagrant/
make: *** [/vagrant/
A detailed check reveals:
$ grep "Errno" /vagrant/
http://
Could not download/verify pkg logrotate-
The 'HTTP Error 416' is caused by the server not supporting the
requests with the Range header made by yumdownloader.
I do not know if there is a configuration option to force a full
download for yumdownloader as a workaround on the client.
A proper solution is to support range headers on the server, as
usually the mirrors do for saving bandwidth.
A really naive workaround: find and delete the partial downloaded files:
grep "Errno" /vagrant/
The problem is simple to reproduce, truncate a random rpm already
downloaded and restart the make iso:
rm ./build/
truncate -s 100k ./local_
make iso
Changed in fuel: | |
assignee: | nobody → Fuel OSCI Team (fuel-osci) |
importance: | Undecided → Medium |
status: | New → Triaged |
milestone: | none → 6.0 |
Changed in fuel: | |
assignee: | Registry Administrators (registry) → nobody |
Hello, Daniele.
Please use "make deep_clean" before each run "make iso".