2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

2987 Commits

Author SHA1 Message Date
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
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
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
immarvin
4fcacba838 fix issue Couldn't find ID in the discinfo database #3254 2017-06-14 01:38:32 -04:00
Samveen Gulati
f1b406dbc0 Reduce grep invocations by passing -[46] to ip 2017-06-06 09:53:29 +00:00
Mark Gurevich
d861f68995 Sync usage, man and code for ipmi rvitals 2017-06-05 10:56:59 -04:00
Victor Hu
bf382dcd10 Sync up the spelling to use: OpenPOWER and OpenBMC 2017-06-02 15:02:02 -04: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
Victor Hu
33371667cb Remove options that are not supported for rinv 2017-05-30 22:45:00 -04:00
Victor Hu
b8894ed38b Following changes based on review comments
* Modified to display altitude instead of length
  * Print an output message if there is no values returned from the BMC
2017-05-30 14:32:07 -04:00
Victor Hu
74769080c8 Based on the OpenBMC Sensor API, complete the development code
for the supported options based on the possible values that are
currently allowed to be returned.  As more data is added, the code
should be able to handle the printing of the data automatically
2017-05-24 22:49:14 -04:00
yangsong
317845a04c merge 2.13.perfopt branch to master branch (#3044)
* Add trace point for perf tool in xcatd (#903)

This patch aims to enable nytprof library to analyze the performance
of xcat code in statement level.

- Add perf trace point in xcatd
- Add sleep time for db prcess to solve the race condition when
- perf instraction is used.

More reference

To enable prof:

perl -dt:NYTProf /opt/xcat/sbin/xcatd -f

Some perf test sample:
https://github.com/chenglch/xcatperf

* refine the performance of makedhcp (#2901), it including:
 - refine the code logic in getSNList to get better performance
 - refine the getipaddr, cache the dns lookup result
 - refine noderangecontainsMn
 - refine ishostinsubnet
2017-05-18 14:23:29 +08:00
Mark Gurevich
83e0e51944 Merge pull request #3045 from zet809/fix_issue_2577
Fix issue 2577: chdef -m should return correct warning message when s…
2017-05-15 10:16:45 -04:00
chenglch
b5448dc6f8 Fix regular expression issue while listing group object
Group object should not be translate with the object name even if
the attribute contains regular expression.

Fix-issue: #3047
2017-05-15 09:57:12 +08:00
ertaozh
27dcfbbd7a enhance descript of postscripts.postscripts and postscripts.postbootscripts 2017-05-12 21:40:11 -04:00
ertaozh
e07b607b44 Fix issue 2577: chdef -m should return correct warning message when some attributes is not permit to be changed. 2017-05-12 06:33:37 -04:00
Victor Hu
3d923652c5 Merge pull request #3024 from gurevichmark/rvitals_openbmc
Initial pass for OpenBMC rvitals
2017-05-11 17:11:16 -04:00
Mark Gurevich
d1fa11b29e Merge pull request #2979 from xuweibj/manrinv
Add docs about rinv for openbmc
2017-05-11 09:03:26 -04:00
Mark Gurevich
18dc716959 Merge pull request #2951 from xuweibj/I2948
Add bmc specific for rpower in usage & return if encountered error
2017-05-11 09:00:36 -04:00
Mark Gurevich
c02c9269df Initial pass for OpenBMC rvitals 2017-05-10 14:58:20 -04:00
chenglch
a9844c9aa4 Merge pull request #2986 from xuweibj/I2809
Enhance bmcdiscover to support openbmc
2017-05-09 13:46:43 +08:00
Victor Hu
6f5792c453 Merge pull request #2966 from xuweibj/I2913
framework of rspconfig command for openbmc
2017-05-08 09:41:24 -04:00
XuWei
4d0e8ece12 modified depending on comments 2017-05-07 21:55:21 -04:00
XuWei
bc5663b911 Enhance bmcdisocver to support openbmc 2017-05-05 02:30:08 -04:00
XuWei
d264da3252 add bmcconsoleport and taggedvlan attributes in openbmc table 2017-05-04 03:55:34 -04:00
XuWei
91830aafd8 Add docs about rinv for openbmc 2017-05-03 21:22:13 -04:00
XuWei
7a08a2b338 modified depending on comments 2017-05-02 23:10:13 -04:00