hi,
Christopher Samuel <[email protected]> wrote on 04/25/2013 04:20:02
PM:
> From: Christopher Samuel <[email protected]>
> To: Song BJ Yang/China/IBM@IBMCN,
> Cc: xCAT Users Mailing list <[email protected]>
> Date: 04/25/2013 04:18 PM
> Subject: Re: Fw: [xcat-user] Statelite newbie problem
>
> 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
>
seems this is a nfs-based statelite initrd.
> 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.
what do you mean by "the same error" here? do you mean you get the same
following err message as the nfs-based statelite?
...
dracut: FATAL: Don't know how to handle
'root=nfs:10.3.0.58:/install/netboot/rhels6/x86_64/compute/rootimg:ro'
dracut: Refusing to continue
/lib/dracut-lib.dracut Warning: Signal caught!
sh: line 83: /emergency/01-die.sh: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.32-358.el6.x86_64 #1
Call Trace:
[<ffffffff8150cfc8>] ? panic+0xa7/0x16f
[<ffffffff81073ae2>] ? do_exit+0x862/0x870
[<ffffffff81073b48>] ? do_group_exit+0x58/0xd0
[<ffffffff81073bd7>] ? sys_exit_group+0x17/0x20
[<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b
...
if true, I think you might forget to run "nodeset" after you changed the
osimage to ramdisk-based statelite.
>
> [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