Commit Graph

76 Commits

Author SHA1 Message Date
mellor
48a0eedb88 defect 4147 - allow nodeset to continue if prescript errors 2014-06-03 14:20:05 -04:00
mellor
e75be5fe88 defect 3998 - change file vars to globals 2014-03-26 17:10:05 -04:00
lissav
4c031e1806 fix for defect 3985 2014-02-20 07:25:29 -05:00
lissav
5585b97e18 fix defect 3942 2013-12-12 11:20:40 -05:00
lissav
e1c55be4ff defect 3844 2013-10-18 07:50:22 -04:00
lissav
2a4a063169 defect 3760 2013-10-09 12:28:09 -04:00
lissav
48e922423a defect 3750 2013-09-13 07:37:25 -04:00
lissav
edabe5dc6c add check for servicenodes and computenodes in noderange for nodeset. Also remove very old commented out code defect 3750 2013-08-27 12:48:37 -04:00
daniceexi
01d68774a2 Make nodeset can pass parameter --noupdateinitrd to mkinstall command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:20:16 +00:00
jbjohnso
90f638f3b2 Fix breakage where recent changes broke nodeset shell and friends
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-26 14:10:58 +00:00
immarvin
775941db70 support for addkcmdline of osimage. According to the design, the linuximage:addkcmdline should be appended to kernel arguments of the nodes after "nodeset osimage=".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-25 12:07:48 +00:00
linggao
1e8061270b added feature in nodeset to get the os image name from the nodetype.provemethod if the osimage is not specified with nodeset osimage command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 20:59:50 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jjhua
b4698dec04 For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:30:19 +00:00
immarvin
eb988493a6 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:07:36 +00:00
linggao
37c604a69d minor fix for getNodesetStates in pxe and yaboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 22:22:32 +00:00
linggao
4aef6cbfbc fixed compiling error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 19:12:25 +00:00
jbjohnso
24ee4eb3ce Apply changes from xnba.pm to pxe.pm and yaboot.pm for getstate external calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 18:14:03 +00:00
daniceexi
9e2b250062 fixed the issue that xnba,pxe,vsmppex,yaboot failed for service node when no valid nodes in the handled network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 10:31:33 +00:00
jbjohnso
d7d49fd2e7 Fix pxe plugin not having 'xCAT::Scope' used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11700 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-27 18:48:33 +00:00
jbjohnso
d39e110af8 Finish per-node/group tftpdir for NAS mount point managed sync up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-15 21:04:42 +00:00
wanghuaz
4de53d06d7 Fixing defect 3285568: if shardtftp is not set and the compute node is not resolved by xcatmaster, we will give one msg instead of quietly ignore it. this will help a lot to find the problem's root cause. The msg is not an error, since there are cases matching the above two conditions. So this msg should not make too much noise if those two conditions are valid.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-05 14:53:13 +00:00
linggao
8b0bd2c4de returns non zero value when prescripts fail in nodeset command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9606 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-16 19:59:10 +00:00
cjhardee
ee5d016666 unlinked files for nodeset <noderange> offline
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-01 17:56:57 +00:00
daniceexi
c9974123cb only add the IPAPPEND pxe flag for non fedora12/23 node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 11:51:44 +00:00
jbjohnso
e213cb0f1c -On x86, have a BOOTIF= variable available, and default to using it where possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-03 20:37:39 +00:00
jbjohnso
cc7b516b09 -Fix defect where pxe netboot would not work if pxelinux.cfg was not pre-created
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-01 14:45:22 +00:00
jbjohnso
cd79757c5b -Do not makedhcp when going to offline a node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-03 18:20:33 +00:00
datajerk
3dbde1cdda Statelite updates.
genimage, TCP support

anaconda.pm, //server for absolute path

xnba.pm/pxe.pm addkcmdline #NODEATTRIB support


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-01 16:32:22 +00:00
daniceexi
5fed2daa90 defect 2948423: use getTftpDir to get the tftp dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 09:01:01 +00:00
vallard
ac12cb03f1 added statelite support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 01:00:21 +00:00
jbjohnso
8dcec16ed5 -Correct mistakes in previous re-port effort
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 21:14:48 +00:00
jbjohnso
020209f7e8 -Port in the prescript and osimage support into the newly 'old' pxe support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 21:08:41 +00:00
jbjohnso
77f3598c8f -Bring back the addkcmdline handling at the pxe level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 20:46:26 +00:00
jbjohnso
af98e24170 -Roll pxe plugin all the way back to 2.2 style
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 20:30:05 +00:00
jbjohnso
78aa50e52d -Use 'exit' instead of the hdboot directive, as hdboot currently hangs on some
specific configurations


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 15:32:53 +00:00
jbjohnso
f5eb80e953 -Fix for entries that have multiple !myipfn! entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 17:59:14 +00:00
linggao
81306eb168 osimage support for nodeset command, phase 1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-22 15:37:40 +00:00
jbjohnso
a142c4275d -Fix bug where perl attempted to evaluate a variable intended for xNBA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-01 15:00:14 +00:00
jbjohnso
279f00ca1e -Move '!myipfn!' resolution to client to allow invariant tftp content
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-31 17:43:21 +00:00
jbjohnso
f023330458 -Fix problem where XCATROOT ending in non-slash resulted in problems with recent checkins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 20:41:24 +00:00
jbjohnso
5ce8217cd6 -Accept more paths to memdisk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 18:26:43 +00:00
jbjohnso
d1b51b68e1 -Use xNBA even for Etherboot (it should have patches to fix Etherboot compatibility)
-Change pxelinpx.0 handling to ensure it is the version that we have done version validation on
-Use pxelinux.0 out of a directory under 'xcat' so that xCAT maintains a healthier filesystem namespace to avoid conflicts


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 18:25:17 +00:00
jbjohnso
4ec9909870 -Fix defect 2843639, load pxelinux before 'memdisk' images as memdisk seems to be unhappy trying to run under xNBA directly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 18:17:31 +00:00
jbjohnso
0ad809aff0 -In ESXi, support splicing in addkcmdline in intelligent places
-Provide a method for plugins to declare custom processing of addkcmdline rather than the default append to the end


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-18 18:59:20 +00:00
linggao
cee982b877 more on prescripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-10 21:18:38 +00:00
linggao
2856ad6f56 fixed infinit loop in prescript.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 22:39:01 +00:00
linggao
46c142266d give up pulling dhcp out of pxe.pm and yaboot.pm to prescripts.Otherwise the prescripts code gets too complicated. We'll use site attribute 'dhcpsetup' instead to turn if off if needed. AAsn.pm can also use this attribute to not call makedhcp automatically
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 05:49:30 +00:00
linggao
70f0218ce0 prescripts support. need more fixes. Does not support service node pool yet. dhcp and begin scripts need to get worked on more.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 02:00:13 +00:00
jbjohnso
b4d552225e -Use new hdboot command for xnba based pxe boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-20 14:32:23 +00:00