On 24/04/13 21:35, Song BJ Yang wrote:
> hi Christopher Samuel,
Hi there!
> It seems that there are some problems in your initrd-statelite.gz
> generated by "genimage".
>
> I need to know the following info to help you:
Oops - mea culpa, I should have added all that, was running late. :-(
> 1. you system info:
> the os release and arch of xcat mgt server
RHEL 6.4, x86-64.
> the xcat version on your mgt server, this can be obtained by running
> "lsxcatd -v" on the mgt server
It was the current version from yum:
Version 2.8 (svn r15205, built Mon Feb 18 17:01:27 EST 2013)
> 2. the node definition, this can be obtained by running "lsdef <node name>"
Object name: barcoo001
arch=x86_64
bmc=barcoo001-imm
bmcport=0
chain=runcmd=bmcsetup,shell
currchain=shell
currstate=statelite rhels6-x86_64-compute
groups=compute,nophi,ipmis,all
initrd=xcat/osimage/rhel64nophi/initrd-statelite.gz
installnic=mac
ip=10.3.102.1
kcmdline=root=nfs:!myipfn!:/install/netboot/rhels6/x86_64/compute/rootimg:ro
STATEMNT=10.3.0.58:/state XCAT=!myipfn!:3001 console=tty0
console=ttyS0,115200n8r MNTOPTS=
kernel=xcat/osimage/rhel64nophi/kernel
mac=40:f2:e9:03:3a:0c
mgt=ipmi
mtm=7912FT1
netboot=xnba
ondiscover=nodediscover
os=rhels6
otherinterfaces=-imm:10.8.102.1
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles
primarynic=mac
profile=compute
provmethod=rhel64nophi
serial=06PDDT3
serialflow=hard
serialport=0
serialspeed=115200
status=netbooting
statustime=04-24-2013 17:25:35
supportedarchs=x86,x86_64
> 3. pls attach or send the initrd if convenient,(on your mgt server, that
> is "/install/netboot/rhels6/x86_64/compute/initrd-statelite.gz").
>
> 4. pls attach the tarball of "/tftpboot/xcat/xnba/nodes/" on your mgt
> server if convenient.
I'll arrange something for that tomorrow when I'm in the office (it's a
public holiday here today).
> Of course, you can do some investigation by yourself, unzip the initrd
> and check whether the file "90parse-nfsroot.sh" exists under directory
> "cmdline" in the initrd, the steps are:
> [...]
Yup, I can confirm that it exists, I took the shortcut of:
[root@barcoo-m ~]# mkdir /tmp/initrd
[root@barcoo-m ~]# cd /tmp/initrd
[root@barcoo-m initrd]# zcat
/install/netboot/rhels6/x86_64/compute/initrd-statelite.gz | cpio -idum
95187 blocks
[root@barcoo-m initrd]# ls cmdline/
01parse-kernel.sh 10parse-root-opts.sh 20parse-blacklist.sh
90parse-nfsroot.sh 91dhcp-root.sh 95parse-vlan.sh 97parse-bridge.sh
98parse-ip-opts.sh 99parse-ifname.sh
So it is there.
In case it helps here's the definition of "rhel64nophi" from
the osimage table, this is after I'd swapped it from NFS root
to ramdisk but I get the same error with that too.
[root@barcoo-m ~]# lsdef -t osimage -o rhel64nophi
Object name: rhel64nophi
exlist=/install/custom/netboot/rh/compute.exlist
imagetype=linux
osarch=x86_64
osname=linux
osvers=rhels6
otherpkgdir=/install/post/otherpkgs/rhels6/x86_64
permission=755
pkgdir=/install/rhels6.4/x86_64
pkglist=/install/custom/netboot/rh/nophi.pkglist
profile=compute
provmethod=statelite
rootfstype=ramdisk
rootimgdir=/install/netboot/rhels6/x86_64/compute
The package lists are copied straight from xCAT:
/opt/xcat/share/xcat/netboot/rh/compute.rhels6.x86_64.pkglist
All the best!
Chris
--
Christopher Samuel Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
Email: [email protected] Phone: +61 (0)3 903 55545
http://www.vlsci.org.au/ http://twitter.com/vlsci
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user