Commit Graph

118 Commits

Author SHA1 Message Date
immarvin
8c4b0edc52 fix defect #3694 [PCM] Showing booting status always for NGP X node status after power reset: update site.status during normal diskful reboot 2013-10-25 00:23:55 -07:00
lissav
46c9d5d788 additional flowcontrol error handling defect 3819 2013-10-17 11:43:56 -04:00
lissav
b089d456d7 defect 3819, changes for xcatdsklspost and setuppostbootscripts 2013-10-15 10:19:42 -04:00
lissav
83eb5d2628 defect 3819 2013-10-10 14:52:38 -04:00
lissav
410217ac31 defect 3819 2013-10-10 11:22:18 -04:00
lissav
a9acb42b1e add flow control 2013-08-16 07:05:32 -04:00
lissav
a758cdf573 fix defect 3642
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16733 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-24 12:56:11 +00:00
lissav
c68a422c44 defect 3617
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 11:53:35 +00:00
lissav
d4d56cbc91 fix code assumes only XCATSERVER entry in xcatinfo, we have now added NODE
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-03 15:36:10 +00:00
lissav
a8323e599a use NODE name defined in /opt/xcat/xcatinfo file, if there
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16434 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 13:53:47 +00:00
lissav
0ed2145239 improve grep for error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 17:06:06 +00:00
lissav
b13c713888 support long hostnames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-22 12:41:14 +00:00
lissav
a50b572e6e first update for enhance precreatemypostscript handling, more todo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16320 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 13:55:55 +00:00
lissav
428c90336d Add NODE to the /opt/xcat/xcatinfo file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 15:51:46 +00:00
linggao
170647e000 fixed SF bug#2433
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 21:18:43 +00:00
linggao
044848b35d fix sf bug #3422 updatenode -P fails to resolve name of mypostscript file on the MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:12:32 +00:00
linggao
92b22201f6 fixed SF bug #3398 updatenode -P fails if hostname on the node is FQDN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 15:20:58 +00:00
lissav
d19df65b7a fix defect 3398
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 17:34:38 +00:00
lissav
191dcde3dc fix defect 3362
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 20:45:45 +00:00
lissav
10f3c7dbad fix defect 3362, a portion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-06 19:46:29 +00:00
jjhua
bf06d6b90a fixed bug 3358. set retry=0 every download
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 03:21:22 +00:00
lissav
852b07a725 code calls download_mypostscript routine with wrong input order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 20:18:59 +00:00
jjhua
24a5be82a2 fixd bug 3291, when run getpostscript.awk version2, create mypostscripts.nodename.tmp and get the mypostscripts.nodename.tmp later insteadf of mypostscripts.nodename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:20:12 +00:00
jjhua
6f3eab155b 1. to be compatible with the old diskless rootimg(s) before xCAT 2.8 ; 2 reorginize some code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 05:23:44 +00:00
daniceexi
0fcfa40bcb fix a typo that output of postscript could not be written to /var/log/xcat/xcat.log
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-18 02:52:15 +00:00
lissav
7cd7ebb719 fix parsing of the args
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 12:54:57 +00:00
lissav
320eea1c75 new logic to get xcataixpost to the node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 20:40:11 +00:00
lissav
a951d6b551 remove sending updatestatus to daemon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 18:47:25 +00:00
lissav
ebdb9c140f remove call to xcatdsklspost.new
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:44:13 +00:00
lissav
fbadf54c32 support running xcataixpost if on a Linux node, note this assume that the caller has xdcp xcataixpost to tmp on the node, before calling. See updatenode.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-01 12:20:36 +00:00
jjhua
496c73b65c pass the tftpdir to the xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 07:14:09 +00:00
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