-
-
Notifications
You must be signed in to change notification settings - Fork 652
Closed as not planned
Labels
2.8.5Release 2.8.5Release 2.8.5Bug ReportReporting a bugReporting a bugDeprecatedDeprecated feature which will be removed in future versions.Deprecated feature which will be removed in future versions.
Milestone
Description
Describe the bug
cobbler get-loaders fails with 404 error on Centos 7 new install
Steps to reproduce
- Install Centos 7 from https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
- Install cobbler and its requirements:
yum install -y epel-release
yum upgrade -y
yum install -y net-tools bind-utils pykickstart syslinux fence-agents rsync debmirror dhcp wget
yum install -y python2-pip httpd cobbler cobbler-web xinetd vim- Configure and start cobbler
- Run get-loaders:
[root@area51-os-cobbler-01 ~]# cobbler get-loaders
task started: 2021-06-07_202830_get_loaders
task started (id=Download Bootloader Content, time=Mon Jun 7 20:28:30 2021)
path /var/lib/cobbler/loaders/README already exists, not overwriting existing content, use --force if you wish to update
downloading https://cobbler.github.io/loaders/COPYING.elilo to /var/lib/cobbler/loaders/COPYING.elilo
Exception occured: <class 'urlgrabber.grabber.URLGrabError'>
Exception value: [Errno 14] HTTPS Error 404 - Not Found
Exception Info:
File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 82, in run
rc = self._run(self)
File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 176, in runner
return self.remote.api.dlcontent(self.options.get("force",False), self.logger)
File "/usr/lib/python2.7/site-packages/cobbler/api.py", line 735, in dlcontent
return grabber.run(force)
File "/usr/lib/python2.7/site-packages/cobbler/action_dlcontent.py", line 73, in run
urlgrabber.grabber.urlgrab(src, filename=dst, proxies=proxies)
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 773, in urlgrab
return default_grabber.urlgrab(url, filename, **kwargs)
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1220, in urlgrab
return _run_callback(opts.failfunc, opts)
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1071, in _run_callback
return cb(obj)
File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1065, in _do_raise
raise obj.exception
!!! TASK FAILED !!!Expected behavior
get-loaders completes successfully
Cobbler version
[root@area51-os-cobbler-01 ~]# cobbler version
Cobbler 2.8.5
source: ?, ?
build time: Tue Oct 15 01:59:43 2019Operating system
CentOS Linux release 7.9.2009 (Core)
Cobbler log
Mon Jun 7 20:42:33 2021 - DEBUG | REMOTE CLI Authorized; user(?)
Mon Jun 7 20:42:33 2021 - INFO | REMOTE start_task(Download Bootloader Content); event_id(2021-06-07_204233_get_loaders); user(?)
Mon Jun 7 20:42:34 2021 - INFO | dlcontent
Screenshots
Additional information
It looks like https://cobbler.github.io/loaders/COPYING.elilo doesn't exist.
Metadata
Metadata
Assignees
Labels
2.8.5Release 2.8.5Release 2.8.5Bug ReportReporting a bugReporting a bugDeprecatedDeprecated feature which will be removed in future versions.Deprecated feature which will be removed in future versions.
Type
Projects
Status
Done