what version of xCAT are you running.

Run:
lsxcatd -a , it will give you the version and build date.


Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:   Xiao Peng Wang <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   09/29/2014 04:56 AM
Subject:        Re: [xcat-user] Unable to build stateless image



Then make this 'dracut -> ../rh/dracut' in
/opt/xcat/share/xcat/netboot/centos.

It should caused by your xcat version.

Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (王晓朋)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: [email protected]
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193

Inactive hide details for Dennis Zheleznyak ---2014/09/29 16:41:41---The
dracut directory isn't there: ls -ld /opt/xcat/share/xDennis Zheleznyak
---2014/09/29 16:41:41---The dracut directory isn't there: ls
-ld /opt/xcat/share/xcat/netboot/centos

From: Dennis Zheleznyak <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 2014/09/29 16:41
Subject: Re: [xcat-user] Unable to build stateless image



The dracut directory isn't there:

ls -ld /opt/xcat/share/xcat/netboot/centos
drwxr-xr-x 2 root root 4096 Sep 29
10:57 /opt/xcat/share/xcat/netboot/centos

ls -l /opt/xcat/share/xcat/netboot/centos
total 16
-rw-r--r-- 1 root root 154 Sep 29 00:32 compute.centos6.pkglist
-rw-r--r-- 1 root root 232 Aug 28  2013 compute.exlist
-rw-r--r-- 1 root root 102 Aug 31  2013 compute.pkglist
lrwxrwxrwx 1 root root  14 Sep 28 21:30 genimage -> ../rh/genimage
lrwxrwxrwx 1 root root   8 Sep 28 21:30 geninitrd -> genimage
-rw-r--r-- 1 root root 164 Jan 24  2014 kvm.centos6.pkglist
lrwxrwxrwx 1 root root  16 Sep 28 21:30 kvm.exlist -> ../rh/kvm.exlist
lrwxrwxrwx 1 root root  26 Sep 28 21:30 kvm.pkglist ->
../rh/kvm.rhels5.4.pkglist
lrwxrwxrwx 1 root root  16 Sep 28 21:30 xen.exlist -> ../rh/xen.exlist
lrwxrwxrwx 1 root root  17 Sep 28 21:30 xen.pkglist -> ../rh/xen.pkglist

On Mon, Sep 29, 2014 at 11:36 AM, Xiao Peng Wang <[email protected]> wrote:
      Looks like there missed some files in 97xcat.

      Check dracut directory exists in /opt/xcat/share/xcat/netboot/centos
      like following:

            lrwxrwxrwx 1 root root  12 Aug 29 13:34 dracut -> ../rh/dracut


      And inside the dracut dir, there should have files like: check
      installkernel  install.netboot  install.statelite  xcat-cmdline.sh
      xcat-premount.sh  xcat-prepivot.sh  xcatroot  xcat-updateflag

      Thanks
      Best Regards
      ----------------------------------------------------------------------

      Wang Xiaopeng (王晓朋)
      IBM China System Technology Laboratory
      Tel: 86-10-82453455
      Email: [email protected]
      Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
      Haidian District Beijing P.R.China 100193

      Inactive hide details for Dennis Zheleznyak ---2014/09/29
      16:14:32---Yes, 95nfs exist, here are all of the requested info: ls -
      Dennis Zheleznyak ---2014/09/29 16:14:32---Yes, 95nfs exist, here are
      all of the requested info: ls -ld 95nfs

      From: Dennis Zheleznyak <[email protected]>
      To: xCAT Users Mailing list <[email protected]>
      Date: 2014/09/29 16:14
      Subject: Re: [xcat-user] Unable to build stateless image



      Yes, 95nfs exist, here are all of the requested info:

      ls -ld 95nfs
      drwxr-xr-x 2 root root 4096 Sep 28 22:36 95nfs

      ls -la 95nfs
      total 32
      drwxr-xr-x  2 root root 4096 Sep 28 22:36 .
      drwxr-xr-x 38 root root 4096 Sep 29 10:41 ..
      -rwxr-xr-x  1 root root  442 Jan 15  2010 check
      -rwxr-xr-x  1 root root 2002 Nov 29  2013 install
      -rwxr-xr-x  1 root root   37 Jan 15  2010 installkernel
      -rwxr-xr-x  1 root root 3497 Nov 29  2013 nfsroot
      -rwxr-xr-x  1 root root  639 Jan 15  2010 nfsroot-cleanup.sh
      -rwxr-xr-x  1 root root 3206 Nov 29  2013 parse-nfsroot.sh

      ls -ld 97xcat/
      drwxr-xr-x 2 root root 4096 Sep 28 22:11 97xcat/

      ls -la 97xcat/
      total 12
      drwxr-xr-x  2 root root 4096 Sep 28 22:11 .
      drwxr-xr-x 38 root root 4096 Sep 29 10:41 ..
      ----------  1 root root   72 Sep 29 10:37 xcat-cmdline.sh

      I tried:
            1. cp xcat-cmdline.sh xcat-cmdline.sh.orig
            2. chmod 755 xcat-cmdline.sh
            3. packimage centos6.5-x86_64-netboot-compute
            4. nodeset n1 centos6.5-x86_64-netboot-compute
      However, I get the same result, so I deleted the file and reverted
      the changes.

      Thank you,
      Dennis.

      On Mon, Sep 29, 2014 at 10:57 AM, Xiao Peng Wang <[email protected]>
      wrote:
            Did you see
            the 
