Project

General

Profile

Actions

Bug #6884

closed

Centos mirror in "Installation Media" doesn't work for versions without $minor

Added by Jorick Astrego over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Category:
Unattended installations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 3 (1 open2 closed)

Related to Foreman - Bug #10841: Foreman adds Operating systems no matter whatResolved06/16/2015Actions
Related to Foreman - Refactor #11019: Operatingsystem model limitationsNew07/06/2015Actions
Related to Foreman - Bug #13104: CentOS minor version numbering issue - preventing buildClosedTomer Brisker01/10/2016Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Description updated (diff)
  • Category set to Unattended installations
Actions #2

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/)

Actions #3

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

Actions #4

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.

Actions #5

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 ()
Actions #6

Updated by Daniel Lobato Garcia almost 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Dominic Cleal almost 10 years ago

  • Assignee set to Daniel Lobato Garcia
  • Translation missing: en.field_release set to 28
Actions #8

Updated by Mathieu Parent almost 10 years ago

Couldn't this be fixed in 1.7 too?

Actions #9

Updated by Dominic Cleal almost 10 years ago

  • Translation missing: en.field_release changed from 28 to 32
Actions #10

Updated by Marek Hulán over 9 years ago

  • Related to Bug #10841: Foreman adds Operating systems no matter what added
Actions #11

Updated by Dominic Cleal over 9 years ago

Actions #12

Updated by Michael Deffenbaugh almost 9 years ago

  • Related to Bug #13104: CentOS minor version numbering issue - preventing build added
Actions

Also available in: Atom PDF