Hello,

We are running spacewalk 2.0 (fresh install), into our kickstart we have an Activation Key which will deployed some configuration automatically during installation. The step is done successfully, but into web interface we see failed action, we have a look into /var/log/up2date logfile from client and below content:

[Fri Sep 13 10:15:24 2013] up2date successfully retrieved authentication token from up2date server
[Fri Sep 13 10:15:25 2013] up2date
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 309, in deploy
log_to_file(0, "Files successfully deployed: %s %s" % (format_file_string(files, create_key_list()), str(extras)))
  File "/usr/share/rhn/config_common/rhn_log.py", line 109, in log_to_file
    return apply(Logger().log_to_file, args)
  File "/usr/share/rhn/config_common/rhn_log.py", line 45, in log_to_file
    self.write_to_logfile(outstr)
File "/usr/share/rhn/config_common/rhn_log.py", line 65, in write_to_logfile
    sys.exit(1)
<type 'exceptions.SystemExit'>: 1

We have another look into /root/ks-rhn-post.log:

/tmp/ks-script-zxVqs8: line 207: perl: command not found
/tmp/ks-script-zxVqs8: line 211: wget: command not found
error: File not found by glob: /tmp/rhn_rpms/optional/pyOpenSSL*
error: File not found by glob: /tmp/rhn_rpms/optional/rhnlib*
error: File not found by glob: /tmp/rhn_rpms/optional/libxml2-python*
/tmp/ks-script-zxVqs8: line 213: perl: command not found
cp: cannot stat `/tmp/ks-tree-copy/*': No such file or directory
/tmp/ks-script-zxVqs8: line 230: wget: command not found
/tmp/ks-script-zxVqs8: line 231: perl: command not found

does not have permissions to create file  /var/log/rhncfg-actions

It seems during installation, information could not be written into /var/log/rhncfg-actions. Do you have an idea? When we try to see content of /usr/share/rhn/config_common/rhn_log.py this file is not existing. I repeat action are really done but report into web interface is failed.

Best regards,

--
Michael Linder

System Administrator

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to