2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 18:50:28 +00:00
Commit Graph

20711 Commits

Author SHA1 Message Date
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
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
zet809
b353937757 Merge pull request #3906 from whowutwut/genesis-builder-fix
Resolve issues with xCAT-genesis-builder rpm to more easily create the xCAT-genesis-base
2017-09-14 11:19:39 +08:00
Victor Hu
b7d2b817d6 Merge pull request #3909 from xuweibj/expose_openbmc
expose rspconfig get options and rflash command
2017-09-13 23:00:45 -04:00
Victor Hu
fecc2298bb Make changes specific for Pegas 2017-09-13 22:54:01 -04:00
Mark Gurevich
7d3ebe3583 OpenBMC reventlog output formatting and sorting 2017-09-13 08:44:30 -04:00
zet809
708b1a3594 Merge pull request #3907 from cxhong/3867
modify the error message from switch_macmap output
2017-09-13 17:54:51 +08:00
xuweibj
5e1c349c0b Merge pull request #3774 from junxiawang/0825
modify rspconfig testcase  for get more debug information
2017-09-13 16:02:10 +08:00
junxiawang
91ed1e1ab8 modify rspconfig testcase for get more debug info 2017-09-13 07:55:41 -04:00
junxiawang
fddc0f64fa modify rspconfig testcase for get more debug info 2017-09-13 07:45:10 -04:00
junxiawang
e9e2604ea8 rspconfig.sh
modify rspconfig testcase  for get more debug info
2017-09-13 07:23:51 -04:00
junxiawang
4833502bc2 modify rspconfig testcase for get more debug information 2017-09-13 07:08:06 -04:00
XuWei
e4b2ae6528 expose rspconfig get options and rflash command 2017-09-13 01:17:38 -04:00
Casandra Qiu
e52f3e34ec re-modify the error message from switch_macmap output 2017-09-12 16:36:07 -04:00
Victor Hu
6ad7e30ab7 Merge pull request #3895 from gurevichmark/openbmc_rflash_version_BMC
BMC update image check and upload+activate rflash options
2017-09-12 16:22:57 -04:00
Victor Hu
0497e158b1 Resolve the issue where the rpmbuild directories are not created causing the build to fail. Pull in dependencies using the spec file 2017-09-12 14:19:05 -04:00
Mark Gurevich
44e36545a9 Merge pull request #3898 from samveen/minor_correction
Good catch
2017-09-12 09:48:50 -04:00
zet809
7b017e89b9 Merge pull request #3885 from immarvin/ondiscovery
[do not merge]switch based node discovery enhancement
2017-09-12 19:20:13 +08:00
junxiawang
6fe93b9cb8 modify rspconfig testcase for get more debug information 2017-09-12 04:46:24 -04:00
immarvin
ce8bb55e1d switch based node discovery enhancement: 1)obtain mac table from cumulus switch via ssh;2)remove unnecessary sleep 2 after node discovery 2017-09-12 04:35:56 -04:00
Weihua Hu
436f69e85f Merge pull request #3896 from xuweibj/probe_issues
Fix xcatprobe discovery pre-check issues
2017-09-12 15:11:53 +08:00
Samveen Gulati
b7e4ea5895 minor correction in vm docs 2017-09-12 07:11:19 +00:00
XuWei
118d62047e modified depending on comments 2017-09-12 02:28:25 -04:00
ertaozh
95f6e07614 Remove the log to output Disabling VLAN configuration information 2017-09-11 23:17:51 -04:00
XuWei
ab464a1e87 Fix xcatprobe discovery pre-check issues 2017-09-11 23:08:57 -04:00
zet809
d0c463dae2 Merge pull request #3879 from whowutwut/discover_condensed
Reduce the output of bmcdiscover when writing entries to the DB
2017-09-12 11:00:27 +08:00
chenglch
4e8588840a Merge pull request #3891 from mattaezell/regex_helpers
Add regex helpers
2017-09-12 10:09:38 +08:00
Mark Gurevich
42db21b269 Merge pull request #3894 from whowutwut/rinv_display
Reduce the number of firmware that is displayed by rinv to the active firmware (partial)
2017-09-11 15:30:34 -04:00
Victor Hu
7ce22fbe6f Add check for priority before using the value 2017-09-11 14:36:09 -04:00
Mark Gurevich
1118a047db BMC update image check and upload+activate rflash options 2017-09-11 14:10:19 -04:00
Victor Hu
e5623c7663 Indicate software at priority 0 with a '*' 2017-09-11 10:15:55 -04:00
Mark Gurevich
2267e2c246 Merge pull request #3882 from chenglch/rflash
Add rflash recovery support for Supermicro based firmware
2017-09-11 10:08:50 -04:00
junxiawang
5255b79a13 modify rspconfig testcase for get more debug information 2017-09-11 09:48:17 -04:00
cxhong
a516b9495f Merge pull request #3886 from immarvin/oncumulus
refine cumulus discovery process
2017-09-11 08:55:18 -04:00
Yuan Bai
7fdffddf9b fix missing graphics label (#3892) 2017-09-11 17:33:02 +08:00
immarvin
e83ad2b08e refine cumulus discovery procedure to handle the different response from the MN 2017-09-11 05:26:37 -04:00
chenglch
64ab7dbd27 Add rflash recovery support for Supermicro based firmware
This commit add recover option for rflash command to upload
bmc image with tftp when the BMC is in Brick Protection state.

Example:
```
rflash <node> --recover <image>
```
implement #3873
2017-09-11 02:44:22 -04:00
Matt Ezell
2304b0ef50 Add regex helpers
a2idx: Turns an ASCII character into an index (a=1, b=2, etc)
a2zidx: Turns an ASCII character into a 0-index (a=0, b=1, etc)
dim2idx: Turns dimensions (eg row, column, rack-unit) into an index
skip: Return an index where some items are 'skipped'
ipadd: Add a value to an IP address
2017-09-10 23:02:06 -04:00
Yuan Bai
c3fc0a5a26 Merge pull request #3863 from junxiawang/0906
modify testcase for issue:#3639
2017-09-08 16:42:38 +08:00