[Spacewalk-list] Activation Key auto deploy
Michael LINDER
michael.linder at pt-consulting.eu
Tue Sep 17 11:30:14 UTC 2013
Hello,
As we can see into logs below the action is really done (underlined
line), I think issue is concerning log writing (italic underlined line).
[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
Concerning the command rhn-actions --enable-all, I have got a post
installation script which is in charge to run this command.
Best regards,
Michael Linder
System Administrator
_______________________________________________________________
On 09/17/2013 12:43 PM, Thomas Foster wrote:
> Did you run the rhn-actions --enable-all script to be able to run jobs
> on the system?
>
>
> On Tue, Sep 17, 2013 at 6:14 AM, Michael LINDER
> <michael.linder at pt-consulting.eu
> <mailto:michael.linder at pt-consulting.eu>> wrote:
>
> Hello,
>
> Nobody has an idea about this issue?
>
> Best regards,
>
> Michael Linder
>
> System Administrator
>
> Mail: michael.linder at pt-consulting.eu
> <mailto:michael.linder at pt-consulting.eu>
> Phone: +352 621 311 297 <tel:%2B352%20621%20311%20297>
> Internet: www.pt-consulting.eu <http://www.pt-consulting.eu>
> _______________________________________________________________
>
>
> DISCLAIMER: www.pt-consulting.eu/disclaimer.html
> <http://www.pt-consulting.eu/disclaimer.html>
>
> P Before printing, think about ENVIRONMENTAL responsibility
>
> On 09/13/2013 10:43 AM, Michael LINDER wrote:
>
> 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,
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130917/bcfcf0ef/attachment.htm>
More information about the Spacewalk-list
mailing list