[Spacewalk-list] Ubuntuu 12.10 activation and channels.

William Palfreman william at palfreman.com
Tue May 28 19:01:18 UTC 2013


I am building an evaluation spacewalk system, so as to test out its
suitability. We have here a mixture of RHEL6, Ubuntu and some SUSE and
FreeBSD.

At the moment I am focusing on the Ubuntu systems, as the RHEL ones
already get this from the real RHN site, so an overview of the update
state for managed systems is not so urgent.

With a RHEL machines I can register with this activation key and get
the (currently empty) channel I intend to use for ubuntu.  With an
Ubuntu system I get nothing.  I don't see any channels available for
it in the web interface, and rhn-channel -l says "This system is not
associated with any channel" and with -L gives no output after asking
for my username and password.

Any ideas?

# rhnreg_ks --serverUrl=http:/myhostname/XMLRPC
--activationkey="2-xxx-ubuntu" --force
Warning: unable to enable rhnsd with chkconfig
# ps axuwww | grep rhnsd
root      2412  0.0  0.0   7176   712 ?        Ss   May24   0:01 /usr/sbin/rhnsd
root      5888  0.0  0.0   9392   924 pts/0    S+   20:55   0:00 grep
--color=auto rhnsd
# rhn-channel -l
This system is not associated with any channel
# tail /var/log/up2date
  File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump
    f(self, value, write)
  File "/usr/lib/python2.7/xmlrpclib.py", line 658, in dump_nil
    raise TypeError, "cannot marshal None unless allow_none is enabled"
<type 'exceptions.TypeError'>: cannot marshal None unless allow_none is enabled

[Tue May 28 20:50:31 2013] up2date Warning: haldaemon or messagebus
service not running. Cannot probe hardware and DMI information.

[Tue May 28 20:55:35 2013] up2date Warning: haldaemon or messagebus
service not running. Cannot probe hardware and DMI information.
-----------------------------------------------------------------------------------------------------

Do I need the hal daemon running to subscribe to channels?

(BTW, the above error I fixed earlirwith this patch in /usr/lib.  I
read in the forum archives that it is an Ubuntu bug:

--- python2.7/xmlrpclib.py      2013-05-28 20:44:38.000000000 +0200
+++ new/xmlrpclib.py    2013-05-28 20:44:24.000000000 +0200
@@ -654,8 +654,8 @@
         f(self, value, write)

     def dump_nil (self, value, write):
-        if not self.allow_none:
-            raise TypeError, "cannot marshal None unless allow_none is enabled"
+#       if not self.allow_none:
+#           raise TypeError, "cannot marshal None unless allow_none is enabled"
         write("<value><nil/></value>")
     dispatch[NoneType] = dump_nil




More information about the Spacewalk-list mailing list