[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spacewalk-list
Subject:    Re: [Spacewalk-list] Multiple issues with kickstarting functionnality
From:       Waldirio_Manhães_Pinheiro <waldirio () gmail ! com>
Date:       2014-10-30 17:42:12
Message-ID: CAF6B7Hztdz+0eOz7szfm+DvhA3HOy7W3dix=0YHWqMTvHh4tUg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Pierre,

I just received and added in my SW/kickstart.

The same problem that you got, my recommendation is:

1. You can create a new KS adding scripts that you know how work in your
actual ks file

or

2. You can comment line by line and testing, to check if the problem will
persist, so following by this way you will discovery exactly where are the
"possible" problem in you file.

Ps.: Just to add information, don't see "problem" as problem :-), only a
different format to be accept directly in SW environment.

Let me know if was clear in my explanation.

I can help you more, but now I'm very busy! ;-)

B'Regards


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

On Thu, Oct 30, 2014 at 2:32 PM, Pierre Casenove <pcasenove@gmail.com>
wrote:

> Hello,
> Thanks for the answer and the help,I've attached the KS to the mail.
>
> 2014-10-30 17:18 GMT+01:00 Waldirio Manhães Pinheiro <waldirio@gmail.com>:
>
>> Pierre
>>
>> Can you share your ks file !?
>>
>> ______________
>> Atenciosamente
>> Waldirio
>> msn: waldirio@gmail.com
>> Skype: waldirio
>> Site: www.waldirio.com.br
>> Blog: blog.waldirio.com.br
>> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
>> PGP: www.waldirio.com.br/public.html
>>
>> On Thu, Oct 30, 2014 at 2:17 PM, Waldirio Manhães Pinheiro <
>> waldirio@gmail.com> wrote:
>>
>>> Hello Pierre
>>>
>>> About client, you can use Firefox or Chrome without problem. I got some
>>> problems in IE when showing the highlights of scripts for example.
>>>
>>> About scripts, you can select in your KS template in TAB Scripts, add
>>> new script. Here you will define the content of scripts, at the end you can
>>> select if will be executed before or after installation.
>>>
>>> About your cryptography, you can remove the password line and define
>>> again using the webUI.
>>>
>>> About detect your first hard drive, we have to test !! :-)
>>>
>>> B'Regards
>>>
>>> ______________
>>> Atenciosamente
>>> Waldirio
>>> msn: waldirio@gmail.com
>>> Skype: waldirio
>>> Site: www.waldirio.com.br
>>> Blog: blog.waldirio.com.br
>>> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
>>> PGP: www.waldirio.com.br/public.html
>>>
>>> On Thu, Oct 30, 2014 at 1:12 PM, Pierre Casenove <pcasenove@gmail.com>
>>> wrote:
>>>
>>>> Hello,
>>>> I'm trying to configure spacewalk to kickstart my system.
>>>> Currently, we're using only a customized DVD, with ageneric kickstart,
>>>> and I'm trying to port this kickstart to spacewalk...
>>>> Here are the issue I'm facing:
>>>> - What browser should I use??? I've tried IE 10, Firefox 26, latest
>>>> chrome, and on each browser I have different issues:
>>>> Chrome and firefox: I can't kickstart pre and post script, a rtext box
>>>> seems to be missing...
>>>> I can upload a kickstart, but then nothing appears when I go to
>>>> "Kickstart file" link
>>>> IE: the wbe page layout for uploading a kickstarting is all messed up,
>>>> but at least, I can view the kickstart file after it has been uploaded...
>>>>
>>>> - When I manually create a kickstart, I have this problem. In my
>>>> current KS, I use "%include" directives, to include pre-scripts. These
>>>> scripts configures are mainly used to detect the first hard drive, and
>>>> calculate the "bootloader" and "part" kickstart keyword...
>>>> In spacewalk UI, I did not finc the way to use include directive, as
>>>> well as not using the bootloader directive  (in advanced Options link). As
>>>> i told, in my kickstart, the bootloader directive is calculated in my pre
>>>> script... so I dont need to use it!
>>>>
>>>> - So I tried to upload my kickstart... but it also fails!
>>>> 1/ I have this error message:
>>>> This kickstart profile uses a different type of encryption by default
>>>> than the root password is currently using. You must reset the root password
>>>> to encrypt it with the new method.
>>>> ---> Can i live with this?
>>>>
>>>> 2/ I have another error:
>>>> <class 'Cheetah.Parser.ParseError'>:
>>>> Error in the Python code which Cheetah generated for this template:
>>>>
>>>> ===============================================================================
>>>> EOL while scanning string literal
>>>> (cheetah_DynamicallyCompiledCheetahTemplate_1414681774_07_98912.py, line
>>>> 151)
>>>> Line|Python Code
>>>> ----|-------------------------------------------------------------
>>>> 149 |
>>>> 150 |        try:
>>>> 151 |            return eval('''VFSL([locals()]+SL+[globals(),
>>>> __builtin__],"ls",True) -l /dev/cdrom | awk '{print $NF}'''', globals(),
>>>> localsDict)
>>>>                               ^
>>>> 152 |            return self._CHEETAH__errorCatcher.warn(exc_val=e,
>>>> code= u'VFSL([locals()]+SL+[globals(), __builtin__],"ls",True) -l
>>>> /dev/cdrom | awk \'{print $NF}\'' , rawCode= u"$(ls -l /dev/cdrom | awk
>>>> '{print $NF}')" , lineCol=(259, 7))
>>>> 153 |
>>>> 154 |    def __errorCatcher14(self, localsDict={}):
>>>> Here is the corresponding Cheetah code.
>>>> ** I had to guess the line & column numbers, so they are probably
>>>> incorrect:
>>>> Line 42, column 5
>>>>
>>>> Line|Cheetah Code
>>>> ----|-------------------------------------------------------------
>>>> 42  |set $(list-harddrives|grep -v sr)
>>>>             ^
>>>>
>>>>
>>>> In my kickstart, I, indeed, have the following line of code: set
>>>> $(list-harddrives|grep -v sr), used to detexct the first hardrive...
>>>>
>>>>
>>>> Thanks in advance for your help
>>>>
>>>> Pierre
>>>>
>>>> _______________________________________________
>>>> Spacewalk-list mailing list
>>>> Spacewalk-list@redhat.com
>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>
>>>
>>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>

