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



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 of
  Dennis 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

Reply via email to