genimage does not require otherpkgs in the postscript table. The postscripts table is only used during install and updatenode.
Take a look at man genimage, I think it gives a pretty good description as
to where the list come from. This is from the man page
If imagename is specified, the package list file names are read from the
osimage table
and linuximage tables.
IF you look in the linuximage table there are attributes that can be set to
cover this ( pkglist pkgdir otherpkglist otherpkgdir exlist).
When we generate our default images we fill most of them in with default
paths. This is what genimage uses.
[manage-02][/opt/xcat/lib/perl/xCAT]> lsdef -t osimage
rhels6.4-ppc64-netboot-compute
Object name: rhels6.4-ppc64-netboot-compute
exlist=/opt/xcat/share/xcat/netboot/rh/compute.rhels6.ppc64.exlist
imagetype=linux
osarch=ppc64
osdistroname=rhels6.4-ppc64
osname=Linux
osvers=rhels6.4
otherpkgdir=/install/post/otherpkgs/rhels6.4/ppc64
permission=755
pkgdir=/install/rhels6.4/ppc64
pkglist=/opt/xcat/share/xcat/netboot/rh/compute.rhels6.ppc64.pkglist
postinstall=/opt/xcat/share/xcat/netboot/rh/compute.rhels6.ppc64.postinstall
profile=compute
provmethod=netboot
rootimgdir=/install/netboot/rhels6.4/ppc64/compute
We don't automatically set an *.otherpkglist, you can specfy that; you can
also change the ones that are they to your own directories, but your
customized directories should reside under /install. We do specify
*.pkglist because those additional packages are needed by xCAT installed on
the nodes.
Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102
From: Russell Jones <[email protected]>
To: [email protected],
Date: 08/06/2013 08:26 PM
Subject: Re: [xcat-user] Otherpkgs runs on stateless nodes
Also I meant to ask is otherpkgs not required for the genimage process?
Does genimage run otherpkgs without requiring the script be listed as a
postscript?
On 8/6/2013 7:21 PM, Russell Jones wrote:
Okay, I will get that to you on Friday - the strange thing is I was
unable to replicate the issue a second time.... If I can replicate
it, I will provide you with that file.
This is 2.8.2.
On 8/6/2013 7:02 PM, Lissa Valletta wrote:
If you could give us a copy of /xcatpost/mypostscript file on
the node, I would appreciate it. There is a check in
otherpkgs that should stop it from running and I want to see
why it is failing.
what level of xCAT are you running
if [ -z "$UPDATENODE" ] || [ $UPDATENODE -ne 1 ]; then
if [ "$NODESETSTATE" = "netboot" -o \
"$NODESETSTATE" = "statelite" -o \
"$NODESETSTATE" = "diskless" -o \
"$NODESETSTATE" = "dataless" ]
then
echo " Did not install any extra rpms."
exit 0
fi
fi
Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102
Inactive hide details for Russell Jones ---08/06/2013
03:39:09 PM---Hi all, I've converted a non-osimage stateless
image over tRussell Jones ---08/06/2013 03:39:09 PM---Hi all,
I've converted a non-osimage stateless image over to using
osimage. I've
From: Russell Jones <[email protected]>
To: xCAT Users Mailing list <[email protected]>,
Date: 08/06/2013 03:39 PM
Subject: [xcat-user] Otherpkgs runs on stateless nodes
Hi all,
I've converted a non-osimage stateless image over to using
osimage. I've
noticed now that when booting stateless nodes, the otherpkgs
script
executes and attempts to install the extra RPMs. In the past,
otherpkgs
didn't run as this was performed during the genimage process.
Does the otherpkgs postscript need to be updated to properly
detect
diskless nodes that are using osimage and not try to install
RPMs on
boot, or have I misconfigured something?
Thanks!
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2%
overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2%
overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
