Bug #6884
closedCentos mirror in "Installation Media" doesn't work for versions without $minor
Description
http://mirror.centos.org/centos/$major.$minor/os/$arch, doesn't work for Centos 7 (or 6, or 5)
D, [2014-08-01T14:41:13.820310 #3745] DEBUG -- : Starting task (total: 0): /usr/bin/wget --timeout=10 --tries=3 --no-check-certificate -nv -c "http://mirror.centos.org/centos/7./os/x86_64/images/pxeboot/vmlinuz" -O "/var/lib/tftpboot/boot/Centos7-7-x86_64-vmlinuz" D, [2014-08-01T14:41:13.914386 #3745] DEBUG -- : Starting task (total: 0): /usr/bin/wget --timeout=10 --tries=3 --no-check-certificate -nv -c "http://mirror.centos.org/centos/7./os/x86_64/images/pxeboot/initrd.img" -O "/var/lib/tftpboot/boot/Centos7-7-x86_64-initrd.img" E, [2014-08-01T14:41:14.053902 #3745] ERROR -- : [4851] http://mirror.centos.org/centos/7./os/x86_64/images/pxeboot/vmlinuz: E, [2014-08-01T14:41:14.054012 #3745] ERROR -- : [4851] 2014-08-01 14:41:14 ERROR 404: Not Found. E, [2014-08-01T14:41:14.066278 #3745] ERROR -- : [5334] http://mirror.centos.org/centos/7./os/x86_64/images/pxeboot/initrd.img: E, [2014-08-01T14:41:14.066342 #3745] ERROR -- : [5334] 2014-08-01 14:41:14 ERROR 404: Not Found.
So created a new Centos 7 mirror with:
http://mirror.centos.org/centos/$major/os/$arch
But there must be some cleaner way.
Updated by Dominic Cleal over 10 years ago
- Description updated (diff)
- Category set to Unattended installations
Updated by Marek Hulán over 10 years ago
Confirming, for some reason they don't have 7.0/ directory but either 7 or 7.0.1406 (see http://mirror.centos.org/centos/)
Updated by Ronald van Zantvoort over 10 years ago
Wouldn't it be nicer to fill $release with "#{major}#{('.' + minor) unless minor.empty?}" (which is already in the code anyway, just disabled for RedHat family)?
Updated by Pasi Karkkainen about 10 years ago
Ronald van Zantvoort wrote:
Wouldn't it be nicer to fill $release with "#{major}#{('.' + minor) unless minor.empty?}" (which is already in the code anyway, just disabled for RedHat family)?
Yes, indeed.
This bug is still a problem.. in a fresh install of Foreman 1.7.0 you still have the broken CentOS 7.0 install media url specified as a default.
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2107 added
- Pull request deleted (
)
Updated by Daniel Lobato Garcia almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 7560679b9849b0fc5c168d5047bd3469d719b45a.
Updated by Dominic Cleal almost 10 years ago
- Assignee set to Daniel Lobato Garcia
- Translation missing: en.field_release set to 28
Updated by Mathieu Parent almost 10 years ago
Couldn't this be fixed in 1.7 too?
Updated by Dominic Cleal almost 10 years ago
- Translation missing: en.field_release changed from 28 to 32
Updated by Marek Hulán over 9 years ago
- Related to Bug #10841: Foreman adds Operating systems no matter what added
Updated by Dominic Cleal over 9 years ago
- Related to Refactor #11019: Operatingsystem model limitations added
Updated by Michael Deffenbaugh almost 9 years ago
- Related to Bug #13104: CentOS minor version numbering issue - preventing build added