We have a fix for you .   It is attached to this bug.  Will be fixed in
2.8.1.
https://sourceforge.net/p/xcat/bugs/3436/

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





From:   Lindsay Todd <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   03/18/2013 05:07 PM
Subject:        Re: [xcat-user] Trouble using imgcapture



Here is what I have ...  Thanks.

# lsdef -t node rsa03
Object name: rsa03
    arch=x86_64
    bmc=rsa03-bmc
    bmcport=0
    currchain=boot
    currstate=install SL6-x86_64-cng2
    getmac=ipmi
    groups=rsa,ipmi,all
    initrd=xcat/osimage/SL6-x86_64-install-cng2/initrd.img
    installnic=eth0
    interface=eth0
    kcmdline=quiet repo=http://172.31.49.40:80/install/SL6/x86_64 ks=
http://172.31.49.40:80/install/autoinst/rsa03 ksdevice=eth0 cmdline
console=tty0 console=ttyS0,115200n8r
    kernel=xcat/osimage/SL6-x86_64-install-cng2/vmlinuz
    mac=6C:AE:8B:62:A0:BA
    mgt=ipmi
    mtm=7914
    netboot=xnba
    nfsserver=172.31.49.40
    os=SL6

postbootscripts=otherpkgs,CCNIsyncfiles,CCNIconfigRepos,CCNIgpfs,CCNIgmond

postscripts=CCNIservices,CCNIsyslog,CCNIremoteshell,CCNIautoupdate-disable,CCNIsyncfiles,CCNIibsetup,setupntp,CCNIrsa
    primarynic=eth0
    profile=cng2
    provmethod=SL6-x86_64-install-cng2
    serialflow=hard
    serialport=0
    serialspeed=115200
    status=failed
    statustime=03-13-2013 16:54:02
    tftpserver=172.31.49.40
    updatestatus=synced
    updatestatustime=03-14-2013 18:02:01


