cobbler uses old cobblerd URL resulting in URLError

Bug #1570891 reported by Muelli
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Invalid
Medium
Unassigned
cobbler (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

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

The new URL seems to be http://cobbler.github.com/signatures/latest.json according to https://github.com/cobbler/cobbler/issues/1554. There, they recommend patching /usr/lib/python2.7/dist-packages/cobbler/settings.py which seems to help.

FWIW: The new code look like this:

    def signature_update(self, logger):
        try:
            tmpfile = tempfile.NamedTemporaryFile()
            url = self.settings().signature_url
            logger.info("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)

Revision history for this message
Muelli (ubuntu-bugs-auftrags-killer) wrote :
description: updated
Revision history for this message
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
Revision history for this message
Paul White (paulw2u) wrote :

'cobbler' is no longer included in any currently supported release of Ubuntu so I'm closing this bug report as it is no longer valid.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.