Commit Graph

87 Commits

Author SHA1 Message Date
jjhua
c72e01429a for linux diskless, make getpostscript.awk use the template method, instad of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:01:30 +00:00
lissav
02ddd19381 possibley fix run_ps run_ps duplication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-18 13:48:14 +00:00
lissav
a3175f5df1 add processing for each subsection of the mypostscript file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 17:13:49 +00:00
lissav
6e115c511a Make tolerant of new mypostscript format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 13:47:41 +00:00
jjhua
5209a92de1 To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 05:43:45 +00:00
immarvin
beb47bb0f3 1.corrected defect 3053 2.update nodelist.updatestatus during 'updatenode -P/-S/-k';2.support nodelist.updatestatus update during 'updatenode -P/-S/-K';3.fix defect #3124 Postage.pm writes error message in /xcatpost/mypostscript: only write <data> field of getpostscript response to mypostscript, complain and terminate when getpostscript failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 08:48:20 +00:00
jjhua
12ce82d7e8 comment out removing the /xcatpost in the beginning of the xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 13:18:00 +00:00
immarvin
dc1d86412c set nodelist.status to failed if some postscript or postbootscript failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:31:14 +00:00
lissav
a5bd669943 fix defect 3564697
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-06 15:49:56 +00:00
jjhua
c8499d58c1 updatenode performance enhancement: remove the code to get the postscripts.tgz, This method is not acceptable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-04 02:38:11 +00:00
jwsimpson
e9a96fbfbe Updates to support postbootscripts on reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 15:52:31 +00:00
jjhua
82719795ef updatenode performance enhancement.1. get the /postscripts.tgz firstly, if fails, try the original procedure; 2, remove the sleep() action in xcatdsklspost script, because Jarrod did some enhancement in xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 11:43:52 +00:00
ligc
e76908aa91 fix for bug 3536372: download postscripts from the server specified in kernel parameter XCAT=xxx
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 07:58:59 +00:00
immarvin
ebd5c56f74 fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 03:40:49 +00:00
jbjohnso
54aa2a2202 Revert "Revert "fixed a defect when snmove failed if the source service node is down. defect 3487610""
This reverts commit f916dada5ddca8f67acd9bd9a050a158fde5d1df.

revert the mistaken revert

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:14:59 +00:00
jbjohnso
6df0c51504 Revert "fixed a defect when snmove failed if the source service node is down. defect 3487610"
This reverts commit 73a31e731517ce234f85f23ce391b3fce1169b76.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 00:13:28 +00:00
linggao
bb244787a7 fixed a defect when snmove failed if the source service node is down. defect 3487610
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 17:57:37 +00:00
ligc
48749916c6 fix for bug 3487614: change to /xcatpost/mypostscript and add timestamp when running postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 02:14:04 +00:00
wanghuaz
0059615b2a fixed a problem in power 775 that compute node cannot get its xcatserver ip from dhcp server over hfi, which was introduced by revision 10534.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 05:37:09 +00:00
ligc
aa40e86d49 fix for bug 3460128: run vpdupdate only when necessary
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-15 02:56:51 +00:00
ligc
112f5aeebd ftp dependency removal initial code drop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-10 14:26:08 +00:00
jbjohnso
98ef00a0d1 ignore dhcp from non ethernet devices
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-15 23:47:54 +00:00
ericagar
70d9db19d9 Fix for defect 3405308: Fix bashisms in xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-07 02:32:49 +00:00
lissav
2e79ba2ebd Do not show missing vpdudpate error message defect 3383825
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-04 12:29:52 +00:00
daniceexi
fe35508114 fix the issue that rsyslogd cannot work with tee command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-27 08:36:37 +00:00
ligc
1183c25a69 add support for cleaning up xcatpost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-04 08:58:30 +00:00
linggao
a1ca68238e support arguments for postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-15 14:10:34 +00:00
angli-xcat
900d58a7a2 Bug Fix (3215493)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-17 05:53:56 +00:00
wuzhy
d04796a620 adjust the xcat log path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-27 05:52:26 +00:00
mxi1
62142858f3 update the wget code to download function,
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-23 05:37:55 +00:00
mxi1
c874b9e858 for ftp://$SIP/postscripts, "--cut-dirs" should be 1, not 2.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-22 07:16:11 +00:00
mxi1
68a9b1be07 the "--cut-dirs=2" option makes that "wget" cannot get "_xcat" and "_ssh" from
ftp://$SIP/postscripts, it's removed now.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-22 07:01:31 +00:00
mxi1
c5aa4d7198 =remove useless comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-20 03:29:10 +00:00
mxi1
6b4a78c22b use "wget" to get all the postscripts for statelite node,
won't use "mount" any more!


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 11:02:41 +00:00
linggao
500d775412 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 13:04:33 +00:00
wuzhy
d8021e73fb adjust the code for run_ps and setbootfromnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 03:48:29 +00:00
wuzhy
a1dc150258 adjust the log code for run_ps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 02:57:40 +00:00
wuzhy
2ca089af3a adjust the log code for run_ps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-12 09:22:55 +00:00
wuzhy
94f6e16af6 log the stdout & stderr of each postscript to the local log file on each compute node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-09 06:12:40 +00:00
daniceexi
6399a3f417 some minor modification related to updatenode --security
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5568 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-24 12:05:58 +00:00
daniceexi
da1c12d71c fix a minor bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-22 17:58:09 +00:00
daniceexi
6b4b8e4ca2 the code drop of updatenode --security
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-21 13:11:47 +00:00
linggao
bed877bd50 fix node status and updatenode for statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 20:54:06 +00:00
daniceexi
5921efb1a6 defect 2954181: add code logic to handle the case that new dhcpd which does not write the *.info file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 09:44:42 +00:00
lissav
c5cbd45911 add logger call for errors so we can detect them on the MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-23 15:15:32 +00:00
mxi1
650c20fc5d added statelite mode support in xcatdsklspost; <xcatdsklspost 4> stands for statelite mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-25 11:34:42 +00:00
daniceexi
68882c353c defect 2900900: Add the local path of postscript to avoid be treated as a command when postscript named with a special key word like test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-20 10:00:27 +00:00
ligc
6ea2ab172a fix for bug 2918528: remove postbootscripts from mypostscript when postscript name is specified with updatenode command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-22 04:34:29 +00:00
linggao
ca4deae18b added some postscripts to get ready for supporting postbootscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 14:25:36 +00:00
linggao
874280ef60 add -s in updatenode, xcatdsklspost supports retry logic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 21:22:07 +00:00