GONG Jie
cca3c34a32
Remove trailing spaces in file xCAT-server/lib/xcat/plugins/petitboot.pm
2017-12-31 23:59:59 +00:00
Bin Xu
d447882fd5
Adjust the server used for kernel/initrd and imgurl for petitboot ( #4416 )
...
- URL for kernel/initrd, get the value from below value tftpserver -> xcatmaster -> myipfn
- URL for image, get the value from below value nfsserver -> tftpserver -> xcatmaster -> myipfn
2017-12-13 18:14:04 +08:00
Bin Xu
9abe96809b
Fix 3026, ignore the rsetboot for openbmc box in petitboot during the stateful installation ( #4193 )
2017-10-27 04:10:47 -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
15a149583d
More mac address prechecking to destiny plugin
2017-09-30 13:09:54 +08:00
Bin Xu
57aa417987
Not return directly for nodeset when hit one node failure
2017-09-30 10:29:32 +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
immarvin
db94cc7479
partial fix for [openbmc]xcatd reported "Died at /opt/xcat/sbin/xcatd" when openbmc nodes updated its status from "installing" to "booting" #3026
2017-05-11 02:30:42 -04:00
Victor Hu
3e7afecee2
Merge pull request #3012 from zet809/fix_issue_3003
...
Modify bootloader label to be "xCAT Genesis shell" for petitboot
2017-05-09 13:14:29 -04:00
ertaozh
b909a7ed30
Modify bootloader label to be "xCAT Genesis shell" for petitboot
2017-05-09 06:12:49 -04: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
Bin Xu
1efc56bfb7
Using bulk operation to invoke makedhcp to imporve nodeset perforamnce ( #2897 )
2017-04-20 23:57:29 -05:00
immarvin
65d01288a5
fix issue When "site" attribute "sharedtftp" is false, the "nodeset" command fails #2492
2017-03-21 14:57:41 +08: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
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
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
XuWei
4e80ec5cee
Modified error message of my_ip_facing
2016-03-31 02:29:45 -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
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
ertaozh
b2a04a221b
fix bug 4611: PowerNV stateful CN provision will hang at reboot stage
2015-03-30 04:56:42 -04:00
huweihua
7f58d3fd6c
fix bug: disappeared in prtitboot environment
2014-11-11 06:57:23 -05:00
zhaoertao
ae5320d82b
fix bug 4267:Missing includes for Sys::Syslog in /opt/xcat/lib/perl/xCAT_plugin/petitboot.pm
2014-09-03 02:04:27 -07:00
zhaoertao
86ce2a4ccb
fix bugs about petitboot configure file, ubuntu sshd issue
2014-05-15 00:43:52 -07:00
zhaoertao
1057bd5b91
modify DHCP parameters for pkvm
2014-04-22 03:11:09 -07:00
zhaoertao
8ee1cb7457
Modify the dhcp config file use ip address of MN rather than a static IP address
2014-04-21 19:47:21 -07:00
zhaoertao
17aa3f84ac
support for powerkvm provisioning
2014-03-21 00:14:47 -07:00