We have not been able to try this, but I can't see how it will be different. Looking at what imgexport grabs, I don't see any changes from what I grabbed manually. I tarred up the /install/netboot/rhels6.4/x86_64/compute directory (including the kernel and initrd files). The table definitions all called to the default xCAT compute templates in /opt/xcat/share/xcat/netboot/rh. lsdef on my VM and the cluster MN showed the same information as did lsdef -t osimage rhels6.4-x86_64-netboot-compute.
Considering that I built a default xCAT compute netboot image on the MN and got the error below, and got the same error from an image built the same way with the same settings copied over from a fresh install of xCAT, I don't see how imgexport/imgimport is going to change things unless there's some special sauce in those commands that I'm not seeing. Regards, Christian Caruthers Senior Consultant - System x Linux HPC Mobile: 757-289-9872 Find me on LinkedIn From: Christian Caruthers/Richmond/IBM@IBMUS To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, Date: 03/24/2014 10:39 AM Subject: Re: [xcat-user] Strange xCAT stateless image behavior If the kernel you're referring to is in /install/netboot/rhels6.4/x86_64/compute/, then yes I included it. I tar'ed up that directory. I can try imag{export|import]. Regards, Christian Caruthers Senior Consultant - System x Linux HPC Mobile: 757-289-9872 Find me on LinkedIn Inactive hide details for Xiao Peng Wang ---03/23/2014 08:47:39 PM---You mentioned that the unpatched osimage also did not workXiao Peng Wang ---03/23/2014 08:47:39 PM---You mentioned that the unpatched osimage also did not work on vm, did you copy the kernel from the b 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/23/2014 08:47 PM Subject: Re: [xcat-user] Strange xCAT stateless image behavior You mentioned that the unpatched osimage also did not work on vm, did you copy the kernel from the build node too? Try the imgexport and imgimport if you want to build image on another node. Does this unpatched osimage work in the other cluster like a new xCAT MN and new xCAT node (bare metal or vm)? Did you see any dracut error message when running genimage? 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 Christian Caruthers ---2014/03/21 22:56:55---Right, so at first, we upgraded from 2.7.3 to 2.8.3, kil Christian Caruthers ---2014/03/21 22:56:55---Right, so at first, we upgraded from 2.7.3 to 2.8.3, killed the running xcatd daemons and ran servic From: Christian Caruthers <christian.caruth...@us.ibm.com> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, Date: 2014/03/21 22:56 Subject: Re: [xcat-user] Strange xCAT stateless image behavior Right, so at first, we upgraded from 2.7.3 to 2.8.3, killed the running xcatd daemons and ran service xcatd start. Then we used the compute.pkglist and compute.exlist from /opt/xcat/share/xcat/netboot which didn't work. Then we used the compute.rhels6.x86_64.pkglist and .exlist. But all of this was done on a management node that had been patched (including a kernel patch to 2.6.32-358.18.1), and the updates are not local (it was patched from a satellite server). I have tried adding a line to compute.rhels6.x86_64.postinstall "yum --installroot=$IMGROOT update -y" which applies the kernel patch, but it appears that dracut still wants to use the base 6.4 kernel (2.6.32-358) to build the initrd. The only times I've seen errors in building the initrd was the first build (using compute.pkglist|.exlist which we now know was wrong) and when I included the yum update in the postinstall script. Still, it think all of this is actually causing the problem. Last night, I built a stock 6.4 netboot image using an unpatched 6.4 install on a VM. I tarred up /install/netboot/rhels6.4/x86_64/compute and uploaded that to the management node this morning. After booting a system to this image, we still get the same error: dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line. Kernel panic - not syncing: Attempted to kill init! Pid: 1, comm: init Not tainted 2.6.32-358.el6.x86_64 #1 Call Trace: ? panic+0xa7/0x16f ? do_exit+0x862/0x870 ? fput+0x25/0x30 ? do_group_exit+0x58/0xd0 ? sys_exit_group+0x17/0x20 ? system_call_fastpath+0x16/0x This is the same error we get no matter how we build the image (built on the MN or on an unpatched VM, applying updates or not). Adding rdshell returns the same error, but drops me to a shell, and I really don't know what I'm looking for at that point. I've also included an lsdef for the node: [root@sl73oprhdp01 rh]# lsdef n01 Object name: n01 arch=x86_64 bmc=n01-imm bmcport=1 chain=runcmd=bmcsetup,standby currstate=netboot rhels6.4-x86_64-compute groups=ipmi initrd=xcat/osimage/rhels6.4-x86_64-netboot-compute/initrd-stateless.gz kcmdline=imgurl=http://172.20.0.1:80//install/netboot/rhels6.4/x86_64/compute/rootimg.gz XCAT=10.216.26.119:3001 NODE=n01 FC=0 ifname=eth2:xx:xx:xx:xx:xx:xx netdev=eth2 console=tty0 console=ttyS0,115200 kernel=xcat/osimage/rhels6.4-x86_64-netboot-compute/kernel mac=xx:xx:xx:xx:xx:xx mgt=ipmi netboot=xnba nfsserver=172.20.0.1 ondiscover=nodediscover os=rhels6.4 postbootscripts=otherpkgs postscripts=syslog,remoteshell,syncfiles,setupntp profile=compute provmethod=rhels6.4-x86_64-netboot-compute serialport=0 serialspeed=115200 xcatmaster=172.20.0.1 Regards, Christian Caruthers Senior Consultant - System x Linux HPC Mobile: 757-289-9872 Find me on LinkedIn Inactive hide details for Xiao Peng Wang ---03/20/2014 09:26:33 PM---The pkglist for rh6 should be used: compute.rhels6.x86_64.Xiao Peng Wang ---03/20/2014 09:26:33 PM---The pkglist for rh6 should be used: compute.rhels6.x86_64.pkglist From your error message, the initr 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/20/2014 09:26 PM Subject: Re: [xcat-user] Strange xCAT stateless image behavior The pkglist for rh6 should be used: compute.rhels6.x86_64.pkglist From your error message, the initrd creating was failed to make a completed initrd. Also show out definition of the node. 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 Christian Caruthers ---2014/03/20 20:51:37---Trying to set up the default compute stateless template Christian Caruthers ---2014/03/20 20:51:37---Trying to set up the default compute stateless template in v2.8.3 on rhel 6.4. This system was first From: Christian Caruthers <christian.caruth...@us.ibm.com> To: "xCAT Users Mailing list" <xcat-user@lists.sourceforge.net>, Date: 2014/03/20 20:51 Subject: [xcat-user] Strange xCAT stateless image behavior Trying to set up the default compute stateless template in v2.8.3 on rhel 6.4. This system was first upgraded from xCAT 2.7.3 to 2.8.3 w/ latest deps. We took the default compute.pkglist and compute.exlist from $XCATROOT/share/xcat/netboot/rh. When genimage is building the initrd, I see the following: Try to load drivers: pps_core mlx4_core mdio libcrc32c ptp dca virtio_ring virtio mlx4_en tg3 bnx2 bnx2x e1000 e1000e igb mlx_en virtio_net be2net ext3 ext4 to initrd. W: Cannot load dracut module "xcat", dependencies failed. W: Dracut module "xcat" cannot be found. W: Dracut module "nfs" cannot be found. W: Dracut module "network" cannot be found. the initial ramdisk for statelite is generated successfully. Try to load drivers: pps_core mlx4_core mdio libcrc32c ptp dca virtio_ring virtio mlx4_en tg3 bnx2 bnx2x e1000 e1000e igb mlx_en virtio_net be2net ext3 ext4 to initrd. W: Cannot load dracut module "xcat", dependencies failed. W: Dracut module "xcat" cannot be found. W: Dracut module "nfs" cannot be found. W: Dracut module "network" cannot be found. the initial ramdisk for stateless is generated successfully. After running packimage, we boot the system and see the following in the console: Initalizing network drop monitor service Freeing unused kernel memory: 1264k freed Write protecting the kernel read-only data: 10240k Freeing unused kernel memory: 904k freed Freeing unused kernel memory: 1676k freed dracut: FATAL: No or empty root= argument dracut: Refusing to continue dracut Warning: Signal caught! /lib/dracut-lib.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: ? panic+0xa7/0x16f ? do_exit+0x862/0x870 ? do_group_exit+0x58/0xd0 ? sys_exit_group+0x17/0x20 ? system_call_fastpath+0x16/0x1b The management node has a patched kernel, and it appears the stateless image is running the stock rhel 6.4 kernel. Could this be the problem, or am I missing something: [root@mgt01 modules]# ls /install/netboot/rhels6.4/x86_64/compute/rootimg/lib/modules 2.6.32-358.el6.x86_64 [root@mgt01 modules]# uname -a Linux mgt01.cluster.net 2.6.32-358.18.1.el6.x86_64 #1 SMP Fri Aug 2 17:04:38 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux [root@mgt01 modules]# Regards, Christian Caruthers Senior Consultant - System x Linux HPC Mobile: 757-289-9872 Find me on LinkedIn ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user