Re: [xcat-user] Some trouble with postscripts

2016-03-01 Thread Xiao Peng Wang
You xCAT build was too old. Now the stable version is xCAT 2.11.
 
The file named xCAT-otherpkgs0.repo should be created by the running of otherpkgs script. If the otherpkgs failed, you need to check whether the otherpkgdir/otherpkglist attributes for the osimage has been set correctly.  Also you can check whether the environment variables like OTHERPKGDIR have been exported from CN:/xcatpost/mypostscript.
 
The default configuratioin for install nic is 'dhcp', you can run the postscript 'confignics -s' to set it to be static. Also the confignics are the recommended one to configure nics.
ThanksBest Regards--Wang Xiaopeng (王晓朋)IBM China System Technology LaboratoryTel: 86-10-82453455Email: w...@cn.ibm.comAddress: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193
 
 
- Original message -From: Josh Nielsen To: xCAT Users Mailing list Cc:Subject: [xcat-user] Some trouble with postscriptsDate: Wed, Mar 2, 2016 8:16 AM 
I am using xCAT 2.8.3 and I successfully installed 50+ nodes just 4-5 months ago using a certain custom defined osimage definition for Centos 6.5. Now I'm trying to deploy the same image to a new group of nodes that I defined in xCAT, but am encountering some difficulty with certain postscripts. The addsiteyum postscript is not adding the correct otherpkgs repo file into /etc/yum.repos.d/ (it creates xCAT-centos6.5-path0.repo but not xCAT-otherpkgs0.repo - whereas the previous 50+ nodes have both). And since that is not in place the otherpkgs postscript also fails because it can't reach that repo to install custom rpms. I also noticed that, contrary to the results with the 50+ hosts I deployed last time, the node is being assigned the correct IP but its /etc/sysconfig/network-scripts/ifcfg-eth0 files says BOOTPROTO=dhcp instead of 'static'. That in turn causes another post script I created ('ifcfg-eth'), which does a sed on that file to produce a similar one on a second ethernet interface, to fail.The lsdef for these new nodes matches the other successful hosts I did before, and the default postscripts are as follows: postscripts=syslog,remoteshell,ospkgs,addsiteyum,otherpkgs,syncfiles,ifcfg-eth,fstab,servicenode

Many of the other postscripts like the syslog, ospkgs, and fstab seem to be executing fine though. My log file on the node, after showing the wget results of the postscripts down to the node, shows this:-
FINISHED --2016-03-01 16:03:04--
Downloaded: 374 files, 55M in 0.3s (202 MB/s)
mv: cannot stat `/xcatpost/mypostscript.node0071c': No such file or directory
mv: cannot stat `10.20.0.100/postscripts': No such file or directory
Tue Mar  1 16:03:04 CST 2016 Running postscript: syslog
Shutting down system logger: [FAILED]
Starting system logger: [  OK  ]
Tue Mar  1 16:03:05 CST 2016 Running postscript: remoteshell
 
Stopping sshd: [FAILED]
Generating SSH1 RSA host key: [  OK  ]
Starting sshd: [  OK  ]
Tue Mar  1 16:03:07 CST 2016 Running postscript: ospkgs
Tue Mar  1 16:03:10 CST 2016 Running postscript: addsiteyum
Tue Mar  1 16:03:10 CST 2016 Running postscript: syncfiles
  Did not sync any files.
Tue Mar  1 16:03:10 CST 2016 Running postscript: fstab
Info: Configuring fstab
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Error: try grep x3650-head01:/opt /etc/mtab unsuccessful
Tue Mar  1 16:04:14 CST 2016 Running postscript: setupntp
ntpd is stopped
 1 Mar 16:04:14 ntpdate[13492]: adjust time server 10.20.0.100 offset 0.201009 sec
