2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 19:20:24 +00:00
Commit Graph

20752 Commits

Author SHA1 Message Date
chenglch
3408e93e6b Do not query noderes table in subvars subroutine
This patch refactor the interface to get xcatmaster and tftpserver
attributes in the subvars subroutine to improve the performance.

partial-issue: #3958
2017-09-25 16:33:23 +08:00
Gᴏɴɢ Jie
d9aed2dc9b Merge pull request #3968 from hu-weihua/testcase
Fix typo in test case
2017-09-20 01:25:50 -05:00
hu-weihua
570daf3fa4 Fix typo in test case 2017-09-20 01:37:21 -04:00
Yuan Bai
e1fdfcb850 Merge pull request #3949 from samveen/minor_fix
xHRM: fix minor code bug
2017-09-20 10:44:45 +08:00
Mark Gurevich
e7c67fee30 Merge pull request #3918 from zet809/correct_discover_doc
Modify the ip/bmc ip setting mistakes in mtm based discovery document
2017-09-19 09:39:08 -04:00
Samveen Gulati
bf9a960140 xHRM: fix minor code bug 2017-09-19 12:24:57 +00:00
zet809
d6b6d9205e Merge pull request #3961 from bybai/mkhosts
nic interface check to avoid dot in short host name
2017-09-19 18:01:04 +08:00
zet809
0b5a2580ca Merge pull request #3962 from xuweibj/I3951
Fix issue 3951, rm all bmc nodes when discovered
2017-09-19 17:42:15 +08:00
bybai
c7ea492e6b polished 2017-09-19 05:21:07 -04:00
XuWei
be81e218c6 Fix issue 3951, rm all bmc nodes when discovered 2017-09-19 04:51:48 -04:00
bybai
41fc149dc9 nic interface check to avoid dot in short host name 2017-09-19 04:44:29 -04:00
zet809
59cb8554f4 Merge pull request #3953 from cxhong/3952
Discover Coral PDUs with same default hostname
2017-09-19 15:51:23 +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
ec25ab49bb Merge pull request #3959 from immarvin/onswitchmac
add another several mac prefixes for Edgecore network devices
2017-09-19 14:31:06 +08:00
immarvin
0d31efdd64 add another several mac prefixes for edgecore network devices 2017-09-19 02:21:31 -04:00
Casandra Qiu
cb7babd868 Discover Coral PDUs with same default hostname 2017-09-18 16:52:05 -04:00
Victor Hu
304120530a Merge pull request #3914 from gurevichmark/openbmc_rflash_multiple_nodes
Handle more than one node for openbmc rflash
2017-09-18 16:38:47 -04:00
Victor Hu
a94b82181e Merge pull request #3950 from gurevichmark/another_boston_id
Treat 5104-22C as a ESS Boston node for rflash command
2017-09-18 15:04:11 -04:00
Mark Gurevich
743df92e44 Treat 5104-22C as a ESS Boston node for rflash command 2017-09-18 14:15:45 -04:00
Mark Gurevich
5ac1f04791 Simplify code based on review comment 2017-09-18 11:49:51 -04:00
Mark Gurevich
3fe3a0c3fb Merge pull request #3940 from xuweibj/reventlog
Add node name in output of reventlog for OpenBMC
2017-09-18 09:29:49 -04:00
zet809
3818dbb396 Merge pull request #3926 from samveen/fix_3904
Improvements to `nodediscoverls`
2017-09-18 18:03:00 +08:00
XuWei
14b5c39d89 Add node name in output of reventlog for OpenBMC 2017-09-17 22:48:42 -04:00
chenglch
3396e3c9a0 Disable the ssh prompt when connecting the openbmc console (#3815)
This patch force the ssh client to use the ssh key only. It also
disable the known host check to avoid of the error after rflash.

Fix-issue: #3543
2017-09-15 16:59:44 +08:00
yangsong
a183e3b8f2 support local syslog:1)ship logrotate and log filter rule files in xCATsn;2)refine syslog script to enable log filter and rotate rules (#3921) 2017-09-15 16:03:43 +08:00
zet809
852e996eff enhance clusterstatus to report cluster status (#3900)
* enhance clusterstatus to report cluster status

* modify usage for clusterstatus
2017-09-15 15:58:38 +08:00
Yuan Bai
c88fe766b4 makenetworks only ignore existed network entry. (#3928) 2017-09-15 11:07:31 +08:00
Samveen Gulati
ecc6af989b Add single space between MTM and serial 2017-09-15 00:09:37 +00:00
Samveen Gulati
5216f62d4b Fix #3904 : Add ability to list discoverydata by type mtms 2017-09-15 00:06:32 +00:00
zet809
87ecb70b8a Merge pull request #3925 from cxhong/pduip
Handle TIMEOUT error message for change pdu ip address
2017-09-15 07:43:10 +08:00
Victor Hu
9326b2133d Merge pull request #3924 from cxhong/netmask
Add netmask to configonie script for change ip
2017-09-14 17:40:04 -04:00
Casandra Qiu
8f0f59c373 Handle TIMEOUT error message for change pdu ip address 2017-09-14 16:57:09 -04:00
Casandra Qiu
85957476f9 Add netmask to configonie script for change ip 2017-09-14 16:43:31 -04:00
zet809
d4de3c2110 Merge pull request #3629 from cxhong/netcfg
Support rspconfig command to change PDU's ip address, netmask and hostname
2017-09-14 23:56:36 +08:00
Casandra Qiu
f781063624 remove " in the Usage.pm for rvitals 2017-09-14 11:30:06 -04:00
Casandra Qiu
555eef7794 modify netcfg and add rinv and rvitals command 2017-09-14 09:50:44 -04:00
Gᴏɴɢ Jie
fe8f758efe Merge pull request #3922 from chenglch/dblog
Add description for the issue that may lose log
2017-09-14 05:25:30 -05:00
chenglch
1938bd9a87 Add description for the issue that may lose log
This commit add descritpion for `dbtracelevel` entry in site table
to help the user find the detail solution if the log is lost due
to the issue from rsyslog side.

partial-issue: #3910
2017-09-14 06:07:43 -04:00
chenglch
db37fd5dc0 Add script to analyze the db performance of xcat command (#3899)
This patch add a python script to calculate the time and the call
times from the command log file and syslog file.

Note: To get the correct data, the `dbtracelevel` option in site
table should be set to 4

implement: #3713

Support option:
```
usage: dbstats [--clusterlog CLUSTERLOG] [--commandlog COMMANDLOG] [-n NUM]
               [-c COMMAND]

Optional arguments:
  --clusterlog CLUSTERLOG
                        The syslog file of xcat.
  --commandlog COMMANDLOG
                        The command log file of xcat.
  -n NUM, --num NUM     The recent count of commands to analyze
  -c COMMAND, --command COMMAND
                        The specified command to track
```
2017-09-14 17:36:54 +08:00
Yuan Bai
f61a794da8 enhance packimage (#3919) 2017-09-14 17:34:24 +08:00
Yuan Bai
d45f7d4508 Add new PCI format support for pcipassthrough (#3916)
* add devpassthrough support

* add new pci format for pcipassthrough

* add new pci format support

* polished

* update doc
2017-09-14 17:15:47 +08:00
ertaozh
8ad7e70aea Modify the ip/bmc ip setting mistakes in mtm based discovery document 2017-09-14 04:29:20 -04:00
zet809
2e403a3e8c Merge pull request #3675 from bnordgren/patch-1
Cannot chdef something before it is created.
2017-09-14 15:36:21 +08:00
xuweibj
0da686315e Merge pull request #3917 from junxiawang/0914
modify bmcdiscover testcase
2017-09-14 15:05:47 +08:00
junxiawang
685a9b99a5 modify bmcdiscover testcase 2017-09-14 06:53:10 -04:00
junxiawang
9dc33e6e84 modify bmcdiscover testcase 2017-09-14 06:27:21 -04:00
zet809
1979118d9b Merge pull request #3915 from xuweibj/genesis_check
Delete genesis base built check in xcatprobe discovery pre-check
2017-09-14 14:10:44 +08:00
XuWei
cb7be092b3 Delete genesis base built check in xcatprobe discovery pre-check 2017-09-14 01:41:00 -04:00
Victor Hu
94d0f1b917 Merge pull request #3911 from gurevichmark/openbmc_reventlog_sort
OpenBMC reventlog output formatting and sorting
2017-09-13 23:58:51 -04:00
Victor Hu
e6613a8fb5 Merge pull request #3833 from zet809/enhance_bmcsetup_for_WSP
enhance bmcsetup for WSP
2017-09-13 23:57:56 -04:00