2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 11:12:04 +00:00

50 Commits

Author SHA1 Message Date
Markus Hilger
826a8a8308 Support x86, ppc64 and arm in grub
Arm and ppc64 do not have linuxefi and initrdefi.
2024-02-21 11:59:50 +01:00
Mark Gurevich
e7b43c6edd Improve version test operator 2022-04-04 17:01:48 -04:00
Mark Gurevich
acf7dac1aa For SLES15 or higher 2022-04-04 16:34:26 -04:00
Mark Gurevich
0031526112 Allow SLES15 node on Power to reboot in standby mode 2022-03-24 14:46:09 -04:00
GONG Jie
89e9745a4f Handle site.httpport for grub2-http 2019-04-30 11:56:21 +08: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
d94d5ff007 Remove trailing spaces in file xCAT-server/lib/xcat/plugins/grub2.pm 2017-12-31 23:59:59 +00:00
Bin Xu
da60d783d0 1, make the error as node level error in sles/debian plugin so that nodeset can know which are the failure nodes (#4122)
2, using global variable for failurenodes in grub2 plugin
2017-10-19 03:09:33 -05: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
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
yangsong
6ed46ff77f support service node pool (#3268) 2017-06-22 18:04:55 +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
12610abaed Minor amend fix for 2794 - correct the wrong plugin name in trace log (#2999) 2017-05-08 02:12:02 -05: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
zet809
1ca955a33d Merge pull request #2514 from xcat2/2.13.nodeset_performance
merge 2.13.nodeset performance branch to master branch
2017-02-21 16:07:31 +08:00
immarvin
c003a1ee93 fix issue [fvt]2.13.2 xcat install monitor process hang and could not reort the node status 2017-02-16 14:13:52 +08:00
yangsong
f834844774 Merge pull request #2351 from chenglch/xcattable
Do not update bootparams table when running nodeset
2017-01-18 01:15:52 -06: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
immarvin
4a1247fbe9 fix [FVT]set xcatdebugmode=1 does not work after xcatdebugmode is set to 2 #2337; use symbol links instead of hard link while creating grub.cfg.xxxx 2016-12-21 23:00:11 -05:00
immarvin
c936778f21 fix issue [DEV] several issues on generating grub.cfg-xxx when netboot=grub2 #2174; fix issue kcmdline for centos netboot images set incorrectly #1502 2016-11-20 21:42:26 -05:00
Mark Gurevich
db9a71750e Fix sytax errors reported by perltidy 2016-07-25 08:56:18 -04: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
861e60b3e0 code review suggestions 2016-07-11 14:29:57 -04:00
Mark Gurevich
4c7148e8ed Nodeset offline for ppc64 2016-06-24 13:16:38 -04:00
Mark Gurevich
f20fd2a869 perltidy grub2.pm 2016-04-20 11:38:40 -04:00
Mark Gurevich
d1bb364ff6 Fix nodeset command for shell and shutdown options and fix nodeset usage and man page 2016-04-18 14:14:10 -04:00
yangsong
e5147d1711 Merge pull request #789 from penguhyang/improve_debugmode
make a fixed value scope for site.xcatdebugmode(0 1 2)
2016-03-31 21:20:14 -05:00
XuWei
4e80ec5cee Modified error message of my_ip_facing 2016-03-31 02:29:45 -04:00
penguhyang
c6d543ad42 make a fixed value scope for xcatdebugmode 2016-03-25 05:45:38 -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
immarvin
1831aca0bf add debug output for grub2 when xcatdebugnmode=1 2015-08-03 03:23:19 -04:00
ligc
4322c2b553 remove install|statelite|netboot from usage statements 2015-05-14 04:11:52 -04:00
ertaozh
a84a9e655b appending "statement" within makedhcp rather than from nodeset, this commit include grub2,petitboot and nimol netboot method 2015-05-12 01:36:55 -04:00
immarvin
43ec8b55ef support persistent kernel cmdline after diskful installation 2015-04-10 02:54:01 -07:00
immarvin
1d6ba3646e add support for grub2-tftp and grub2-http as the netboot method 2015-01-28 01:15:23 -08:00
immarvin
b8602d756f fix defect #4299 Node provision failed because kickstart file have unreasonable conf which caused by switch discovery emthod 2014-11-28 01:49:33 -08:00
immarvin
d2cda7eb9e fix defect #4201 grub2 failure with mixed case mac address 2014-07-28 02:45:13 -07:00
immarvin
3fa9fd3e7b append some code logic and documentation for rhels7 support on grub2
Conflicts:

	xCAT-server/lib/xcat/plugins/grub2.pm
2014-03-21 04:53:07 -07:00