2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

74 Commits

Author SHA1 Message Date
Jarrod Johnson
6b7cde63e4 Fix support for non-efistub kernels 2020-07-20 08:39:28 -04:00
Jarrod Johnson
eae0a64348 Have xnba conditionally do elilo if needed
CentOS 6 and RHEL 6 for example do not support direct iPXE
boot.  For those platforms, auto-use elilo for uefi boot.
2020-07-20 08:37:36 -04:00
Jarrod Johnson
76a57eaae2 Remove use of elilo
iPXE can directly execute all but the most ancient Linux kernels
directly in UEFI boot.  Remove the elilo intermediate step.
2020-07-20 08:37:28 -04:00
yangsbj
1889ec879d support site.httpport in nodeset and mknb 2018-11-01 23:29:01 -04:00
Bin Xu
863c36c83f
Make disjoint mode working when service node up (inittime=1) (#5553)
* Make disjoint mode working when service node up (inittime=1), and in the time not run in parallel to avoid access DB too much

* For shared tftp, nothing need to be done in AAsn
2018-09-11 09:22:08 +08:00
GONG Jie
9265693a0c Remove trailing spaces in file xCAT-server/lib/xcat/plugins/xnba.pm 2017-12-31 23:59:59 +00:00
cxhong
2bf8108af6 build xnba config files from boottarget table (#5296) 2018-06-21 13:40:41 +08:00
Bin Xu
7da8844f82 1, enhance error handling for grub2 plugin; 2, move grub2 configuration business logic into 'setstate' 2017-09-30 17:49:29 +08:00
Bin Xu
a717283a28 make xnba plugin error hanlding better for batch operation 2017-09-30 13:05:40 +08:00
Bin Xu
8a66d84381 Fix 3930, 1, only re-distribute to accessible dhcpsrv; 2, for non-sharedtftp mode, run makedhcp -d -l for offline (#3954) 2017-09-19 15:35:59 +08:00
Bin Xu
254cf2b2bf Fix 3787, code error when missing -l option for makedhcp in nodeset (#3788) 2017-08-28 17:07:20 +08:00
Bin Xu
0d85cd441b 1, Make the function header and comments more clear 2017-08-02 14:39:28 +08:00
Bin Xu
770d947c94 Using networks.dhcpserver as one accept whole noderange for nodeset. 2017-07-28 16:36:15 +08:00
Bin Xu
31ba541657 Forwarding to MN if the request is accepted by SN 2017-07-27 15:55:30 +08:00
Bin Xu
53d3b1bced 1, use 'disjointdhcps' for nodeset disjoint mode
2, handle 'disjoint' in preprocess method, to make sure that no request will be sent to SN which does not manage the nodes.
3, refine 'stat' to make sure it could query unmanaged nodes on-demand.
2017-07-24 13:36:49 +08:00
Bin Xu
9dd5c3e986 Fix typo 2017-07-17 19:49:39 +08:00
Bin Xu
9b2f597ec2 Polish the code according to the review comments 2017-07-17 14:44:34 +08:00
Bin Xu
47b92c193f Fix #3088, introduce 'disjointnetboot' site attribute to make nodeset
request will only be handled for managed nodes on SN.
2017-07-14 14:42:43 +08:00
Bin Xu
fe6b771add Fix #3087: nodeset improvement - using multi-process to parallelize (#3118)
* Fix #3087: nodeset improvement - using multi-process to parallelize
 - before deliver the request to xcatd, we can split the request to multiple sub-requests which contains different noderange
 - in that, xcatd could hanle those sub-requests in parallel, just like some issue multiple commands.

* refine according to the review comments:
 - not using POSIX::ceil
 - Callback is reserved for filter method

* refine codes according review comments

* make the comments right and more readable.
2017-06-01 04:22:22 -05:00
yangsong
5c4dd31844 fix issue [fvt]2.13.4 nodeset osimage have no right output if command wrong #2971 (#3147)
* fix issue#2971:  one CLI arguments validation issue is not correct for nodeset/rinstall/winstall
2017-05-31 17:36:09 +08:00
Bin Xu
230a4dbb79 Fix issue #2794, Nodeset fails to generate /tftpboot config files if … (#2982)
* Fix issue #2794, Nodeset fails to generate /tftpboot config files if ip attribute is not set
  - Report error when the node cannot be handled by its xcatmaster/servicenode (sharedtftp=0)

*  - using determinehostname to get the current server name, it will reduce the time when many service nodes.
2017-05-07 21:13:59 -05:00
chenglch
97f9d4da8f Do not update bootparams table when running nodeset
With the nytprof tool, the buttleneck is the time to update the bootparams
table.To optimize the performance on large scale nodes, this patch tranfer
the bootparams hash through variable reference.

posible impact: getdestiny can not get the information about bootparams.

partial-issue: #2024
2016-12-23 13:45:20 +08:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
Mark Gurevich
97a159d47a More fixes due to review comments 2016-07-12 09:13:40 -04:00
Mark Gurevich
05f2832e7d Remove dhcp entry for x86_64 node when nodeset offline is issued 2016-07-11 15:12:13 -04:00
XuWei
f2b9f6e94a to fix Issue 302, modified my_ip_facing and related functions 2015-11-12 00:33:03 -05:00
huweihua
a81a5e1a45 fix the indent issue and combine trace message 2015-08-18 04:11:59 -04:00
huweihua
a35ca71281 add trace information 2015-08-13 23:31:30 -04:00
Jarrod Johnson
4aa46e7eca Further ESXi6 fixes
Fix ESXi6 in a number aways around netboot/install
2015-08-05 16:15:48 -04:00
ligc
4322c2b553 remove install|statelite|netboot from usage statements 2015-05-14 04:11:52 -04:00
immarvin
43ec8b55ef support persistent kernel cmdline after diskful installation 2015-04-10 02:54:01 -07:00
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
48e922423a defect 3750 2013-09-13 07:37:25 -04:00
lissav
e8052e3e37 add check for servicenodes and computenodes in noderange for nodeset. Also remove very old commented out code defect 3750 2013-08-27 13:10: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
691628503e 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@12900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 06:53:34 +00:00
immarvin
6d55da8656 fixed bug 3495408 :nodeset offline doc and test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 08:08:19 +00:00
jbjohnso
3d008a7b33 Have xnba.pm more gracefully recover from error conditions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-09 14:12:20 +00:00
jbjohnso
1c83b2641b Correct typo in xnba plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 14:45:26 +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
ef19a2bbdd Have xnba.pm cope with extrnal cals to getstate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 18:08:49 +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
b963e36dc7 Fix xnba using xCAT::Scope without 'use'ing it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 14:31:10 +00:00