That wget command was used to only test the downloading the postscripts.
In order to have the postsctripts to run, you have to run
updatenode <node> -P from the management node.
OK, how to install wget during the deployment? Your .pkglist file seems
right. It is strange that wget did not get installed. I do not have a
centos system to try. Can anyone on the list help on this issue?
Thanks,
Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692
External: [email protected], 845-433-5692
"I never worry about the future. It comes soon enough." --- Albert
Einstein
From: Lanae Neild <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 12/08/2014 12:05 PM
Subject: Re: [xcat-user] xcat 2.8.5, centos7, postscripts
OK, I ran the wget command after installing wget:
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -e
robots=off -nH --cut-dirs=2 --reject "index.html*" --no-parent -t 0 -T 60
http://10.125.40.6/install/postscripts/ -P /xcatpost
It downloads what I think are correct postscripts into /xcatpost, but
there is no mypostscript* files there. Also no /var/log/xcat/xcat.log and
nothing new in /tmp/wget.log.
How to get this to work without manually installing wget?
Lanae Neild
Systems Programmer I
HPC, CCIT, Clemson University
(864)505-4293
[email protected]
On Mon, Dec 8, 2014 at 11:51 AM, Ling Gao <[email protected]> wrote:
I am confused, did you say that the error "-bash: wget: command not
found" is still there?
Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692
External: [email protected], 845-433-5692
"I never worry about the future. It comes soon enough." --- Albert
Einstein
From: Lanae Neild <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 12/08/2014 11:44 AM
Subject: Re: [xcat-user] xcat 2.8.5, centos7, postscripts
No error, yum installs wget just fine.
Here is a repolist anyway:
[root@node0800 yum.repos.d]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.fdcservers.net
* extras: mirror.cogentco.com
* updates: mirror.unl.edu
repo id repo name
status
base/7/x86_64 CentOS-7 - Base
8,465
extras/7/x86_64 CentOS-7 - Extras
77
updates/7/x86_64 CentOS-7 - Updates
1,354
repolist: 9,896
[root@node0800 yum.repos.d]#
Lanae Neild
Systems Programmer I
HPC, CCIT, Clemson University
(864)505-4293
[email protected]
On Mon, Dec 8, 2014 at 11:36 AM, Ling Gao <[email protected]> wrote:
what error do you get if you run "yum install wget" on the node? If it
does not work, can you show the repo?
yum repolist.
Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692
External: [email protected], 845-433-5692
"I never worry about the future. It comes soon enough." --- Albert
Einstein
From: Lanae Neild <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 12/08/2014 11:22 AM
Subject: Re: [xcat-user] xcat 2.8.5, centos7, postscripts
I fixed the typo and try to install wget in centos7.pkglist, but wget
package still doesn't get installed:
[root@node0800 ~]# wget -l inf -N -r --waitretry=10 --random-wait
--retry-connrefused -e robots=off -nH --cut-dirs=2 --reject "index.html*"
--no-parent -t 0 -T 60 http://10.125.40.6/install/postscripts/ -P
/xcatpost
-bash: wget: command not found
So I try the commands:
[root@master ~]# xdsh node0800 -K
Enter the password for the userid: root on the node where the ssh keys
will be updated:
/usr/bin/ssh setup is complete.
return code = 0
[root@master ~]# updatenode node0800 -P
node0800: Cannot download the postscripts from 10.125.40.6 for
node0800.palmetto.clemson.edu check /tmp/wget.log on the node.
This is the centos7.pkglist file after I fixed it, attached. I would
worry I have a repo problem, but yum works from the node. >From the ks
log file on the node, when xcat try to use wget, but wget isn't installed
yet.
Lanae Neild
Systems Programmer I
HPC, CCIT, Clemson University
(864)505-4293
[email protected]
On Fri, Dec 5, 2014 at 5:17 PM, Lanae Neild <[email protected]> wrote:
Thanks, You're right, I had it backward, here is the real thing and it
seems part of the problem is that wget doesn't get installed...I found a
typo in the centos7.pkglist file which might (hopefully) be responsible
for it, so I'll try a reinstall over the weekend and see what happens:
[root@node0800 xcat]# wget -l inf -N -r --waitretry=10 --random-wait
--retry-connrefused -e robots=off -nH --cut-dirs=2 --reject "index.html*"
--no-parent -t 0 -T 60 http://10.125.40.6/install/postscripts/ -P
/xcatpost
-bash: wget: command not found
Lanae Neild
Systems Programmer I
HPC, CCIT, Clemson University
(864)505-4293
[email protected]
On Fri, Dec 5, 2014 at 4:56 PM, Ling Gao <[email protected]> wrote:
The command should be run on the node. the IP should be the ip for the
xcatmaster. In your case:
10.125.4.39 is the node ip for node0800 . 10.125.40.6 is the xcatmaster
of the node according to the node definition.
Please ssh to node0800, then run wget on the node.
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -e
robots=off -nH --cut-dirs=2 --reject "index.html*" --no-parent -t 0 -T 60
http://10.125.40.6/install/postscripts/ -P /xcatpost
And also check on xcatmaster ( 10.125.40.6), make sure there is a
acctually a directory /install/postscripts with all the postscripts.
BTW, is the netmask 255.255.0.0 on networks table for 10.125 network or
you put the wrong ip for xcatmaster for the node?
Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692
External: [email protected], 845-433-5692
"I never worry about the future. It comes soon enough." --- Albert
Einstein
From: Lanae Neild <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 12/05/2014 04:32 PM
Subject: Re: [xcat-user] xcat 2.8.5, centos7, postscripts
[root@master lanae]# wget -l inf -N -r --waitretry=10 --random-wait
--retry-connrefused -e robots=off -nH --cut-dirs=2 --reject "index.html*"
--no-parent -t 0 -T 60 http://10.125.4.39/install/postscripts/ -P
/xcatpost
--2014-12-05 16:26:33-- http://10.125.4.39/install/postscripts/
Connecting to 10.125.4.39:80... failed: Connection refused.
Retrying.
Lanae Neild
Systems Programmer I
HPC, CCIT, Clemson University
(864)505-4293
[email protected]
On Fri, Dec 5, 2014 at 2:57 PM, Ling Gao <[email protected]> wrote:
ok, on management node (or the service node), there is a directory
/install/autoinst, there is a file with the node name, that is the kick
start file. Can you view that file and look for 'wget'? You will get
something like:
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -e
robots=off -nH --cut-dirs=2 --reject "index.html*" --no-parent -t 0 -T 60
http://$i$INSTALLDIR/postscripts/ -P /xcatpost
Can you run this command on the node? This is the first step to prepare
the postscripts to be run on the node. Replace $i with the ip of the
service node, $INSTALLDIR with "/install". See what error it gives you.
Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692
External: [email protected], 845-433-5692
"I never worry about the future. It comes soon enough." --- Albert
Einstein
From: Lanae Neild <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 12/05/2014 02:00 PM
Subject: Re: [xcat-user] xcat 2.8.5, centos7, postscripts
Answered inline:
On Fri, Dec 5, 2014 at 11:04 AM, Ling Gao <[email protected]> wrote:
1. Are you able to ssh to the node with password or without password? If
you could ssh without password, that means remoteshell postscript worked.
With password only
2. Do you see /xcatpost directory with all the postscripts on the node?
No
3. What are the content of /xcatpost/mypostscript and
/xcatpost/mypostscript.post on the node?
Not there
4. Any error from /var/log/xcat/xcat.log file? Any error from
/tmp/wget.log?
There is no /var/log/xcat/ or /tmp/wget.log
5. In most cases, incorrect name resolution is the culprit for postscript
not running. Could you please make sure that the node ip can be resolved
to the correct node name on both management node and the service node?
(reverse lookup)
[root@master postscripts]# nslookup node0800
Server: 10.125.40.6
Address: 10.125.40.6#53
Name: node0800.palmetto.clemson.edu
Address: 10.125.4.39
[root@master postscripts]# nslookup 10.125.4.39
Server: 10.125.40.6
Address: 10.125.40.6#53
39.4.125.10.in-addr.arpa name = node0800.palmetto.clemson.edu.
And the same for all 5 of our service nodes.
From: Lanae Neild <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 12/05/2014 10:24 AM
Subject: [xcat-user] xcat 2.8.5, centos7, postscripts
I'm trying to get centos7 compute nodes imaged, I have a basic centos7
profile/group set up and the OS installs but the postscripts don't seem to
run, starting with resyslog in postscripts.postscripts field. I'm not sure
about the default postscripts like syslog,remoteshell, etc. but does't
seem to do anything, either. The master node and service nodes are on SL6,
if that matters. Stumped at the moment...
Here is the node I'm testing on:
[root@master centos7.0]# lsdef node0800
Object name: node0800
addkcmdline=driverload=e1000e net.ifnames=0
arch=x86_64
bmc=node0800-man0
cons=ipmi
currchain=boot
currstate=install centos7.0-x86_64-centos7
getmac=ipmi
groups=phase04,all,ibm,centos7,DX340
initrd=xcat/osimage/centos7.0-x86_64-install-centos7/initrd.img
interface=eth0
kcmdline=quiet repo=http://10.125.40.6:80/install/centos7.0/x86_64 ks=
http://10.125.40.6:80/install/autoinst/node0800 ksdevice=eth0 cmdline
kernel=xcat/osimage/centos7.0-x86_64-install-centos7/vmlinuz
mac=00:1F:C6:D9:44:86
mgt=ipmi
mtm=6389AC1
netboot=pxe
nfsdir=/install
nfsserver=10.125.40.6
os=centos7.0
postbootscripts=otherpkgs,palmetto-ipmi,serialconsole
postscripts=syslog,remoteshell,syncfiles,resyslog,palmetto-mountxcat,palmetto-yumpackages
power=ipmi
primarynic=eth0
profile=centos7
provmethod=centos7.0-x86_64-install-centos7
rack=BU-31
room=ITC
serial=06C9158
serialflow=hard
serialport=1
serialspeed=19200
status=booted
statustime=05-25-2012 16:46:05
supportedarchs=x86,x86_64
switch=h-itc-bu31-i8000-36
switchinterface=1/29
switchport=29
tftpserver=10.125.40.6
unit=30
xcatmaster=10.125.40.6
And its osimage:
[root@master centos7.0]# lsdef -t osimage centos7.0-x86_64-install-centos7
Object name: centos7.0-x86_64-install-centos7
imagetype=linux
osarch=x86_64
osdistroname=centos7.0-x86_64
osname=Linux
osvers=centos7.0
otherpkgdir=/install/post/otherpkgs/centos7.0/x86_64
pkgdir=/install/centos7.0/x86_64
pkglist=/install/custom/install/centos7.0/centos7.pkglist
profile=centos7
provmethod=install
template=/install/custom/install/centos7.0/centos7.tmpl
Lanae Neild
Systems Programmer I
HPC, CCIT, Clemson University
(864)505-4293
[email protected]
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
[attachment "centos7.pkglist" deleted by Ling Gao/Poughkeepsie/IBM]
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user