/install/netboot/centos6.5/x86_64/compute/rootimg/usr/share/dracut/modules.d/95nfs?


            Check the permission of 95nfs and 97xcat, and list the files in
            97xcat

            Thanks
            Best Regards
            
----------------------------------------------------------------------

            Wang Xiaopeng (王晓朋)
            IBM China System Technology Laboratory
            Tel: 86-10-82453455
            Email: [email protected]
            Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West
            Road, Haidian District Beijing P.R.China 100193

            Inactive hide details for Dennis Zheleznyak ---2014/09/29
            15:42:07---Hi, First of all, thank you for your quick
            response !Dennis Zheleznyak ---2014/09/29 15:42:07---Hi, First
            of all, thank you for your quick response !

            From: Dennis Zheleznyak <[email protected]>
            To: xCAT Users Mailing list <[email protected]>
            Date: 2014/09/29 15:42



            Subject: Re: [xcat-user] Unable to build stateless image





            Hi,

            First of all, thank you for your quick response !

            The following directory does not exist:
                  
/install/netboot/centos6.5/x86_64/compute/rootimg/usr/lib/dracut


            The rest of the directories you mentioned exist and are
            populated.

            The output of genimage command is attached to this email:
            genimage.log

            In addition, the output of
            pkglist, 
/opt/xcat/share/xcat/netboot/centos/compute.centos6.pkglist:

            bash
            nfs-utils
            openssl
            dhclient
            kernel
            openssh-server
            openssh-clients
            wget
            rsync
            dracut-network
            irqbalance
            procps
            rpm
            e2fsprogs
            parted
            bc
            ntp
            rsyslog




            On Mon, Sep 29, 2014 at 10:22 AM, Xiao Peng Wang <
            [email protected]> wrote:
                  Could you check the existence of following directories?
                  And show me the full output of genimage run.


                  
/install/netboot/centos6.5/x86_64/compute/rootimg/usr/lib/dracut

                  
/install/netboot/centos6.5/x86_64/compute/rootimg/usr/share/dracut


                  
/install/netboot/centos6.5/x86_64/compute/rootimg/usr/share/dracut/modules.d/

                  
/install/netboot/centos6.5/x86_64/compute/rootimg/usr/share/dracut/modules.d/97xcat/



                  Thanks
                  Best Regards
                  
