Problem while installing Autoinstall SLES 10 SP4


We are facing a problem while installing SLES 10 SP4 using autoyast. The stage where it decides for getting the relevant xml profile based
on the harddisk device type and size , it is getting failed. It seems it is not able to fetch the 2 values (disk size) and (device type).
The confusing part here is , sometimes it gets these values and the installation gets completed as well. But sometimes it doesnt.

The Autoyast rpm is : autoyast2-installation-2.13.108-0.7.13.noarch.rpm

The relevant failure logs from /var/log/YaST2/y2log are :

2012-09-25 10:17:46 <1> (3369) [YCP] AutoInstallRules.ycp:434 Rules: $[“rules”:[$[“disksize”:$[“match”:"/dev/hda 5000", “match_type”:“lo
wer”], “result”:$[“continue”:false, “profile”:“SuseSystem1.xml”]], $[“disksize”:$[“match”:"/dev/sda 5000", “match_type”:“lower”], “result”:$[“continue”:
false, “profile”:“SuseSystem1.xml”]], $[“disksize”:$[“match”:"/dev/hda 10000", “match_type”:“lower”], “result”:$[“continue”:false, “profile”:“SuseSystem2.xml
“]], $[“disksize”:$[“match”:”/dev/sda 10000”, “match_type”:“lower”], “result”:$[“continue”:false, “profile”:“SuseSystem2.xml”]], $[“disksize”:$[“match”:
“/dev/hda 20000”, “match_type”:“lower”], “result”:$[“continue”:false, “profile”:“SuseSystem3.xml”]], $[“disksize”:$[“match”:"/dev/sda 20000", “match_typ
e”:“lower”], “result”:$[“continue”:false, “profile”:“SuseSystem3.xml”]], $[“disksize”:$[“match”:"/dev/hda 36000", “match_type”:“lower”], “result”:$[“con
tinue”:false, “profile”:“SuseSystem4.xml”]], $[“disksize”:$[“match”:"/dev/sda 36000", “match_type”:“lower”], “result”:$[“continue”:false, “profile”:“zco
ms4.xml”]], $[“disksize”:$[“match”:"/dev/hda 36000", “match_type”:“greater”], “result”:$[“continue”:false, “profile”:“SuseSystem5.xml”]], $[“disksize”:blush:
[“match”:"/dev/sda 36000", “match_type”:“greater”], “result”:$[“continue”:false, “profile”:“SuseSystem5.xml”]]]]

2012-09-25 10:17:46 <3> (3369) [bash] sh: -c: line 0: syntax error near unexpected token )' 2012-09-25 10:17:46 <3> (3369) [bash] sh: -c: line 0: if ( ) ; then exit 0; else exit 1; fi’
2012-09-25 10:17:46 <1> (3369) [YCP] AutoInstallRules.ycp:390 Bash return: if ( ) ; then exit 0; else exit 1; fi ($[“exit”:2, “stderr”
:“sh: -c: line 0: syntax error near unexpected token )'\ sh: -c: line 0: if ( ) ; then exit 0; else exit 1; fi’
“, “stdout”:””]) ($[])
2012-09-25 10:17:46 <1> (3369) [YCP] AutoInstallRules.ycp:625 Getting Rules: []
2012-09-25 10:17:46 <1> (3369) [YCP] AutoInstallRules.ycp:654 No files from rules found

It seems that its not able to pass the value of var1 and var2 in the below mentioned line of /usr/share/YaST2/modules/AutoInstallRules.ycp script.

    string var1 = sformat("disksize_size%1", i );
        string var2 = sformat("disksize_device%1", i );

        t = t + sformat(" [ \"$%1\" -gt \"%2\"  -a \"$%3\" = \"%4\" ] ", var1, disk[1]:"" , var2, disk[0]:""); 

We can provide you the complete log file if needed.

Request you to please help us fix this issue or provide your suggestion. Hope to hear from you.

Thanks and Regards
Anil Chauhan


It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

Be sure to read the forum FAQ about what to expect in the way of responses:

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team