On Mon, Mar 18, 2013 at 3:36 PM, Lissa Valletta <[email protected]> wrote:
  Sorry  -t is in the next release.  Could you give us lsdef of the node?
  I am contacting people who know a  little more about imgcapture than I
  do.




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



  Inactive hide details for Lindsay Todd ---03/18/2013 01:41:20 PM---I am
  running xCAT 2.8.  My imgcapture does not accept the -tLindsay Todd
  ---03/18/2013 01:41:20 PM---I am running xCAT 2.8.  My imgcapture does
  not accept the -t option. My osimage has a provmethod of


  From: Lindsay Todd <[email protected]>
  To: xCAT Users Mailing list <[email protected]>
  Date: 03/18/2013 01:41 PM
  Subject: Re: [xcat-user] Trouble using imgcapture




  I am running xCAT 2.8.  My imgcapture does not accept the -t option.

  My osimage has a provmethod of statelite.  I changed it to diskless, but
  get the same result.

  Thank you for looking into this!

  /Lindsay

  On Mon, Mar 18, 2013 at 1:12 PM, Lissa Valletta <[email protected]>
  wrote:
        What level of xCAT are you running.

        I wonder if this is simply a input parameter issues.  I assume xdsh
        rsa03 date runs ok.

        What if you run imgcapture rsa03 -t diskless -o osimage -i eth0 -n
        igb  -V

        I think looking at the man page for imgcapture,  you can only use
        -o osimage if you type is diskless.




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



        Inactive hide details for Lindsay Todd ---03/14/2013 02:36:33
        PM---Folks, I would like to build a statelite image from an exist
        Lindsay Todd ---03/14/2013 02:36:33 PM---Folks, I would like to
        build a statelite image from an existing

        From: Lindsay Todd <[email protected]>
        To: xCAT Users Mailing list <[email protected]>
        Date: 03/14/2013 02:36 PM
        Subject: [xcat-user] Trouble using imgcapture




        Folks,

        I would like to build a statelite image from an existing
        freshly-installed diskful system image (so the workflow will be
        build
        a gold image system, then capture, then build other systems
        statelite).  But imgcapture is failing.  When I run it, I get this
        message:

        # imgcapture rsa03 -o SL6-x86_64-statelite-cng2 -i eth0 -n igb  -V
        nodename is rsa03; os is SL6; arch is x86_64; profile is cng2
        bootif is eth0; netdriver is igb
        the output of "stat / -f |grep Type" on rsa03 is:
        rsa03:     ID: 87cd4ce061a2fd20 Namelen: 255     Type: ext2/ext3
        The file type is ext2/ext3
        The excludestr is "cd /; find . ! -path "./tmp/*" ! -path
        "./proc/*" !
        -path "./sys/*" ! -path "./dev/*" ! -path "./xcatpost/*" ! -path
        "./install/*" |cpio -H newc -o |gzip -c -
        >/tmp/xcat_imgcapture.15312"
        running "echo -n > /tmp/xcat_imgcapture.15312" on rsa03
        Capturing image on rsa03...
        running "cd /; find . ! -path "./tmp/*" ! -path "./proc/*" ! -path
        "./sys/*" ! -path "./dev/*" ! -path "./xcatpost/*" ! -path
        "./install/*" |cpio -H newc -o |gzip -c -
        >/tmp/xcat_imgcapture.15312"
        on rsa03 via the "xdsh" command
        Error: The "xdsh" command fails to run "cd /; find . ! -path
        "./tmp/*"
        ! -path "./proc/*" ! -path "./sys/*" ! -path "./dev/*" ! -path
        "./xcatpost/*" ! -path "./install/*" |cpio -H newc -o |gzip -c -
        >/tmp/xcat_imgcapture.15312" on rsa03
        # echo $?
        1

        So obviously the xdsh command fails?  Let's try that directly
        (slight
        change to use another output file):

        # xdsh rsa03 'cd /; find . ! -path "./tmp/*" ! -path "./proc/*" !
        -path "./sys/*" ! -path "./dev/*" ! -path "./xcatpost/*" ! -path
        "./install/*" |cpio -H newc -o |gzip -c -
        >/tmp/xcat_imgcapture.15313'
        Error: rsa03: 4075749 blocks
        # echo $?
        0

        So it worked?  Or not?  How about running the command directly on
        rsa03:

        # xdsh rsa03 'cd /; find . ! -path "./tmp/*" ! -path "./proc/*" !
        -path "./sys/*" ! -path "./dev/*" ! -path "./xcatpost/*" ! -path
        "./install/*" |cpio -H newc -o |gzip -c -
        >/tmp/xcat_imgcapture.15314
        4075776 blocks
        gzip: / is a directory -- ignored
        4075776 blocks
        # echo $?
        0

        That looks like it worked.  So what failed?  I guess maybe
        something
        wrote to stderr (like the status messages)?
        --
        R. Lindsay Todd, PhD                 email: [email protected]
        Senior Systems Programmer            phone: 518-276-2605
        Rensselaer Polytechnic Institute     fax:   518-276-2809
        Troy, NY 12180-3590                  WWW:
        http://www.rpi.edu/~toddr


        The views, opinions, and judgments expressed in this message are
        solely those of the author. The message contents have not been
        reviewed or approved by Rensselaer.

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

        Everyone hates slow websites. So do we.
        Make your web apps faster with AppDynamics
        Download AppDynamics Lite for free today:
        http://p.sf.net/sfu/appdyn_d2d_mar
        _______________________________________________
        xCAT-user mailing list
        [email protected]
        https://lists.sourceforge.net/lists/listinfo/xcat-user



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

        Everyone hates slow websites. So do we.
        Make your web apps faster with AppDynamics
        Download AppDynamics Lite for free today:
        http://p.sf.net/sfu/appdyn_d2d_mar
        _______________________________________________
        xCAT-user mailing list
        [email protected]
        https://lists.sourceforge.net/lists/listinfo/xcat-user
  ------------------------------------------------------------------------------

  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_mar
  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user


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

  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_mar
  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user

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

Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to