----------------------------------------------------------------------

                  Wang Xiaopeng (王晓朋)
                  IBM China System Technology Laboratory
                  Tel: 86-10-82453455
                  Email: [email protected]
                  Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang
                  West Road, Haidian District Beijing P.R.China 100193

                  Inactive hide details for Dennis Zheleznyak ---2014/09/29
                  14:14:30---Correct, I did not change it at all. Here is
                  the output ofDennis Zheleznyak ---2014/09/29
                  14:14:30---Correct, I did not change it at all. Here is
                  the output of the image:

                  From: Dennis Zheleznyak <[email protected]>
                  To: xCAT Users Mailing list <
                  [email protected]>
                  Date: 2014/09/29 14:14
                  Subject: Re: [xcat-user] Unable to build stateless image





                  Correct, I did not change it at all.

                  Here is the output of the image:

                  lsdef -t osimage -o centos6.5-x86_64-netboot-compute

                  Object name: centos6.5-x86_64-netboot-compute

                  exlist=/opt/xcat/share/xcat/netboot/centos/compute.exlist
                      imagetype=linux
                      nodebootif=eth0
                      osarch=x86_64
                      osdistroname=centos6.5-x86_64
                      osname=Linux
                      osvers=centos6.5
                      otherpkgdir=/install/post/otherpkgs/centos6.5/x86_64
                      permission=755
                      pkgdir=/install/centos6.5/x86_64

                  
pkglist=/opt/xcat/share/xcat/netboot/centos/compute.centos6.pkglist

                      profile=compute
                      provmethod=netboot
                      rootimgdir=/install/netboot/centos6.5/x86_64/compute

                  On Mon, Sep 29, 2014 at 5:37 AM, Xiao Peng Wang <
                  [email protected]> wrote:
                        The thing is what you defined in your osimage
                        centos6.5-x86_64-netboot-compute, show it out with
                        'lsdef -t osimage centos6.5-x86_64-netboot-compute
                        '.

                        The definition of centos6.5-x86_64-netboot-compute
                        was built by xCAT and you did not change it, right?



                        Thanks
                        Best Regards
                        
----------------------------------------------------------------------

                        Wang Xiaopeng (王晓朋)
                        IBM China System Technology Laboratory
                        Tel: 86-10-82453455
                        Email: [email protected]
                        Address: 28,ZhongGuanCun Software Park,No.8 Dong
                        Bei Wang West Road, Haidian District Beijing
                        P.R.China 100193

                        Inactive hide details for Dennis Zheleznyak
                        ---2014/09/27 06:29:26---Hi everyone, I'm trying to
                        build a stateless image and I'mDennis Zheleznyak
                        ---2014/09/27 06:29:26---Hi everyone, I'm trying to
                        build a stateless image and I'm encountering
                        multiple errors.

                        From: Dennis Zheleznyak <[email protected]>
                        To: xCAT Users Mailing list <
                        [email protected]>
                        Date: 2014/09/27 06:29
                        Subject: [xcat-user] Unable to build stateless
                        image




                        Hi everyone,

                        I'm trying to build a stateless image and I'm
                        encountering multiple errors. (I didn't change or
                        touched any file, I'm trying to build a stateless
                        image with xCATs default settings)

                        xCAT Server:
                              Latest CentOS 6.5
                              (2.6.32-431.29.2.el6.x86_64).
                              xCAT Core 2.8.5 and xcat-dep-201408200428
                        Commands:
                              genimage centos6.5-x86_64-netboot-compute
                              packimage centos6.5-x86_64-netboot-compute
                              nodeset n1
                              osimage=centos6.5-x86_64-netboot-compute

                        Errors:
                              W: Dracut module "xcat" cannot be found.
                              (after running genimage)
                              dracut: FATAL: No or empty root= argument
                              dracut: Refusing to continue
                              /lib/dracut-lib.sh: line
                              101: /emergency/01-die.sh: No such file or
                              directory
                              dracut Warning: Signal caught! (when trying
                              to boot the machine).

                        Output:

                        [root@xcatsrv compute]# lsdef n1 --osimage
                        Object name: n1
                            arch=x86_64
                            currstate=netboot centos6.5-x86_64-compute
                            groups=all,compute
                            hostnames=n1.home.com

                        