[Attachment #5 (text/html)]

<div dir="ltr">Pierre,<div><br></div><div>I just received and added in my \
SW/kickstart.</div><div><br></div><div>The same problem that you got, my \
recommendation is:</div><div><br></div><div>1. You can create a new KS adding scripts \
that you know how work in your actual ks \
file</div><div><br></div><div>or</div><div><br></div><div>2. You can comment line by \
line and testing, to check if the problem will persist, so following by this way you \
will discovery exactly where are the &quot;possible&quot; problem in you \
file.</div><div><br></div><div>Ps.: Just to add information, don&#39;t see \
&quot;problem&quot; as problem :-), only a different format to be accept directly in \
SW environment.</div><div><br></div><div>Let me know if was clear in my \
explanation.</div><div><br></div><div>I can help you more, but now I&#39;m very busy! \
;-)</div><div><br></div><div>B&#39;Regards</div><div><br></div></div><div \
class="gmail_extra"><br \
clear="all"><div><div>______________<br>Atenciosamente<br>Waldirio<br>msn: <a \
href="mailto:waldirio@gmail.com" target="_blank">waldirio@gmail.com</a><br>Skype: \
waldirio<br>Site: <a href="http://www.waldirio.com.br" \
target="_blank">www.waldirio.com.br</a><br>Blog: <a \
href="http://blog.waldirio.com.br" target="_blank">blog.waldirio.com.br</a></div> \
<div>LinkedIn: <a href="http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646" \
target="_blank">http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646</a><br>PGP: \
<a href="http://www.waldirio.com.br/public.html" \
target="_blank">www.waldirio.com.br/public.html</a></div></div> <br><div \
class="gmail_quote">On Thu, Oct 30, 2014 at 2:32 PM, Pierre Casenove <span \
dir="ltr">&lt;<a href="mailto:pcasenove@gmail.com" \
target="_blank">pcasenove@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hello,<div>Thanks for the answer and the \
help,I&#39;ve attached the KS to the mail.</div></div><div class="HOEnZb"><div \
class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2014-10-30 17:18 \
GMT+01:00 Waldirio Manhães Pinheiro <span dir="ltr">&lt;<a \
href="mailto:waldirio@gmail.com" \
target="_blank">waldirio@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
dir="ltr">Pierre<div><br></div><div>Can you share your ks file !?</div></div><div \
class="gmail_extra"><span><br \
clear="all"><div><div>______________<br>Atenciosamente<br>Waldirio<br>msn: <a \
href="mailto:waldirio@gmail.com" target="_blank">waldirio@gmail.com</a><br>Skype: \
waldirio<br>Site: <a href="http://www.waldirio.com.br" \
target="_blank">www.waldirio.com.br</a><br>Blog: <a \
href="http://blog.waldirio.com.br" target="_blank">blog.waldirio.com.br</a></div> \
<div>LinkedIn: <a href="http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646" \
target="_blank">http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646</a><br>PGP: \
<a href="http://www.waldirio.com.br/public.html" \
target="_blank">www.waldirio.com.br/public.html</a></div></div> \
<br></span><div><div><div class="gmail_quote">On Thu, Oct 30, 2014 at 2:17 PM, \
Waldirio Manhães Pinheiro <span dir="ltr">&lt;<a href="mailto:waldirio@gmail.com" \
target="_blank">waldirio@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hello Pierre<div><br></div><div>About client, \
you can use Firefox or Chrome without problem. I got some problems in IE when showing \
the highlights of scripts for example.</div><div><br></div><div>About scripts, you \
can select in your KS template in TAB Scripts, add new script. Here you will define \
the content of scripts, at the end you can select if will be executed before or after \
installation.</div><div><br></div><div>About your cryptography, you can remove the \
password line and define again using the webUI.</div><div><br></div><div>About detect \
your first hard drive, we have to test !! \
:-)</div><div><br></div><div>B&#39;Regards</div></div><div class="gmail_extra"><br \
clear="all"><div><div>______________<br>Atenciosamente<br>Waldirio<br>msn: <a \
href="mailto:waldirio@gmail.com" target="_blank">waldirio@gmail.com</a><br>Skype: \
waldirio<br>Site: <a href="http://www.waldirio.com.br" \
target="_blank">www.waldirio.com.br</a><br>Blog: <a \
href="http://blog.waldirio.com.br" target="_blank">blog.waldirio.com.br</a></div> \
<div>LinkedIn: <a href="http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646" \
target="_blank">http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646</a><br>PGP: \
<a href="http://www.waldirio.com.br/public.html" \
target="_blank">www.waldirio.com.br/public.html</a></div></div> <br><div \
class="gmail_quote"><div><div>On Thu, Oct 30, 2014 at 1:12 PM, Pierre Casenove <span \
dir="ltr">&lt;<a href="mailto:pcasenove@gmail.com" \
target="_blank">pcasenove@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div><div><div dir="ltr">Hello,<div>I&#39;m trying to \
configure spacewalk to kickstart my system.</div><div>Currently, we&#39;re using only \
a customized DVD, with ageneric kickstart, and I&#39;m trying to port this kickstart \
to spacewalk...  </div><div>Here are the issue I&#39;m facing:</div><div>- What \
browser should I use??? I&#39;ve tried IE 10, Firefox 26, latest chrome, and on each \
browser I have different issues:</div><div>Chrome and firefox: I can&#39;t kickstart \
pre and post script, a rtext box seems to be missing...  </div><div>I can upload a \
kickstart, but then nothing appears when I go to &quot;Kickstart file&quot; \
link</div><div>IE: the wbe page layout for uploading a kickstarting is all messed up, \
but at least, I can view the kickstart file after it has been \
uploaded...</div><div><br></div><div>- When I manually create a kickstart, I have \
this problem. In my current KS, I use &quot;%include&quot; directives, to include \
pre-scripts. These scripts configures are mainly used to detect the first hard drive, \
and calculate the &quot;bootloader&quot; and &quot;part&quot; kickstart \
keyword...</div><div>In spacewalk UI, I did not finc the way to use include \
directive, as well as not using the bootloader directive   (in advanced Options \
link). As i told, in my kickstart, the bootloader directive is calculated in my pre \
script... so I dont need to use it!</div><div><br></div><div>- So I tried to upload \
my kickstart... but it also fails!</div><div>1/ I have this error message:  \
</div><div>This kickstart profile uses a different type of encryption by default than \
the root password is currently using. You must reset the root password to encrypt it \
with the new method.</div><div>---&gt; Can i live with \
this?</div><div><br></div><div>2/ I have another error:</div><div><div>&lt;class \
&#39;Cheetah.Parser.ParseError&#39;&gt;:</div><div>Error in the Python code which \
Cheetah generated for this \
template:</div><div>===============================================================================</div><div>EOL \
while scanning string literal \
(cheetah_DynamicallyCompiledCheetahTemplate_1414681774_07_98912.py, line \
151)</div><div>Line|Python \
Code</div><div>----|-------------------------------------------------------------</div><div>149 \
|</div><div>150 |            try:</div><div>151 |                  return \
eval(&#39;&#39;&#39;VFSL([locals()]+SL+[globals(), __builtin__],&quot;ls&quot;,True) \
-l /dev/cdrom | awk &#39;{print $NF}&#39;&#39;&#39;&#39;, globals(), \
localsDict)</div><div>                                             ^</div><div>152 |  \
return self._CHEETAH__errorCatcher.warn(exc_val=e, code= \
u&#39;VFSL([locals()]+SL+[globals(), __builtin__],&quot;ls&quot;,True) -l /dev/cdrom \
| awk \&#39;{print $NF}\&#39;&#39; , rawCode= u&quot;$(ls -l /dev/cdrom | awk \
&#39;{print $NF}&#39;)&quot; , lineCol=(259, 7))</div><div>153 |</div><div>154 |      \
def __errorCatcher14(self, localsDict={}):</div><div>Here is the corresponding \
Cheetah code.</div><div>** I had to guess the line &amp; column numbers, so they are \
probably incorrect:</div><div>Line 42, column 5</div><div><br></div><div>Line|Cheetah \
Code</div><div>----|-------------------------------------------------------------</div><div>42 \
|set $(list-harddrives|grep -v sr)</div><div>                  \
^</div></div><div><br></div><div><br></div><div>In my kickstart, I, indeed, have the \
following line of code: set $(list-harddrives|grep -v sr), used to detexct the first \
hardrive...</div><div><br></div><div><br></div><div>Thanks in advance for your \
help</div><span><font \
color="#888888"><div><br></div><div>Pierre</div></font></span></div> \
<br></div></div>_______________________________________________<br> Spacewalk-list \
mailing list<br> <a href="mailto:Spacewalk-list@redhat.com" \
target="_blank">Spacewalk-list@redhat.com</a><br> <a \
href="https://www.redhat.com/mailman/listinfo/spacewalk-list" \
target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>
 </blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" \
target="_blank">Spacewalk-list@redhat.com</a><br> <a \
href="https://www.redhat.com/mailman/listinfo/spacewalk-list" \
target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>
 </div></div><br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" \
target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>




_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic