[Spacewalk-list] Activation Key auto deploy

artem at e-inet.ru artem at e-inet.ru
Tue Sep 17 10:24:49 UTC 2013


Hi,

Chek permission and installed packages... 

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

> /tmp/ks-script-zxVqs8: line 213: perl: command not found
> /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: 

Artem

Отправлено с BlackBerry®

-----Original Message-----
From: Michael LINDER <michael.linder at pt-consulting.eu>
Sender: spacewalk-list-bounces at redhat.com
Date: Tue, 17 Sep 2013 12:14:20 
To: spacewalk-list at redhat.com<spacewalk-list at redhat.com>
Reply-To: michael.linder at pt-consulting.eu, spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Activation Key auto deploy

Hello,

Nobody has an idea about this issue?

Best regards,

Michael Linder

System Administrator

Mail: michael.linder at pt-consulting.eu
Phone: +352 621 311 297
Internet: www.pt-consulting.eu
_______________________________________________________________


DISCLAIMER: 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
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list