Source: cobbler
Severity: important
Tags: patch

Dear Maintainer,

Executing `cobbler get-loaders` or `cobbler signature update` with
2.6.6+dfsg1-12 results in:

Exception occured: <class 'urlgrabber.grabber.URLGrabError'>
Exception value: [Errno 14] PYCURL ERROR 6 - "Could not resolve host:
www.cobblerd.org"
Exception Info:
  File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 601, in
signature_update
    response = urlgrabber.grabber.urlopen(self.settings().signature_url,
proxies=proxies)
   File "/usr/lib/python2.7/dist-packages/urlgrabber/grabber.py", line
628, in urlopen
    return default_grabber.urlopen(url, **kwargs)
   File "/usr/lib/python2.7/dist-packages/urlgrabber/grabber.py", line
926, in urlopen
    return self._retry(opts, retryfunc, url)
   File "/usr/lib/python2.7/dist-packages/urlgrabber/grabber.py", line
886, in _retry
    r = apply(func, (opts,) + args, {})
   File "/usr/lib/python2.7/dist-packages/urlgrabber/grabber.py", line
925, in retryfunc
    return PyCurlFileObject(url, filename=None, opts=opts)
   File "/usr/lib/python2.7/dist-packages/urlgrabber/grabber.py", line
1063, in __init__
    self._do_open()
   File "/usr/lib/python2.7/dist-packages/urlgrabber/grabber.py", line
1355, in _do_open
    self._do_grab()
   File "/usr/lib/python2.7/dist-packages/urlgrabber/grabber.py", line
1485, in _do_grab
    self._do_perform()
   File "/usr/lib/python2.7/dist-packages/urlgrabber/grabber.py", line
1342, in _do_perform
    raise err

This was fixed upstream in 1c680061f85365dcf01d133286f1ff4c6e2acd64.

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-28-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd
diff -Nru cobbler-2.6.6+dfsg1/debian/changelog 
cobbler-2.6.6+dfsg1/debian/changelog
--- cobbler-2.6.6+dfsg1/debian/changelog        2016-01-31 00:15:42.000000000 
-0800
+++ cobbler-2.6.6+dfsg1/debian/changelog        2016-07-07 18:02:42.000000000 
-0700
@@ -1,3 +1,10 @@
+cobbler (2.6.6+dfsg1-12.1) unstable; urgency=medium
+
+  * debian/patches/remove_cobblerd.org_references.patch: Remove
+    references to cobblerd.org.
+
+ -- Nishanth Aravamudan <[email protected]>  Thu, 07 Jul 2016 
18:02:33 -0700
+
 cobbler (2.6.6+dfsg1-12) unstable; urgency=medium
 
   * koan now depends on libvirt-daemon-system instead of libvirt-bin.
diff -Nru 
cobbler-2.6.6+dfsg1/debian/patches/remove_cobblerd.org_references.patch 
cobbler-2.6.6+dfsg1/debian/patches/remove_cobblerd.org_references.patch
--- cobbler-2.6.6+dfsg1/debian/patches/remove_cobblerd.org_references.patch     
1969-12-31 16:00:00.000000000 -0800
+++ cobbler-2.6.6+dfsg1/debian/patches/remove_cobblerd.org_references.patch     
2016-07-07 18:02:25.000000000 -0700
@@ -0,0 +1,151 @@
+Description: Remove references to cobblerd.org
+ Upstream URL has moved from www.cobblerd.org to cobbler.github.io.
+Author: Nishanth Aravamudan <[email protected]>
+Origin: upstream, 
https://github.com/cobbler/cobbler/commit/1c680061f85365dcf01d133286f1ff4c6e2acd64
+
+--- cobbler-2.6.6+dfsg1.orig/README
++++ cobbler-2.6.6+dfsg1/README
+@@ -2,7 +2,7 @@ Cobbler
+ 
+ Cobbler is a Linux installation server that allows for rapid setup of network 
installation environments. It glues together and automates many associated 
Linux tasks so you do not have to hop between lots of various commands and 
applications when rolling out new systems, and, in some cases, changing 
existing ones. It can help with installation, DNS, DHCP, package updates, power 
management, configuration management orchestration, and much more.
+ 
+-Read more at http://www.cobblerd.org
++Read more at http://cobbler.github.io
+ 
+ To view the manpages, install the RPM and run "man cobbler" or run "perldoc 
cobbler.pod" from a source checkout.  "koan" also has a manpage.
+ 
+--- cobbler-2.6.6+dfsg1.orig/cobbler/action_dlcontent.py
++++ cobbler-2.6.6+dfsg1/cobbler/action_dlcontent.py
+@@ -46,7 +46,7 @@ class ContentDownloader:
+         they can still source their cross-arch bootloader content manually.
+         """
+ 
+-        content_server = "http://www.cobblerd.org/loaders";
++        content_server = "http://cobbler.github.io/loaders";
+         dest = "/var/lib/cobbler/loaders"
+ 
+         files = (
+--- cobbler-2.6.6+dfsg1.orig/cobbler/settings.py
++++ cobbler-2.6.6+dfsg1/cobbler/settings.py
+@@ -126,7 +126,7 @@ DEFAULTS = {
+     "server"                              : ["127.0.0.1","str"],
+     "sign_puppet_certs_automatically"     : [0,"bool"],
+     "signature_path"                      : 
["/var/lib/cobbler/distro_signatures.json","str"],
+-    "signature_url"                       : 
["http://www.cobblerd.org/signatures/latest.json","str";],
++    "signature_url"                       : 
["http://cobbler.github.io/signatures/latest.json","str";],
+     "snippetsdir"                         : 
["/var/lib/cobbler/snippets","str"],
+     "template_remote_kickstarts"          : [0,"bool"],
+     "virt_auto_boot"                      : [0,"bool"],
+--- cobbler-2.6.6+dfsg1.orig/docs/man/cobbler.1.pod
++++ cobbler-2.6.6+dfsg1/docs/man/cobbler.1.pod
+@@ -26,7 +26,7 @@ The main advantage of cobbler is that it
+ 
+ This manpage will focus on the cobbler command line tool for use in 
configuring cobbler.  There is also mention
+ of the Cobbler WebUI which is usable for day-to-day operation of Cobbler once 
installed/configured.  Docs on
+-the API and XMLRPC components are available online at http://www.cobblerd.org.
++the API and XMLRPC components are available online at http://cobbler.github.io
+ 
+ Most users will be interested in the Web UI and should set it up, though the 
command line is needed for initial configuration -- in particular "cobbler 
check" and "cobbler import", as well as the repo mirroring features.  All of 
these are described later in the documentation.
+ 
+@@ -955,7 +955,7 @@ Triggers provide a way to integrate cobb
+ 
+ =head2 API
+ 
+-Cobbler also makes itself available as an XMLRPC API for use by higher level 
management software.  Learn more at http://www.cobblerd.org.  
++Cobbler also makes itself available as an XMLRPC API for use by higher level 
management software.  Learn more at http://cobbler.github.io
+ 
+ =head2 WEB USER INTERFACE
+ 
+@@ -985,7 +985,7 @@ Cobbler has a mailing list for user and
+ 
+ IRC channel:  irc.freenode.net (#cobbler)
+ 
+-Official web site, bug tracker, and Wiki: http://www.cobblerd.org
++Official web site, bug tracker, and Wiki: http://cobbler.github.io
+ 
+ =head1 AUTHOR
+ 
+--- cobbler-2.6.6+dfsg1.orig/setup.py
++++ cobbler-2.6.6+dfsg1/setup.py
+@@ -567,7 +567,7 @@ if __name__ == "__main__":
+         long_description = "Cobbler is a network install server.  Cobbler 
supports PXE, virtualized installs, and reinstalling existing Linux machines.  
The last two modes use a helper tool, 'koan', that integrates with cobbler.  
There is also a web interface 'cobbler-web'.  Cobbler's advanced features 
include importing distributions from DVDs and rsync mirrors, kickstart 
templating, integrated yum mirroring, and built-in DHCP/DNS Management.  
Cobbler has a XMLRPC API for integration with other applications.",
+         author = "Team Cobbler",
+         author_email = "[email protected]",
+-        url = "http://www.cobblerd.org/";,
++        url = "http://cobbler.github.io/";,
+         license = "GPLv2+",
+         requires = [
+             "mod_python",
+--- cobbler-2.6.6+dfsg1.orig/templates/iso/buildiso.template
++++ cobbler-2.6.6+dfsg1/templates/iso/buildiso.template
+@@ -1,6 +1,6 @@
+ DEFAULT MENU
+ PROMPT 0
+-MENU TITLE Cobbler | http://www.cobblerd.org/
++MENU TITLE Cobbler | http://github.cobbler.io/
+ TIMEOUT 200
+ TOTALTIMEOUT 6000
+ ONTIMEOUT local
+--- cobbler-2.6.6+dfsg1.orig/templates/pxe/pxedefault.template
++++ cobbler-2.6.6+dfsg1/templates/pxe/pxedefault.template
+@@ -1,6 +1,6 @@
+ DEFAULT menu
+ PROMPT 0
+-MENU TITLE Cobbler | http://www.cobblerd.org/
++MENU TITLE Cobbler | http://cobbler.github.io/
+ TIMEOUT 200
+ TOTALTIMEOUT 6000
+ ONTIMEOUT $pxe_timeout_profile
+--- cobbler-2.6.6+dfsg1.orig/templates/reporting/build_report_email.template
++++ cobbler-2.6.6+dfsg1/templates/reporting/build_report_email.template
+@@ -8,7 +8,7 @@ Subject: $subject (profile: $name, ip: $
+ 
+ Cobbler build report.
+ =======================================================
+-http://www.cobblerd.org/
++http://github.cobbler.io/
+ 
+ #if $getVar("interfaces","") != "":
+ 
+--- cobbler-2.6.6+dfsg1.orig/web/cobbler_web/templates/blank.tmpl
++++ cobbler-2.6.6+dfsg1/web/cobbler_web/templates/blank.tmpl
+@@ -2,7 +2,7 @@
+ 
+ #block body
+ #if $getVar('more_blank','') == ''
+-You are now logged in to <A HREF="http://www.cobblerd.org/";>Cobbler</A>.
++You are now logged in to <A HREF="http://github.cobbler.io/";>Cobbler</A>.
+ 
+ Main screen turn on.
+ #else
+--- cobbler-2.6.6+dfsg1.orig/web/cobbler_web/templates/index.tmpl
++++ cobbler-2.6.6+dfsg1/web/cobbler_web/templates/index.tmpl
+@@ -2,7 +2,7 @@
+ 
+ {% block content %}
+ 
+-Welcome to <a href="http://www.cobblerd.org/";>Cobbler {{ version }}</a>.
++Welcome to <a href="http://github.cobbler.io/";>Cobbler {{ version }}</a>.
+ <p>
+   Currently logged in as <b>{{ username }}</b>.
+ </p>
+--- cobbler-2.6.6+dfsg1.orig/web/cobbler_web/templates/master.tmpl
++++ cobbler-2.6.6+dfsg1/web/cobbler_web/templates/master.tmpl
+@@ -61,7 +61,7 @@
+       <ul>
+         <li><a href="/cobbler_web/check" class="menu">Check</a></li>
+         <li><a href="/cobbler_web/events" class="menu">Events</a></li>
+-        <li><a href="http://www.cobblerd.org/manuals/";>Online 
Documentation</a></li>
++        <li><a href="http://github.cobbler.io/manuals/";>Online 
Documentation</a></li>
+         <li><a href="http://webchat.freenode.net?channels=#cobbler";>Online 
Help Chat</a></li>
+       </ul>
+     </div>
+@@ -73,7 +73,7 @@
+     <div id="spacer">&nbsp</div>
+   </div> <!-- body -->
+   <div id="footer">
+-    <a href="http://www.cobblerd.org/";>Cobbler {{ version }}</a>
++    <a href="http://github.cobbler.io/";>Cobbler {{ version }}</a>
+   </div>
+   <div id="jsGrowl"></div>
+ </div> <!-- container -->
diff -Nru cobbler-2.6.6+dfsg1/debian/patches/series 
cobbler-2.6.6+dfsg1/debian/patches/series
--- cobbler-2.6.6+dfsg1/debian/patches/series   2016-01-31 00:15:42.000000000 
-0800
+++ cobbler-2.6.6+dfsg1/debian/patches/series   2016-07-07 18:01:07.000000000 
-0700
@@ -12,3 +12,4 @@
 fix-defaults-settings.patch
 fix-wsgi-application-definition-with-django-1.7.patch
 added-fuel-bootstrap-iso-as-source-for-pxelinux.0.patch
+remove_cobblerd.org_references.patch

Reply via email to