Thanks.  It's in trunk and 2.7 and should shortly manifest as a new rpm...



From:   Arif Ali <[email protected]>
To:     xCAT Users Mailing list <[email protected]>,
Date:   03/23/2012 10:50 AM
Subject:        Re: [xcat-user] genesis bug maybe in 2.7



Ignore the last patch,

The following works; suggestion of changing in trunk and 2.7 branch

Index: xcat-core/trunk/xCAT-nbroot2/doxcat
===================================================================
--- xcat-core/trunk/xCAT-nbroot2/doxcat    (revision 11966)
+++ xcat-core/trunk/xCAT-nbroot2/doxcat    (working copy)
@@ -135,12 +135,12 @@
         dest=`echo $destiny|awk -F= '{print $1}'`
         mkdir /tmp/`basename $destparameter`
         cd /tmp/`basename $destparameter`
-        ERROR=`wget $destparamater 2>&1`
+        ERROR=`wget $destparameter 2>&1`
         while [ $? == 1 ] && echo $ERROR|grep -v 416; do
             sleep 10
-            ERROR=`wget -c $TARG 2>&1`
+            ERROR=`wget -c $destparameter 2>&1`
         done
-        tar xvf `basename $TARG`
+        tar xvf `basename $destparameter`
         ./runme.sh
         cd -
     elif [ "$dest" = "reboot" -o "$dest" = "boot" ]; then
Index: xcat-core/branches/2.7/xCAT-nbroot2/doxcat
===================================================================
--- xcat-core/branches/2.7/xCAT-nbroot2/doxcat    (revision 11966)
+++ xcat-core/branches/2.7/xCAT-nbroot2/doxcat    (working copy)
@@ -135,12 +135,12 @@
         dest=`echo $destiny|awk -F= '{print $1}'`
         mkdir /tmp/`basename $destparameter`
         cd /tmp/`basename $destparameter`
-        ERROR=`wget $desparamater 2>&1`
+        ERROR=`wget $destparameter 2>&1`
         while [ $? == 1 ] && echo $ERROR|grep -v 416; do
             sleep 10
-            ERROR=`wget -c $TARG 2>&1`
+            ERROR=`wget -c $destparameter 2>&1`
         done
-        tar xvf `basename $TARG`
+        tar xvf `basename $destparameter`
         ./runme.sh
         cd -
     elif [ "$dest" = "reboot" -o "$dest" = "boot" ]; the


regards,

Arif

On 23/03/12 14:24, Arif Ali wrote:
      Below is the patch for doxcat for genesis

      --- /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/bin/doxcat
      2012-02-21 21:12:05.000000000 +0000
      +++ doxcat    2012-03-23 13:33:22.000000000 +0000
      @@ -1,3 +1,4 @@
      +#!/bin/sh -x
       if [ ! -z "$BOOTIF" ]; then
           BOOTIF=`echo $BOOTIF|sed -e s/01-// -e s/-/:/g`
           echo -n "Waiting for device with address $BOOTIF to appear.."
      @@ -134,7 +135,7 @@
               dest=`echo $destiny|awk -F= '{print $1}'`
               mkdir /tmp/`basename $destparameter`
               cd /tmp/`basename $destparameter`
      -        ERROR=`wget $desparamater 2>&1`
      +        ERROR=`wget $destparameter 2>&1`
               while [ $? == 1 ] && echo $ERROR|grep -v 416; do
                   sleep 10
                   ERROR=`wget -c $TARG 2>&1`

      Please see if that works

      regards,

      Arif

      On 23/03/12 02:50, Jarrod Johnson wrote:
            runimage should *roughly* work the same basically.  However if
            for whatever bizarre reason the payload was linked against
            uclibc then it will no longer work because we moved to glibc
            (to avoid the scenario where most runimage payloads pretty much
            had to always bring their own libraries).

            Also, if the command was expecting a 2.6.18 kernel somehow, it
            may be put off by the 2.6.32 kernel...

            I'll double check in my environment as well...

            On Thu, Mar 22, 2012 at 7:08 PM, Arif Ali <[email protected]>
            wrote:
              Hi all,

              It seems that we have a bug with genesis, where it is not
              loading the
              runimage. The error relates to not giving the URL to wget.

              We upgraded xCAT from 2.5.3 to 2.7. and previously with nbfs,
              this was
              working without any problems.

              I will try diagnosing/debugging this further tomorrow, but I
              was
              wondering if there was anything different I needed to do; or
              if it was a
              known issue.

              --
              regards,

              Arif


              
------------------------------------------------------------------------------

              This SF email is sponsosred by:
              Try Windows Azure free for 90 days Click Here
              http://p.sf.net/sfu/sfd2d-msazure
              _______________________________________________
              xCAT-user mailing list
              [email protected]
              https://lists.sourceforge.net/lists/listinfo/xcat-user



            
------------------------------------------------------------------------------

            This SF email is sponsosred by:
            Try Windows Azure free for 90 days Click Here
            http://p.sf.net/sfu/sfd2d-msazure


            _______________________________________________
            xCAT-user mailing list
            [email protected]
            https://lists.sourceforge.net/lists/listinfo/xcat-user
            
------------------------------------------------------------------------------

            This SF email is sponsosred by:
            Try Windows Azure free for 90 days Click Here
            http://p.sf.net/sfu/sfd2d-msazure
            _______________________________________________
            xCAT-user mailing list
            [email protected]
            https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to