Public bug reported: >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) ** Affects: cobbler (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial ** Description changed: - 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. - + 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) + 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570891 Title: cobbler uses old cobblerd URL resulting in URLError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/1570891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs