Bug 1234632 - cobbler hard-coded URIs updated in 2.6.9
Summary: cobbler hard-coded URIs updated in 2.6.9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: cobbler
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: James C.
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-22 21:35 UTC by Chris Blakely
Modified: 2015-07-27 23:11 UTC (History)
4 users (show)

Fixed In Version: cobbler-2.6.9-1.el6
Clone Of:
Environment:
Last Closed: 2015-07-27 23:11:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chris Blakely 2015-06-22 21:35:07 UTC
Description of problem:
Cobbler has updated their website URI from www.cobblerd.org to cobbler.github.io - older versions have the incorrect server URI hardcoded causing some operations to fail

Version-Release number of selected component (if applicable):
EPEL provides: 2.6.3-1.el6
Current version is: 2.6.9-7.1

How reproducible:
always

Steps to Reproduce:
1. install cobbler (yum install cobbler)
2. run "cobbler get-loaders"

Actual results:
task started: 2015-06-22_212536_get_loaders
task started (id=Download Bootloader Content, time=Mon Jun 22 21:25:36 2015)
path /var/lib/cobbler/loaders/README already exists, not overwriting existing content, use --force if you wish to update
path /var/lib/cobbler/loaders/COPYING.elilo already exists, not overwriting existing content, use --force if you wish to update
downloading http://www.cobblerd.org/loaders/COPYING.yaboot to /var/lib/cobbler/loaders/COPYING.yaboot
Exception occured: <class 'urlgrabber.grabber.URLGrabError'>
Exception value: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'www.cobblerd.org'"
Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 87, in run
    rc = self._run(self)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 181, in runner
    return self.remote.api.dlcontent(self.options.get("force",False), self.logger)
   File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 749, in dlcontent
    return grabber.run(force)
   File "/usr/lib/python2.6/site-packages/cobbler/action_dlcontent.py", line 83, in run
    urlgrabber.grabber.urlgrab(src, filename=dst, proxies=proxies)
   File "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py", line 618, in urlgrab
    return default_grabber.urlgrab(url, filename, **kwargs)
   File "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py", line 985, in urlgrab
    return self._retry(opts, retryfunc, url, filename)
   File "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py", line 886, in _retry
    r = apply(func, (opts,) + args, {})
   File "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py", line 971, in retryfunc
    fo = PyCurlFileObject(url, filename, opts)
   File "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py", line 1066, in __init__
    self._do_open()
   File "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py", line 1360, in _do_open
    self._do_grab()
   File "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py", line 1490, in _do_grab
    self._do_perform()
   File "/usr/lib/python2.6/site-packages/urlgrabber/grabber.py", line 1347, in _do_perform
    raise err

!!! TASK FAILED !!!


Expected results:
task started: 2015-06-22_212912_get_loaders
task started (id=Download Bootloader Content, time=Mon Jun 22 21:29:12 2015)
path /var/lib/cobbler/loaders/README already exists, not overwriting existing content, use --force if you wish to update
path /var/lib/cobbler/loaders/COPYING.elilo already exists, not overwriting existing content, use --force if you wish to update
path /var/lib/cobbler/loaders/COPYING.yaboot already exists, not overwriting existing content, use --force if you wish to update
downloading http://cobbler.github.com/loaders/COPYING.syslinux to /var/lib/cobbler/loaders/COPYING.syslinux
downloading http://cobbler.github.com/loaders/elilo-3.8-ia64.efi to /var/lib/cobbler/loaders/elilo-ia64.efi
downloading http://cobbler.github.com/loaders/yaboot-1.3.17 to /var/lib/cobbler/loaders/yaboot
downloading http://cobbler.github.com/loaders/pxelinux.0-3.86 to /var/lib/cobbler/loaders/pxelinux.0
downloading http://cobbler.github.com/loaders/menu.c32-3.86 to /var/lib/cobbler/loaders/menu.c32
downloading http://cobbler.github.com/loaders/grub-0.97-x86.efi to /var/lib/cobbler/loaders/grub-x86.efi
downloading http://cobbler.github.com/loaders/grub-0.97-x86_64.efi to /var/lib/cobbler/loaders/grub-x86_64.efi
*** TASK COMPLETE ***


Additional info:
expected results generated by:
wget http://download.opensuse.org/repositories/home:/libertas-ict:/cobbler26/CentOS_CentOS-6/noarch/cobbler-2.6.9-7.1.noarch.rpm
yum -y install cobbler-2.6.9-7.1.noarch.rpm
cobbler get-loaders

Possibly a fix is already in process?
https://github.com/cobbler/cobbler/issues/1509
https://admin.fedoraproject.org/updates/search/cobbler

Comment 1 Fedora Update System 2015-06-22 21:41:58 UTC
cobbler-2.6.9-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-6207/cobbler-2.6.9-1.el6

Comment 2 Fedora Update System 2015-06-25 23:55:34 UTC
Package cobbler-2.6.9-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing cobbler-2.6.9-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-6207/cobbler-2.6.9-1.el6
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2015-07-27 23:11:49 UTC
cobbler-2.6.9-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.