[Spacewalk-list] Ubuntuu 12.10 activation and channels.

Jan Hutař jhutar at redhat.com
Wed May 29 05:42:16 UTC 2013


On Tue, 28 May 2013 21:01:18 +0200 William Palfreman
<william at palfreman.com> wrote:

> 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

Hello,
have not tried, but could you make sure your channel's
architecture is, say, "AMD64 Debian"? Fact you can register RHEL
systems there leads me to assumption you have architecture like
"x86_64".

Regards,
Jan



-- 
Jan Hutar     Systems Management QA
jhutar at redhat.com     Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130529/190d5002/attachment.sig>


More information about the Spacewalk-list mailing list