Starting ntpd: [  OK  ]-From past experience when things like this go wrong it tends to be due to something small but significant that is misconfigured. Does any of this look symptomatic of any common misconfiguration you are aware of? P.S. I have verified that DNS has forward and reverse lookups for these nodes on the MN and SNs.Thanks,Josh Nielsen
--Site24x7 APM Insight: Get Deep Visibility into Application PerformanceAPM + Mobile APM + RUM: Monitor 3 App instances at just $35/MonthMonitor end-to-end web transactions and take corrective actions nowTroubleshoot faster and improve end-user experience. Signup Now!http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___xCAT-user mailing 

[xcat-user] Some trouble with postscripts

2016-03-01 Thread Josh Nielsen
I am using xCAT 2.8.3 and I successfully installed 50+ nodes just 4-5
months ago using a certain custom defined osimage definition for Centos
6.5. Now I'm trying to deploy the same image to a new group of nodes that I
defined in xCAT, but am encountering some difficulty with certain
postscripts. The addsiteyum postscript is not adding the correct otherpkgs
repo file into /etc/yum.repos.d/ (it creates xCAT-centos6.5-path0.repo but
not xCAT-otherpkgs0.repo - whereas the previous 50+ nodes have both). And
since that is not in place the otherpkgs postscript also fails because it
can't reach that repo to install custom rpms.

I also noticed that, contrary to the results with the 50+ hosts I deployed
last time, the node is being assigned the correct IP but its
/etc/sysconfig/network-scripts/ifcfg-eth0 files says BOOTPROTO=dhcp instead
of 'static'. That in turn causes another post script I created
('ifcfg-eth'), which does a sed on that file to produce a similar one on a
second ethernet interface, to fail.

The lsdef for these new nodes matches the other successful hosts I did
before, and the default postscripts are as follows:
postscripts=syslog,remoteshell,ospkgs,addsiteyum
,otherpkgs,syncfiles,ifcfg-eth,fstab,servicenode

Many of the other postscripts like the syslog, ospkgs, and fstab seem to be
executing fine though. My log file on the node, after showing the wget
results of the postscripts down to the node, shows this:

-
FINISHED --2016-03-01 16:03:04--
Downloaded: 374 files, 55M in 0.3s (202 MB/s)
mv: cannot stat `/xcatpost/mypostscript.node0071c': No such file or
directory
mv: cannot stat `10.20.0.100/postscripts': No such file or directory
Tue Mar  1 16:03:04 CST 2016 Running postscript: syslog
Shutting down system logger: [FAILED]
Starting system logger: [  OK  ]
Tue Mar  1 16:03:05 CST 2016 Running postscript: remoteshell

Stopping sshd: [FAILED]
Generating SSH1 RSA host key: [  OK  ]
Starting sshd: [  OK  ]
Tue Mar  1 16:03:07 CST 2016 Running postscript: ospkgs
Tue Mar  1 16:03:10 CST 2016 Running postscript: addsiteyum
Tue Mar  1 16:03:10 CST 2016 Running postscript: syncfiles
  Did not sync any files.
Tue Mar  1 16:03:10 CST 2016 Running postscript: fstab
Info: Configuring fstab
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Warning: try grep x3650-head01:/opt /etc/mtab failed, rc 1, retrying
Error: try grep x3650-head01:/opt /etc/mtab unsuccessful
Tue Mar  1 16:04:14 CST 2016 Running postscript: setupntp
ntpd is stopped
 1 Mar 16:04:14 ntpdate[13492]: adjust time server 10.20.0.100 offset
0.201009 sec
Starting ntpd: [  OK  ]
-

>From past experience when things like this go wrong it tends to be due to
something small but significant that is misconfigured. Does any of this
look symptomatic of any common misconfiguration you are aware of?

P.S. I have verified that DNS has forward and reverse lookups for these
nodes on the MN and SNs.

Thanks,
Josh Nielsen
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


[xcat-user] openSUSE leap 42.1

2016-03-01 Thread Sebastian Schubert
Hi,

I am in the phase of planning a small HPC-system with 8+ nodes. Has anyone
tried xCAT with openSUSE? What would be the effort to adjust xCAT to
openSUSE? Since the latest openSUSE 42.1 is based on SLES 12.1 I would hope
that the differences are not that big...

Thanks a lot,
Sebastian
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user