As you said, the problem happened when the statelite called by system. But it worked correctly when run manually in the shell of initrd. Could not figure out what was different except the timing that certain condition was not ready when the statelite script was run by the system.
I could not recreate on my sles11.2 nfs-based statelite kvm vm. My openssl version: openssl version OpenSSL 0.9.8j-fips 07 Jan 2009 Thanks Best Regards ---------------------------------------------------------------------- Wang Xiaopeng (王晓朋) IBM China System Technology Laboratory Tel: 86-10-82453455 Email: w...@cn.ibm.com Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193 From: Douglas Myers <dgmy...@us.ibm.com> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, Date: 2013/03/07 00:16 Subject: Re: [xcat-user] statelite boot failure on sles11.2 image ran it both ways, with and w/o set -x same end results, console output captured below. Please note that I'm using same servicenode for SP1 and SP2 statelite images, SP1 is working fine.... (See attached file: no_debug_v19000.gz)(See attached file: debug_v19000.gz) _________________________________ Douglas Myers, IBM Special Events - Smart Cloud BMS Lead _________________________________ "It's not an opportunity if it doesn't scare you a little bit" Inactive hide details for Xiao Peng Wang ---03/06/2013 07:13:49 AM---I tried it on my vm, but could not recreate.Xiao Peng Wang ---03/06/2013 07:13:49 AM---I tried it on my vm, but could not recreate. From: Xiao Peng Wang <w...@cn.ibm.com> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, Cc: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Date: 03/06/2013 07:13 AM Subject: Re: [xcat-user] statelite boot failure on sles11.2 image I tried it on my vm, but could not recreate. Did you try to run the whole statelite script in debug shell mode? If it still worked, it should be a timing issue. Thanks Best Regards ---------------------------------------------------------------------- Wang Xiaopeng (王晓朋) IBM China System Technology Laboratory Tel: 86-10-82453455 Email: w...@cn.ibm.com Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193 Inactive hide details for Douglas Myers ---2013/03/06 02:14:15---Yes, I did do that, and in debug shell it does work, see belowDouglas Myers ---2013/03/06 02:14:15---Yes, I did do that, and in debug shell it does work, see below the errors to the litefile run... From: Douglas Myers <dgmy...@us.ibm.com> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, Date: 2013/03/06 02:14 Subject: Re: [xcat-user] statelite boot failure on sles11.2 image Yes, I did do that, and in debug shell it does work, see below the errors to the litefile run... _________________________________ Douglas Myers, IBM Special Events - Smart Cloud BMS Lead _________________________________ "It's not an opportunity if it doesn't scare you a little bit" Inactive hide details for Xiao Peng Wang ---03/05/2013 12:12:38 AM---I did not see this issue for sles11.2 on vm. Could you jusXiao Peng Wang ---03/05/2013 12:12:38 AM---I did not see this issue for sles11.2 on vm. Could you just take out the xCATCmd() to a shell script and run it in debug shell? From: Xiao Peng Wang <w...@cn.ibm.com> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, Cc: "xCAT Users Mailing list" <xcat-user@lists.sourceforge.net> Date: 03/05/2013 12:12 AM Subject: Re: [xcat-user] statelite boot failure on sles11.2 image I did not see this issue for sles11.2 on vm. Could you just take out the xCATCmd() to a shell script and run it in debug shell? xCATCmd () { # $1 is the xCAT server # $2 is the command echo "<xcatrequest>\n<command>${2}</command>\n</xcatrequest>" | LD_LIBRARY_PATH=${MNTDIR}/lib64:${MNTDIR}/usr/lib64 $ {MNTDIR}/usr/bin/openssl s_client -quiet -connect ${1} -rand /bin/nice 2>/dev/null } Thanks Best Regards ---------------------------------------------------------------------- Wang Xiaopeng (王晓朋) IBM China System Technology Laboratory Tel: 86-10-82453455 Email: w...@cn.ibm.com Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193 Inactive hide details for Douglas Myers ---2013/03/02 07:59:55---specs: x86_64 MN and SN, xCAT 2.7.6, sles11.2 after upgrading Douglas Myers ---2013/03/02 07:59:55---specs: x86_64 MN and SN, xCAT 2.7.6, sles11.2 after upgrading to SLES11 SP2 and restarting nodes I s From: Douglas Myers <dgmy...@us.ibm.com> To: "xCAT Users Mailing list" <xcat-user@lists.sourceforge.net>, Date: 2013/03/02 07:59 Subject: [xcat-user] statelite boot failure on sles11.2 image specs: x86_64 MN and SN, xCAT 2.7.6, sles11.2 after upgrading to SLES11 SP2 and restarting nodes I started up a couple test statelite VM's, the older sles11.1 statelite image boots up fine, but the new sles11.2 statelite image fails as posted below (/etc/rc.d/statelite has set -x to get more info) + SLI=36 + sed -e 's/^ *//' + awk -F: '{print $2}' + sed -e 's/^ *//' + egrep -v '^ *$' + sed -e 's/<[^>]*>//g' + xCATCmd v10100:3001 litefile + LD_LIBRARY_PATH=/sysroot/lib64:/sysroot/usr/lib64 + /sysroot/usr/bin/openssl s_client -quiet -connect v10100:3001 -rand /bin/nice + echo '<xcatrequest>\n<command>litefile</command>\n</xcatrequest>' /sysroot/etc/init.d/statelite: line 129: 700 Done echo "<xcatrequest>\n<command>${2}</command>\n</xcatrequest>" 701 Segmentation fault | LD_LIBRARY_PATH=${MNTDIR}/lib64:$ {MNTDIR}/usr/lib64 ${MNTDIR}/usr/bin/openssl s_client -quiet -connect ${1} -rand /bin/nice 2> /dev/null + '[' '!' -s /sysroot/.statelite/litefile ']' + RETRY=15 + '[' 15 -eq 15 ']' + echo 'FATAL error: could not get the entries from litefile table...' FATAL error: could not get the entries from litefile table... Same messages for all 15 tries Once dumped into bash I run the openssl call and it works fine: bash-3.2# /sysroot/usr/bin/openssl s_client -quiet -connect v10100:3001 -rand /b ^Hin/nice 0 semi-random bytes loaded depth=1 /CN=xCAT CA verify error:num=19:self signed certificate in certificate chain verify return:0 <xcatrequest>\n<command>litefile</command>\n</xcatrequest>'^H ^H <xcatresponse> <info>v19000: tmpfs,rw /etc/fstab</info> ... <xcatresponse> <info>v19000: tmpfs,rw /xcatpost/</info> </xcatresponse> <xcatresponse> <serverdone></serverdone> </xcatresponse> bash-3.2# _________________________________ Douglas Myers, IBM Special Events - Smart Cloud BMS Lead _________________________________ "It's not an opportunity if it doesn't scare you a little bit" ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user [附件 "no_debug_v19000.gz" 被 Xiao Peng Wang/China/IBM 删除][附件 "debug_v19000.gz" 被 Xiao Peng Wang/China/IBM 删除] ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
<<inline: 7B994600.gif>>
------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user