A node I am deploying seems to be grabbing the wrong otherpkgs.pkglist
file. I have placed pkglist files in /install/custom/install/centos and
created one the service group/profile. In that directory are these files:

compute.otherpkgs.pkglist
compute.pkglist
compute.tmpl
hinode01.tmpl
service.otherpkgs.pkglist
service.tmpl

I want to use the "service.otherpkgs.pkglist" file. I deployed a node
xcat-serv1 which belongs to the service group but it did not install the
RPMs I specified in the otherpkgs.pkglist file for 'service'. When I did an
lsdef I saw that the profile was set to "compute" and realized that would
be a problem so I changed it to 'service' as well and tried an "updatenode
xcat-serv1 otherpkgs" but it didn't make a difference. Here is the current
node definition:

[root@x3650-head01 centos]# lsdef xcat-serv1
Object name: xcat-serv1
    arch=x86_64
    currchain=boot
    currstate=boot
    groups=service,ipmi,all
    initrd=xcat/osimage/centos6.4-x86_64-install-compute/initrd.img
    installnic=mac
    kernel=xcat/osimage/centos6.4-x86_64-install-compute/vmlinuz
    netboot=xnba
    nodetype=osi
    os=centos6.4

postscripts=syslog,remoteshell,ospkgs,addsiteyum,otherpkgs,syncfiles,ifcfg-eth,fstab,servicenode
    primarynic=mac
    profile=service
    provmethod=centos6.4-x86_64-install-compute
  <snipped>

The "groups" and "profile" look correct now, but I still can't get the
right packages to install. Is there a particular line in the "otherpkgs"
postscript I could use to print a variable with the file name of the file
chosen/matched against? I looked but only found a variable with the actual
parsed packages from whatever file it chose. It looks like it is using the
compute.otherpkgs.pkglist. I can't quite figure out why it wouldn't match
though.

This page seems to indicate that my directory and nomenclature for the
files is correct:
http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Using_Provmethod%3Dinstall,netboot_or_statelite.
And I know the kickstarts from that folder work since they are used during
provisioning.

It is usually something simple. Does anyone see what I am missing?

Thanks,
Josh
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to