Yes change pkgdir in your osimage to pkgdir=/install/SL/x86_64
See if that fixes the problem
chdef -t osimage osimage SL-x86_64-install-compute
pkgdir=/install/SL/x86_64
Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102
From: Lanae Neild <[email protected]>
To: xCAT Users Mailing list <[email protected]>,
Date: 07/11/2014 01:05 PM
Subject: Re: [xcat-user] trouble converting to osimage
[root@master ~]# lsdef node1572
Object name: node1572
addkcmdline=driverload=igb
arch=x86_64
bmc=node1572-man0
chain=runcmd=bmcsetup,standby
cons=ipmi
currchain=boot
currstate=boot
groups=phase06,all,hp,compute,DL165
initrd=xcat/SL/x86_64/compute/initrd.img
kcmdline=quiet repo=http://10.125.40.6:80/install/SL/x86_64 ks=
http://10.125.40.6:80/install/autoinst/node1572 ksdevice=eth0 cmdline
console=tty0 console=ttyS0,19200n8r
kernel=xcat/SL/x86_64/compute/vmlinuz
mac=98:4b:e1:65:36:60
mgt=ipmi
mtm=DL165
netboot=pxe
nfsdir=/install
nfsserver=10.125.40.6
ondiscover=nodediscover
os=SL
postbootscripts=otherpkgs,palmetto-ipmi,serialconsole
postscripts=syslog,remoteshell,syncfiles,resyslog,palmetto-mountxcat,palmetto-yumpackages,palmetto-nfsmounts,palmetto-syncfiles,palmetto-services,palmetto-bios,palmetto-ethernet,palmetto-umountxcat,palmetto-puppet
power=ipmi
primarynic=eth0
profile=compute
provmethod=SL-x86_64-install-compute
rack=BP-31
room=ITC
serial=USE124BCC8
serialflow=hard
serialport=0
serialspeed=19200
status=booted
statustime=04-22-2014 14:20:42
switch=h-itc-bx31-d6248-56
switchinterface=1/g20
switchport=20
tftpserver=10.125.40.6
unit=26
xcatmaster=10.125.40.6
[root@master ~]# lsdef -t osimage SL-x86_64-install-compute
Object name: SL-x86_64-install-compute
imagetype=linux
osarch=x86_64
osname=Linux
osvers=SL
otherpkgdir=/install/post/otherpkgs/SL/x86_64
otherpkglist=/install/custom/install/SL/compute.culinux.pkglist
pkgdir=/install/SL/x86_64/os
pkglist=/install/custom/install/SL/compute.pkglist
profile=compute
provmethod=install
template=/install/custom/install/SL/compute.tmpl
I see... pkgdir in linuximage table, hopefully the only culprit?
[root@master ~]# tabdump linuximage | grep compute
"SL-x86_64-install-compute","/install/custom/install/SL/compute.tmpl",,,"/install/custom/install/SL/compute.pkglist","/install/SL/x86_64/os","/install/custom/install/SL/compute.culinux.pkglist","/install/post/otherpkgs/SL/x86_64",,,,,,,,,,,,,,,,
Lanae Neild
Systems Programmer I
HPC, CCIT, Clemson University
(864)505-4293
[email protected]
On Fri, Jul 11, 2014 at 11:43 AM, Lissa Valletta <[email protected]> wrote:
Also, you asked "The compute profile entry in nodetype still has
provmethod "install" but isn't the more specific entry for node1572 is
supposed to override that? " The answer is yes. The more specific entry
for node1572 will override.
Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102
Inactive hide details for Lanae Neild ---07/11/2014 10:58:03 AM---Perhaps
I'm just not understanding the instructions? I recentLanae Neild
---07/11/2014 10:58:03 AM---Perhaps I'm just not understanding the
instructions? I recently upgraded xCAT from 2.7x to 2.8.4. We
From: Lanae Neild <[email protected]>
To: xCAT Users Mailing list <[email protected]>,
Date: 07/11/2014 10:58 AM
Subject: [xcat-user] trouble converting to osimage
Perhaps I'm just not understanding the instructions? I recently upgraded
xCAT from 2.7x to 2.8.4. We use only diskful installs and Scientific
Linux. I thought I had osimage definitions set up correctly, but its
still not working. I'm testing on one node that's in both a profile named
"compute" (and also in a node group named the same.)
http://sourceforge.net/p/xcat/wiki/Convert_Non-osimage_Based_System_To_Osimage_Based_System/
Here's what's in my tables:
osimage table:
"SL-x86_64-install-compute",,"compute","linux",,"install",,,,,"Linux","SL","x86_64",,,,,,,,
nodetype table:
"node1572","SL","x86_64","compute","SL-x86_64-install-compute",,,,
"compute","SL","x86_64","compute","install",,,,
My chdef command (below) changed provmethod for node1572 in nodetype from
"install" to the osimage name ("SL-x86_64-install-compute"). The compute
profile entry in nodetype still has provmethod "install" but isn't the
more specific entry for node1572 is supposed to override that? (I don't
want to change it for the whole profile until I figure this out -
rinstalls are still working for now except we get the warning message
about deprecation of old provmethod options.)
[root@master ~]# chdef node1572 provmethod=SL-x86_64-install-compute
1 object definitions have been created or modified.
[root@master ~]# nodeset node1572 SL-x86_64-install-compute
Error: Unknown state SL-x86_64-install-compute requested
[root@master ~]#
[root@master ~]# nodeset node1572 osimage=SL-x86_64-install-compute
Error: Install image not found in /install/SL/x86_64/os
Error: Some nodes failed to set up install resources on server master,
aborting
[root@master ~]#
OK maybe this is the problem, I don't have the "os" subdir:
[root@master images]# ls /install/SL/x86_64
EFI images Packages repoview RPM-GPG-KEY-sl6
GPL isolinux repodata RPM-GPG-KEY-sl sl-release-notes-6.4.html
How can I tell xCAT to look in /install/SL/x86_64/,
not /install/SL/x86_64/os... or do I have to move the files?
This is my test node's bootparams entry which includes the install image
location, if that helps:
"node1572","xcat/SL/x86_64/compute/vmlinuz","xcat/SL/x86_64/compute/initrd.img","quiet
repo=
http://10.125.40.6:80/install/SL/x86_64 ks=
http://10.125.40.6:80/install/autoinst/node1572 ksdevice=eth0 cmdline
console=tty0 console=ttyS0,19200n8r","driverload=igb",,,,
Any help or advice appreciated, thanks for reading!
Lanae Neild
Systems Programmer I
HPC, CCIT, Clemson University
(864)505-4293
[email protected]
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community
Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck®
Code Sight™ - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user