cobbler uses old cobblerd URL resulting in URLError

Bug #1570891 reported by Muelli on 2016-04-15
This bug affects 3 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
cobbler (Ubuntu)

Bug Description

From patching /usr/lib/python2.7/dist-packages/cobbler/ to log the URL (it should really do that...) I learned that the currently deployed cobbler version tries to download
That, however, seems to be defunct and I receive a Exception occured: <class 'urllib2.URLError'>

The new URL seems to be according to There, they recommend patching /usr/lib/python2.7/dist-packages/cobbler/ which seems to help.

FWIW: The new code look like this:

    def signature_update(self, logger):
            tmpfile = tempfile.NamedTemporaryFile()
            url = self.settings().signature_url
  "Getting %s" % url)
            response = urllib2.urlopen(url)

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cobbler (not installed)
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Apr 15 16:16:16 2016
InstallationDate: Installed on 2015-12-02 (134 days ago)
InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151027)
SourcePackage: cobbler
UpgradeStatus: No upgrade log present (probably fresh install)

description: updated
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cobbler (Ubuntu):
status: New → Confirmed
Changed in cobbler (Ubuntu):
importance: Undecided → Medium
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers