[Spacewalk-list] Error uploading files from client to config channel on Spacewalk Server

Choure, Siddharth schoure at 1worldsync.com
Fri Jun 7 17:40:42 UTC 2013


To answer my own question and maybe help someone else in the future:
The problem was the CA (RHNS-CA-CERT) certificate was wrong in
/usr/share/rhn.

To troubleshoot this problem, run -
#rhncfg-client list

If everything is ok, this command should list all the files that the client
is subscribed to. If the certs are wrong, it should error out here with SSL
validation error.

Siddharth Choure


On Thu, Jun 6, 2013 at 12:02 PM, Choure, Siddharth
<schoure at 1worldsync.com>wrote:

> Hi,
> I have a Spacewalk 1.9 installation with a few clients on it and today I
> tried uploading a file from a client to a config channel in Spacewalk and
> it failed. I got the following error -
>
> This action will be executed after 06/ 6/13 11:29:49 AM CDT.
>
> This action's status is: Failed.
> The client picked up this action on 06/ 6/13 11:29:56 AM CDT.
> The client completed this action on 06/ 6/13 11:29:56 AM CDT.
> Client execution returned "Fatal error in Python code occurred [[6]]"
> (code -1)
> Config Files:
> /root/hi
>
>
> The /var/log/up2date entry in the client looks like this -
>
>    Traceback (most recent call last):
>      File "/usr/sbin/rhn_check", line 347, in __run_action
>        (status, message, data) = CheckCli.__do_call(method, params,
>    kwargs)
>      File "/usr/sbin/rhn_check", line 340, in __do_call
>        retval = method(*params, **kwargs)
>      File "/usr/share/rhn/actions/configfiles.py", line 193, in upload
>        result = r.put_files(action_id, files)
>      File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 106,
>    in put_files
>        max_file_size = self.get_maximum_file_size()
>      File "/usr/share/rhn/config_common/repository.py", line 83, in
>    get_maximum_file_size
>        self.maximum_file_size = self._get_maximum_file_size()
>      File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 168,
>    in _get_maximum_file_size
>        self.system_id)
>      File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 51,
>    in rpc_call
>        (self, method_name) + params)
>      File "/usr/share/rhn/config_common/repository.py", line 382, in
>    rpc_call
>        sys.exit(2)
>    exceptions.SystemExit: 2
>
>
>    Any idea on what's going on?
>
>    Siddharth Choure
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130607/6205d6f8/attachment.htm>


More information about the Spacewalk-list mailing list