2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

3012 Commits

Author SHA1 Message Date
zet809
eeb32f8431 Merge pull request #3608 from gurevichmark/openbmc_rflash_delete_image
Implement openbmc image delete function
2017-08-08 15:17:05 +08:00
zet809
1826f8e75e Merge pull request #3557 from chenglch/table
Retry 3 times if database connection can not be established
2017-08-07 17:03:24 +08:00
Mark Gurevich
0ca911b9f3 Usage and man page update 2017-08-03 14:50:46 -04:00
chenglch
8373b5de6b Optimize the performance for getNodesAttribs and getAllNodeAttribs (#3593)
As `get_site_attribute` subroutine could not cache the value for
hierarchicalattrs configuration, this commit move the check logic of
`hierarchicalattrs` from `getNodeAttribs_nosub_returnany` to `getNodesAttribs`
and `getAllNodeAttribs` to optimize the the performance of bulk query.

After testing, this change will bring 50% performance improvement for
`getNodesAttribs` subroutine.
2017-08-02 21:17:53 -05:00
Victor Hu
36b025c4c7 Merge pull request #3586 from gurevichmark/openbmc_rflash_activate_pnor
Openbmc rflash activate pnor
2017-08-02 15:29:49 -04:00
Bin Xu
e9e1a4ccf3 Merge branch 'master' into xcatshowsvr 2017-08-02 15:45:06 +08:00
zet809
8fbf24d781 Merge pull request #3456 from robin2008/nodeset-disjoint
Fix #3088, Using 'disjointdhcps' site attribute to make nodeset request will only be handled on service node for nodes it manages
2017-08-02 15:10:27 +08:00
Bin Xu
0d85cd441b 1, Make the function header and comments more clear 2017-08-02 14:39:28 +08:00
Mark Gurevich
1d9909e074 Updates from review 2017-08-01 14:14:44 -04:00
Bin Xu
770d947c94 Using networks.dhcpserver as one accept whole noderange for nodeset. 2017-07-28 16:36:15 +08:00
chenglch
fdaeb5d761 Retry 3 times if database connection can not be established
As connection may fail due to the limit or error from database side,
this patch add retry mechanism to reduce probability of failure.

fix-issue: #2529
2017-07-28 13:53:34 +08:00
yangsong
915248a419 fix addkcmdline for deployed kernel only #3532, refine the document (#3536) 2017-07-28 11:23:31 +08:00
Bin Xu
6aadfc2055 Fix 3474, introduce 'XCATSHOWSVR' to control whether to show where the message is from. 2017-07-27 16:08:14 +08:00
Bin Xu
31ba541657 Forwarding to MN if the request is accepted by SN 2017-07-27 15:55:30 +08:00
zet809
ddc06a3fa5 Merge pull request #3518 from tindelli/master
blacklist HP trunk interfaces
2017-07-25 13:58:08 +08:00
zet809
376f1b723d Merge pull request #3510 from cxhong/pdudiscover
Support pdudiscover command to discover PDU
2017-07-24 21:25:48 +08:00
Yuan Bai
f329a2efa7 Merge pull request #3512 from chenglch/getadapter
Make getadapter work during discovery process
2017-07-24 15:17:17 +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
Casandra Qiu
762ee31628 modified from review 2017-07-21 10:38:31 -04:00
chenglch
bc6ddccbd0 Modify the document and nics schema based on review comments. 2017-07-21 16:19:24 +08:00
Tom Indelli
7841a6a015 blacklist HP trunk interfaces 2017-07-20 14:40:48 -05:00
Mark Gurevich
1349d5b577 Merge pull request #3506 from xuweibj/I3496
fix 3496, depends on xcatdebugmode to print debug msg
2017-07-20 11:03:22 -04:00
XuWei
577e5cef28 modified depending on comments 2017-07-19 23:22:33 -04:00
Casandra Qiu
c3159a5b20 Support pdudiscover command to discover PDU 2017-07-19 17:18:31 -04:00
Xiaopeng Wang
8e6fdfde3d Merge pull request #3493 from zet809/fix_issue_3490
fix issue 3490: "rscan <hmc> -w" will delete ip attribute of node whi…
2017-07-19 16:09:43 +08:00
chenglch
32525fc3dc Merge pull request #3463 from gurevichmark/rflash_supermicro
rflash for Supermicro Briggs and Boston nodes
2017-07-19 09:13:36 +08:00
ertaozh
9e1008b18a fix issue 3490: "rscan <hmc> -w" will delete ip attribute of node which was defined ahead 2017-07-18 05:30:39 -04:00
Mark Gurevich
464ef135d5 rflash for Supermicro Briggs and Boston nodes 2017-07-14 11:21:19 -04: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
XuWei
d84490af02 add related docs 2017-07-12 21:09:15 -04:00
zet809
b5da727853 Merge pull request #3367 from cxhong/3305
Add Vlan and MTU to switch_macmap output
2017-07-12 09:39:29 +08:00
cxhong
a030a7f59e Merge pull request #3398 from samveen/mariadbsetup
[perl-xCAT] Allow `mysqlsetup` to configure mariadb too.
2017-07-11 16:17:53 -04:00
Victor Hu
fccace532c Add option to rpower for OpenBMC to return the state of the BMC.
This is a feature that the openbmc management utility allows us to
obtain over the REST interfaces
2017-07-11 14:53:18 -04:00
Victor Hu
5f1d6e675a Add softoff for OpenBMC usage 2017-07-11 14:51:12 -04:00
Samveen Gulati
dd5d2263f6 Utils::servicemap: add mariadb as alias of mysql to %svchash 2017-07-05 04:35:03 +00:00
Samveen Gulati
4635fcb730 Utils::servicemap: Correct formatting of %svchash 2017-07-05 04:33:40 +00:00
immarvin
c6202a7728 "rinstall xxx" command should be valid and perform provision by default 2017-07-04 04:44:44 -04:00
Bin Xu
c95b277a4a Fix 3368, "noboot" is not working for mknb when multiple interfaces, and it is caused by something wrong in "get_nic_ip" (#3371) 2017-06-29 03:51:31 -05:00
Casandra Qiu
2f963800e8 Add Vlan and MTU to switch_macmap output 2017-06-28 16:55:15 -04:00
Mark Gurevich
f4baff1e60 Merge pull request #3306 from whowutwut/rinv_firm_verbose
[openbmc] Add --verbose option and improve readability for `rinv <> firm`
2017-06-23 09:32:17 -04:00
zet809
2679d56b73 Merge pull request #3129 from immarvin/oncumulusdiscover
ztp based cumulus discover and configuration
2017-06-23 13:49:51 +08:00
immarvin
65d882b990 add cumulus discover script 2017-06-22 22:30:35 -04:00
Victor Hu
27607d7495 Add verbose option to rinv for OpenBMC supported machines 2017-06-22 20:58:20 -04:00
zet809
11f351cf6e Merge pull request #2763 from samveen/reduce_greps
Reduce `grep` invocations by passing `-[46]` to `ip`
2017-06-22 16:24:04 +08:00
Victor Hu
393026dc47 Merge pull request #3307 from gurevichmark/rinv_man_usage_sync
Fix man page and usage for MPA rinv command
2017-06-21 13:58:34 -04:00
Mark Gurevich
3c75e9cfae Fix man page and usage for MPA rinv command 2017-06-21 13:30:07 -04:00
ertaozh
17faabe04e fix issue 3289: Changing site table attributes using chdef does not return the correct message 2017-06-21 03:57:51 -04:00
chenglch
a6696f7fde Fix the calculation error for conserver version number
This patch fix the error while calculating the version number.
Use int instead of ord to convert string to integer.

fix-issue: #3286
2017-06-20 10:22:09 +08:00
zet809
54a1e38ddd Merge pull request #3145 from whowutwut/rinv_firm
Enhancements to rinv code to complete development
2017-06-19 16:54:13 +08:00
chenglch
5331626d9a Upgrade conserver to 8.2.1 version (#3252)
This patch change the `sslauthority` to `sslcacertificatefile` to
support the latest version of conserver. It also add scripts to
update the `conserver.cf` and $HOME/.consolerc to make sure
migration works correctly.

implement: #3239
2017-06-16 16:51:05 +08:00