Looks like your system has problem since the correct tmpl has been added
for centos5.x

   /opt/xcat/share/xcat/install/centos/compute.tmpl
   url --url
   
http://#TABLE:noderes:$NODE:nfsserver#/install/#TABLE:nodetype:$NODE:os#/#TABLE:nodetype:$NODE:arch#

/opt/xcat/share/xcat/install/centos/compute.tmpl should be the correct tmpl
for centos 5.x, could you check which tmpl was used in your env?


Thanks
Best Regards
----------------------------------------------------------------------
 Wang Xiaopeng (王晓朋)
 IBM China System Technology Laboratory
 Tel: 86-10-82453455
 Email: [email protected]
 Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193



From:   "Pocina, Goran" <[email protected]>
To:     "'xCAT Users Mailing list'" <[email protected]>,
Date:   2012/11/29 05:29
Subject:        Re: [xcat-user] xCAT 2.7.4 on CentOS 6 doing CentOS 5 installs.



Rather the kickstart line should be:

. . .
url    --url
http://#TABLE:noderes:$NODE:nfsserver#/install/#TABLE:nodetype:$NODE:os#/x86_64
                . . .


From: Pocina, Goran
Sent: Wednesday, November 28, 2012 4:24 PM
To: 'xCAT Users Mailing list'
Subject: RE: xCAT 2.7.4 on CentOS 6 doing CentOS 5 installs.

The nodetype.os variable is what’s needed.

                . . .
http://#TABLE:noderes:$NODE:nfsserver#/install/#TABLE:nodetype:$NODE:os#/x86_64
                . . .

Works now.

From: Pocina, Goran
Sent: Wednesday, November 28, 2012 3:13 PM
To: 'xCAT Users Mailing list'
Subject: RE: xCAT 2.7.4 on CentOS 6 doing CentOS 5 installs.

Looks like the problem here is that unlike CentOS 6, CentOS 5 does not
appear able to determine the repo to use from the kernel command line:
 . . .  repo=http://149.77.53.252/install/centos5.8/x86_64/   . . .

The install works if the base repo is defined in the kickstart file using
something like:
                . . .
url --url http://149.77.53.252/install/centos5.8/x86_64
. . .

But hardcoding the above in the kickstart file would kill the ability to
select the OS to use via xCAT.    To be more flexible it would be good to
pull the url from the xCAT tables.

We can pull the http server IP address from the noderes table:
                . . .
http://#TABLE:noderes:$NODE:nfsserver#/install/centos5.8/x86_64
                . . .

But that still leaves the install directory.    There’s the
linuximage.pkgdir variable, but I’m not sure how to access that from the
Kickstart file, as its not a node variable.   Has anyone done this?

Thanks,

Goran


From: Pocina, Goran
Sent: Monday, November 26, 2012 3:36 PM
To: 'xCAT Users Mailing list'
Subject: xCAT 2.7.4 on CentOS 6 doing CentOS 5 installs.

Anaconda hangs just after downloading the Kickstart file, during a CentOS 5
install from xCAT 2.7.4 on CentOS 6 MN.    (CentOS 6 installs work on the
same node.)

SYSLOG displays the following message:

    <from Syslog <alt>F3 :>
    . . .
   INFO    : setting up kickstart
   INFO    : setting language to en_US.UTF-8
   WARNING : requested keymap us is not valid, asking

Here are the kernel parameters the kernel was reporting when the “quiet”
option was dropped:

   Kernel command line: initrd=xcat/centos5.8/x86_64/initrd.img
repo=http://149.77.53.252/install/centos5.8/x86_64/
ks=http://149.77.53.252/install/autoinst/develkv8 ksdevice=eth0 cmdline
console=tty0 console=ttyS1,115200n8r
BOOT_IMAGE=xcat/centos5.8/x86_64/vmlinuz BOOTIF=01-00-25-90-49-34-e8

If the “cmdline” kernel arg is replaced with “text”, then anaconda prompts
for the installation media, suggesting a problem with our Kickstart file,
and perhaps the “%pre” code pulled in from “pre.rh”.

Could this have something to do with the pre.rh code?    Is pre.rh
backwards compatible with CentOS 5?

Can a CentOS 6 MN be used to do CentOS 5 & 6 installs?

Thanks,

Goran
------------------------------------------------------------------------------

Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to