[Spacewalk-list] SystemID does not get created

Nick Tailor HTailor at BCLC.com
Tue Dec 2 00:46:27 UTC 2014


Okay,

So that worked but still cant rhn_check it fails with now

[Mon Dec  1 16:43:15 2014] up2date
Traceback (most recent call last):
  File "/usr/sbin/rhn_check", line 425, in <module>
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 96, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhn_check", line 86, in main
    self.__run_remote_actions()
  File "/usr/sbin/rhn_check", line 187, in __run_remote_actions
    action = self.__get_action(status_report)
  File "/usr/sbin/rhn_check", line 105, in __get_action
    ACTION_VERSION, status_report)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 38, in _request1
    ret = self._request(methodname, params)
  File "/usr/lib/python2.7/dist-packages/rhn/rpclib.py", line 381, in _request
    self._handler, request, verbose=self._verbose)
  File "/usr/lib/python2.7/dist-packages/rhn/transports.py", line 167, in request
    headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.7/dist-packages/rhn/transports.py", line 698, in send_http
    self._connection.connect()
  File "/usr/lib/python2.7/dist-packages/rhn/connections.py", line 183, in connect
    self.sock.init_ssl()
  File "/usr/lib/python2.7/dist-packages/rhn/SSL.py", line 90, in init_ssl
    self._ctx.load_verify_locations(f)
  File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 303, in load_verify_locations
    raise TypeError("cafile must be None or a byte string")
<type 'exceptions.TypeError'>: cafile must be None or a byte string

So I guess my question is. Has anyone got debian clients successfully working with spacewalk server and if so?

Is there is url explaining the setup?

Please and thank you ☺


Nick Tailor
http://www.nicktailor.com


From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Waldirio Manhães Pinheiro
Sent: December-01-14 4:23 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] SystemID does not get created

Nick

Is not a full answer to your question, btw can help you for now

https://www.redhat.com/archives/spacewalk-devel/2012-June/msg00035.html

B'Regards

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com<mailto:waldirio at gmail.com>
Skype: waldirio
Site: www.waldirio.com.br<http://www.waldirio.com.br>
Blog: blog.waldirio.com.br<http://blog.waldirio.com.br>
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html<http://www.waldirio.com.br/public.html>

On Mon, Dec 1, 2014 at 9:59 PM, Nick Tailor <HTailor at bclc.com<mailto:HTailor at bclc.com>> wrote:
I guess this may probably help :P ?

Error log

[Mon Dec  1 15:53:17 2014] up2date Warning: haldaemon or messagebus service not running. Cannot probe hardware and DMI information.

[Mon Dec  1 15:53:17 2014] up2date
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 218, in <module>
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 96, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhnreg_ks", line 151, in main
    rhnreg.sendPackages(systemId, packageList)
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 473, in sendPackages
    s.registration.add_packages(systemId, packageList)
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 63, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 203, in doCall
    ret = method(*args, **kwargs)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 38, in _request1
    ret = self._request(methodname, params)
  File "/usr/lib/python2.7/dist-packages/rhn/rpclib.py", line 377, in _request
    request = self._req_body(self._strip_characters(params), methodname)
  File "/usr/lib/python2.7/dist-packages/rhn/rpclib.py", line 232, in _req_body
    return xmlrpclib.dumps(params, methodname, encoding=self._encoding)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1085, in dumps
    data = m.dumps(params)
  File "/usr/lib/python2.7/xmlrpclib.py", line 632, in dumps
    dump(v, write)
  File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump
    f(self, value, write)
  File "/usr/lib/python2.7/xmlrpclib.py", line 714, in dump_array
    dump(v, write)
  File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump
    f(self, value, write)
  File "/usr/lib/python2.7/xmlrpclib.py", line 735, in dump_struct
    dump(v, write)
  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

Nick Tailor


From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>] On Behalf Of Nick Tailor
Sent: December-01-14 12:33 PM
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: [Spacewalk-list] SystemID does not get created

Hello,

I am trying to get my debian wheezy client to register to spacewalk server

I was able to get it registered however the systemID was not created.

Can anyone tell me how I fix this?

Please and thank you

Cheers

Nick Tailor

________________________________
This email is intended only for the addressee. It may contain confidential or proprietary information that cannot be disclosed without BCLC's permission. If you have received this email in error, please notify the sender immediately and delete the email.
________________________________
This email is intended only for the addressee. It may contain confidential or proprietary information that cannot be disclosed without BCLC's permission. If you have received this email in error, please notify the sender immediately and delete the email.

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list

________________________________
This email is intended only for the addressee. It may contain confidential or proprietary information that cannot be disclosed without BCLC's permission. If you have received this email in error, please notify the sender immediately and delete the email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141202/e9ccc007/attachment.htm>


More information about the Spacewalk-list mailing list