Yes. xCAT only supports to run genimage on the node with the same OS of the
target osimage. That means you need to find a fedora15 to run the genimage.

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:   Mike Lovell <[email protected]>
To:     [email protected]
Date:   2011-11-16 01:34
Subject:        Re: [xcat-user] fedora15 stateless



hrm. this is a little discouraging and probably the reason. here is the
relevant output during genimage.

Enter the dracut mode. Dracut version: 3.0.3-1

004

. Dracut directory: dracut.

so apparently it isn't using dracut_009 like it should. the management node
in this case is a rhel6 server. do i need to be doing this on a node that
is using dracut 009 itself?

mike

On 11/15/2011 12:25 AM, Xiao Peng Wang wrote:


      xCAT did have the support for fedora15 stateless. Could you show out
      the message like: Enter the dracut mode. Dracut version ... when run
      the genimage command? I need to figure out the version of dracut in
      your management node.

      Refer to the code in the genimage:


            if (-d "$rootimg_dir/usr/share/dracut") {
            $dracutmode = 1;
            # get dracut version
            my $dracutver = `rpm -R $rootimg_dir -qi dracut | grep Version
            | awk -F' ' '{print \$3}'`;
            if ($dracutver =~ /^\d\d\d$/) {
            if ($dracutver >= "009") {
            $dracutdir = "dracut_009";
            } else {
            $dracutdir = "dracut"; # The default directory
            }
            }
            print "Enter the dracut mode. Dracut version: $dracutver.
            Dracut directory: $dracutdir.\n";
            }

      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 Mike Lovell ---2011-11-12
      02:48:04---i'm trying to get a fedora15 stateless image built
      and am havingMike Lovell ---2011-11-12 02:48:04---i'm trying to get a
      fedora15 stateless image built and am having some issues. i am using
      a 2.6.9 sn

      From: Mike Lovell <[email protected]>
      To: [email protected]
      Date: 2011-11-12 02:48
      Subject: [xcat-user] fedora15 stateless



      i'm trying to get a fedora15 stateless image built and am having some

      issues. i am using a 2.6.9 snapshot from 11/09 and have done the
      basic
      copycds, genimage, packimage, and nodeset to tell a node to boot the
      newly created stateless image. when the node boots, it fails and
      drops
      to a debug shell. there are a couple different errors i was seeing. i

      tracked a couple of the errors to the fact that the /initqueue and
      /initqueue-finished directories didn't exist in the initramfs and
      manually edited the initramfs to add them. the one error i can not
      trace
      down is one that says

      dracut Warning: No root device "1" found

      this appears right after it downloads the stateless rootimg and
      unpacks
      it. anyone know what might be going on here and how to fix it?

      mike
------------------------------------------------------------------------------

RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to