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"




|------------>
| 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

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

------------------------------------------------------------------------------
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

Reply via email to