Comment 0 for bug 1570891

Revision history for this message
Muelli (ubuntu-bugs-auftrags-killer) wrote :

Low Public Exponent

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)