initrd=xcat/osimage/centos6.5-x86_64-netboot-compute/initrd-stateless.gz

                            installnic=mac
                            interface=eth0
                            ip=192.168.0.201
                            kcmdline=imgurl=
                        
http://192.168.0.130:80//install/netboot/centos6.5/x86_64/compute/rootimg.gz
                         XCAT=192.168.0.130:3001 NODE=n1 FC=0

                        
kernel=xcat/osimage/centos6.5-x86_64-netboot-compute/kernel

                            mac=08:00:27:8C:96:5D
                            netboot=pxe
                            nfsserver=192.168.0.130
                            os=centos6.5
                            postbootscripts=otherpkgs
                            postscripts=syslog,remoteshell,syncfiles
                            primarynic=mac
                            profile=compute
                            provmethod=centos6.5-x86_64-netboot-compute
                            tftpserver=192.168.0.130
                            xcatmaster=192.168.0.130
                            profile=compute

                        
pkglist=/opt/xcat/share/xcat/netboot/centos/compute.centos6.pkglist

                            osname=Linux
                            permission=755

                        
exlist=/opt/xcat/share/xcat/netboot/centos/compute.exlist

                            osdistroname=centos6.5-x86_64
                            osvers=centos6.5
                            objtype=osimage
                            osarch=x86_64
                            provmethod=netboot

                        rootimgdir=/install/netboot/centos6.5/x86_64/compute

                            imagetype=linux

                        otherpkgdir=/install/post/otherpkgs/centos6.5/x86_64

                            pkgdir=/install/centos6.5/x86_64
                        
------------------------------------------------------------------------------

                        Meet PCI DSS 3.0 Compliance Requirements with
                        EventLog Analyzer
                        Achieve PCI DSS 3.0 Compliant Status with
                        Out-of-the-box PCI DSS Reports
                        Are you Audit-Ready for PCI DSS 3.0 Compliance?
                        Download White paper
                        Comply to PCI DSS 3.0 Requirement 10 and 11.5 with
                        EventLog Analyzer
                        
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
                        _______________________________________________
                        xCAT-user mailing list
                        [email protected]
                        https://lists.sourceforge.net/lists/listinfo/xcat-user



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

                        Slashdot TV.  Videos for Nerds.  Stuff that
                        Matters.
                        
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk

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

                  Slashdot TV.  Videos for Nerds.  Stuff that Matters.
                  
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
                  _______________________________________________
                  xCAT-user mailing list
                  [email protected]
                  https://lists.sourceforge.net/lists/listinfo/xcat-user


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

                  Slashdot TV.  Videos for Nerds.  Stuff that Matters.
                  
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk

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


            [attachment "genimage.log" deleted by Xiao Peng Wang/China/IBM]
            
------------------------------------------------------------------------------

            Slashdot TV.  Videos for Nerds.  Stuff that Matters.
            
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
            _______________________________________________
            xCAT-user mailing list
            [email protected]
            https://lists.sourceforge.net/lists/listinfo/xcat-user


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

            Slashdot TV.  Videos for Nerds.  Stuff that Matters.
            
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk

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

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

      Slashdot TV.  Videos for Nerds.  Stuff that Matters.
      
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
      _______________________________________________
      xCAT-user mailing list
      [email protected]
      https://lists.sourceforge.net/lists/listinfo/xcat-user


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

      Slashdot TV.  Videos for Nerds.  Stuff that Matters.
      
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk

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

Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------

Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to