Finally got to test it it today, we missed the following as well
Index: dodiscovery
===================================================================
--- dodiscovery (revision 12412)
+++ dodiscovery (working copy)
@@ -91,7 +91,7 @@
echo "<mtm>$MTM</mtm>" >> /tmp/discopacket
fi
if [ "$SERIAL" != "unknown" ]; then
- echo "<serial>$SERIAL</serial>"
+ echo "<serial>$SERIAL</serial>" >> /tmp/discopacket
fi
for dev in `ip link|grep -B1 ether|grep UP|awk '{print $2}'|sed -e s/://`;
do
DRIVER=`grep DRIVER /sys/class/net/$dev/device/uevent|awk -F= '{print
$2}'`regards, -- Arif Ali catch me on freenode IRC, username: arif-ali On 26 April 2012 15:04, Arif Ali <[email protected]> wrote: > Jarrod, > > Further bug, maybe someone has seen this or not, at the moment, the > vpd.serial is not being populated, and thefore the following should fix it. > This change is to the dodiscovery script. It could also mean that other > changes need to be made in the same file to get this correctly done. I need > to rediscover my nodes, I guess that is easy via runcmd=dodiscovery I > presume. > > Index: dodiscovery > =================================================================== > --- dodiscovery (revision 12257) > +++ dodiscovery (working copy) > @@ -65,6 +65,7 @@ > MTM=VMware > else > MTM=`cat /sys/devices/virtual/dmi/id/product_name|awk -F'[' > '{print $2}'|awk -F']' '{print $1}'` > + SERIAL=`cat /sys/devices/virtual/dmi/id/product_serial` > fi > elif [ -r /proc/device-tree/model ]; then #POWER > MTM=`cat /proc/device-tree/model |awk -F, '{print $2}'` > > -- > Arif Ali > > catch me on freenode IRC, username: arif-ali > > > > On 23 March 2012 19:25, Bruce M Potter <[email protected]> wrote: > >> Arif, >> >> The fixed version of the xCAT-genesis rpm is in the latest xcat-dep >> tarball on sourceforege: >> http://sourceforge.net/projects/xcat/files/xcat-dep/2.x_Linux/xcat-dep-201203231456.tar.bz2/download. >> Or you could grab the individual rpm from >> https://sourceforge.net/projects/xcat/files/yum/xcat-dep/ . >> >> Bruce Potter STSM, Linux & AIX Cluster Development, IBM, >> Poughkeepsie, NY >> Email: [email protected] Phone: external: 845-433-7073, internal: TL >> 293-7073 >> >> >> [image: Inactive hide details for Jarrod B Johnson---03/23/2012 11:21:16 >> AM---Thanks. It's in trunk and 2.7 and should shortly manifes]Jarrod B >> Johnson---03/23/2012 11:21:16 AM---Thanks. It's in trunk and 2.7 and >> should shortly manifest as a new rpm... From: Arif Ali <mail@arif >> >> From: Jarrod B Johnson/Raleigh/IBM@IBMUS >> >> To: xCAT Users Mailing list <[email protected]> >> Date: 03/23/2012 11:21 AM >> >> Subject: Re: [xcat-user] genesis bug maybe in 2.7 >> ------------------------------ >> >> >> >> Thanks. It's in trunk and 2.7 and should shortly manifest as a new rpm... >> >> [image: Inactive hide details for Arif Ali ---03/23/2012 10:50:23 >> AM---Ignore the last patch, The following works; suggestion of changi]Arif >> Ali ---03/23/2012 10:50:23 AM---Ignore the last patch, The following works; >> suggestion of changing in trunk and 2.7 branch >> >> 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]*<[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*<http://p.sf.net/sfu/sfd2d-msazure> >> _______________________________________________ >> xCAT-user mailing list* >> **[email protected]*<[email protected]> >> * >> >> **https://lists.sourceforge.net/lists/listinfo/xcat-user*<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*<http://p.sf.net/sfu/sfd2d-msazure> >> >> >> _______________________________________________ >> xCAT-user mailing list* >> **[email protected]*<[email protected]> >> * >> >> **https://lists.sourceforge.net/lists/listinfo/xcat-user*<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*<http://p.sf.net/sfu/sfd2d-msazure> >> _______________________________________________ >> xCAT-user mailing list >> [email protected]* >> >> **https://lists.sourceforge.net/lists/listinfo/xcat-user*<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 >> >> >
<<graycol.gif>>
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
