2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-25 13:12:03 +00:00

2969 Commits

Author SHA1 Message Date
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
XuWei
f0a6d22c9e modified depending on comments 2017-05-02 22:34:25 -04:00
Victor Hu
fa3b79460a Merge pull request #2877 from gurevichmark/rflash_usage
Fix docs and usage for clonevm, rflash, and img* commands
2017-04-27 20:35:18 -04:00
XuWei
45255ab48c fix issue 2948, add bmc specific for rpower in usage & return if got error for ipmi mgt 2017-04-27 02:33:19 -04:00
immarvin
669561e649 xcat command returns 0 when cmd fails due authorization #2636: prompt meaningful message for user if client certificates not setup correctly; specify SSL_verify_mode => SSL_VERIFY_NONE explicitly for IO::Socket::SSL->start_SSL 2017-04-25 04:53:45 -04:00
chenglch
fd3e9f3d18 Ignore groups inheritance for ppcdirect table as the special desgin (#2893)
This patch aims to fix the error from automation testcase
`chdef_multiple_keys` due to the changes to support groups inheritance
for switches table.
As the strange design about access_tabentry, ppcdirect works like site
table and must not support groups.

Close-issue: #2450
2017-04-20 00:06:27 -05:00
chenglch
831a3b6e04 Make tables which contain nodecol column inheritable (#2785)
Actually, the subroutine getNodeAttribs already fetch the attributes
related to the groups, but the `defobj` related method ignore these
attributes as it is not node column although nodecol is set. This
patch treat nodecol column as node to make the attributes in these
table inheritable.

fix-issue: #2450
2017-04-18 01:46:45 -05:00
Mark Gurevich
b3749bb85d Fix docs and usage for clonevm, rflash, and img* commands 2017-04-17 15:32:23 -04:00
immarvin
991ae3e153 fix issue [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later #2856: process the multiple dirs in pkgdir 2017-04-13 01:21:06 -04:00
yangsong
a761e64c0c fix issue #2856: [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later (#2857)
* fix issue [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later #2856

* fix issue [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later #2856
2017-04-13 11:31:54 +08:00
bybai
baeb4b717e polished 2017-03-30 21:58:24 -04:00
bybai
7e3c314922 update mtu description in networks table 2017-03-30 05:01:50 -04:00
bybai
df369b9387 update mtu description in networks table 2017-03-30 04:48:54 -04:00
Weihua Hu
2d60f9c8bc Merge pull request #2705 from cxhong/pdureset
ADD support for power reset of PDU outlet
2017-03-28 15:09:59 +08:00
Mark Gurevich
4b0ce18b9d Add DSH_VERIFY environment variable to xdsh command 2017-03-23 15:44:11 -04:00
Amanda Duffy
d01499ea72 reseat option for high-density servers
Add "Lenovo High-Density Server" to rpower man and usage. Add reseat
option.
2017-03-21 17:10:27 -04:00
Casandra Qiu
865527400f ADD support for power reset of PDU outlet 2017-03-21 12:01:42 -04:00
Mark Gurevich
4e1d4629a9 Preserve the user ownership of the file for xdcp command 2017-03-20 13:19:39 -04:00
XuWei
98ef5adea2 modified depending on comments 2017-03-20 01:12:29 -04:00