Hi all,

This is xcat 2.8.2.

With a diskless node configured to boot a netboot osimage, lsdef $node --osimage will show me, on separate postscript lines, the postscripts configured on the node / node's group, as well as the osimage postscripts.

However on a node configured to *install* an osimage, lsdef $node --osimage is only showing me the postscripts configured directly on that node/node group, it is not giving me a separate line for the postscripts configured within the osimage. Why is that?

Example dIskless node:

[root@masternode postscripts]# lsdef c01n69 --osimage
Object name: c01n69
    arch=x86_64
    bmc=c01n69-bmc
    chain=osimage
    cons=ipmi
    conserver=c01kvm1
    currchain=osimage
    currstate=netboot centos5.4-new-kernel-x86_64-v5.4.8-dl-compute
    groups=compute,testhw,ipmi,c01,sc1435,all
    initrd=xcat/osimage/v5.4.8-dl-compute/initrd-stateless.gz
kcmdline=imgurl=http://masternode:80//install/netboot/centos5.4-new-kernel/x86_64/v5.4.8-dl-compute/rootimg.sfs XCAT=masternode:3001 NODE=c01n69 ifname=eth0:00:22:19:17:06:54 netdev=eth0
    kernel=xcat/osimage/v5.4.8-dl-compute/kernel
    mac=00:22:19:17:06:54
    mgt=ipmi
    netboot=xnba
    os=centos5.4-new-kernel
*postscripts=remoteshell*
    primarynic=eth0
    profile=v5.4.8-dl-compute
    provmethod=v5.4.8-dl-compute
    status=booted
    statustime=11-25-2013 16:48:07
    updatestatus=failed
    updatestatustime=11-25-2013 16:42:21
    xcatmaster=masternode
rootimgdir=/install/netboot/centos5.4-new-kernel/x86_64/v5.4.8-dl-compute
postinstall=/install/custom/netboot/centos/v5.4.8-dl-compute.postinstall
otherpkglist=/install/custom/netboot/centos/v5.4.8-dl-compute.otherpkgs.pkglist
kerneldir=/install/netboot/centos5.4-new-kernel/x86_64/v5.4.8-dl-compute
    osvers=centos5.4-new-kernel
    pkglist=/install/custom/netboot/centos/v5.4.8-dl-compute.pkglist
netdrivers=libphy,tg3,bnx2,e1000,dca,8021q,igb,forcedeth,squashfs,aufs,loop
    exlist=/install/custom/netboot/centos/v5.4.8-dl-compute.exlist
    osarch=x86_64
    osname=Linux
    imagetype=linux
    nodebootif=eth0
    pkgdir=/install/centos5.4-new-kernel/x86_64
*postscripts=remoteshell,hardeths,postage.sh*
    osdistroname=centos5.4-new-kernel-x86_64



Example install node:

[root@masternode postscripts]# lsdef c42n69 --osimage
Object name: c42n69
    addkcmdline=pci=bfsort
    arch=x86_64
    bmc=c42n69-bmc
    chain=shell
    cons=ipmi
    currchain=boot
    currstate=install centos5.4-new-kernel-x86_64-v5.4.8-df-compute
    groups=compute,testhw,c42,ipmi,r620,all
    initrd=xcat/osimage/v5.4.8-df-compute/initrd.img
kcmdline=quiet repo=http://masternode:80/install/centos5.4-new-kernel/x86_64 ks=http://masternode:80/install/autoinst/c42n69 ksdevice=eth0 cmdline console=tty0 console=ttyS0,115200n8r
    kernel=xcat/osimage/v5.4.8-df-compute/vmlinuz
    mac=d4:ae:52:9b:81:b1
    mgt=ipmi
    netboot=xnba
    os=centos5.4-new-kernel
*postscripts=remoteshell,diskful-c42.sh*
    primarynic=eth0
    profile=v5.4.8-df-compute
    provmethod=v5.4.8-df-compute
    serialflow=hard
    serialport=0
    serialspeed=115200
    status=booted
    statustime=12-13-2013 13:04:48
    updatestatus=failed
    updatestatustime=10-08-2013 09:51:17
    xcatmaster=masternode
    template=/install/custom/install/centos/v5.4.8-df-compute.tmpl
otherpkglist=/install/custom/install/centos/v5.4.8-df-compute.centos5.4-new-kernel.x86_64.otherpkgs.pkglist
    osvers=centos5.4-new-kernel
    osname=Linux
    osarch=x86_64
    nodebootif=eth0
    imagetype=linux
    postbootscripts=postboot-postage.sh
    osdistroname=centos5.4-new-kernel-x86_64



OS Image definition for the image not showing postscripts in --osimage:

[root@cmx04-hc postscripts]# lsdef -t osimage v5.4.8-df-compute
Object name: v5.4.8-df-compute
    groups=all
    imagetype=linux
    nodebootif=eth0
    osarch=x86_64
    osdistroname=centos5.4-new-kernel-x86_64
    osname=Linux
    osvers=centos5.4-new-kernel
otherpkglist=/install/custom/install/centos/v5.4.8-df-compute.centos5.4-new-kernel.x86_64.otherpkgs.pkglist
    postbootscripts=postboot-postage.sh
*postscripts=remoteshell,localrepo5,hardeths,otherpkgs,postage.sh*
    profile=v5.4.8-df-compute
    provmethod=install
    template=/install/custom/install/centos/v5.4.8-df-compute.tmpl



Thanks!

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to