2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-01 19:17:06 +00:00

19980 Commits

Author SHA1 Message Date
litingt@cn.ibm.com
1531f136c8 update confignetwork cases according to comments 2017-06-21 05:36:44 -04:00
litingt@cn.ibm.com
dad84e8820 update confignetwork cases according to comments 2017-06-21 04:35:47 -04:00
litingt@cn.ibm.com
fac7d28f3f add a description for help case 2017-06-13 04:59:19 -04:00
litingt@cn.ibm.com
dc1b787f8e add cases for confignetwork to config installnic and secondarynic 2017-06-12 10:20:58 -04:00
cxhong
17d8358c3b Support user defined ip address for cumulus switch (#3241) 2017-06-12 08:09:58 -05:00
cxhong
56500ea6bf Failed to run dhcpd if tftpserver defined as <xcatmaster> in the network (#3223)
table
2017-06-12 08:08:53 -05:00
cxhong
cd1ad380d0 Merge pull request #3232 from gurevichmark/openbmc_updates_list
openbmc rflash command support for -l --list option
2017-06-09 14:34:19 -04:00
Mark Gurevich
dcf7873b02 Review updates 2017-06-09 13:51:22 -04:00
Victor Hu
ae1cd00f4f Merge pull request #2994 from cxhong/mvlan
Add configration support for Mellanox Ethernet switch
2017-06-09 11:39:13 -04:00
Victor Hu
e524640507 Merge pull request #3245 from cxhong/hardeths
Fix hardeths postscripts to support cumulus switch
2017-06-09 11:27:20 -04:00
Casandra Qiu
7e4c748eaa Change osver to OSVER for onie switch support 2017-06-09 11:02:36 -04:00
zet809
f05a0ace3b Merge pull request #3206 from whowutwut/bmcdiscover_openbmc
Change bmcdiscover to look at system information instead of motherboard info for OpenBMC
2017-06-09 10:47:32 +08:00
chenglch
d9d0cfd42c Avoid of circular reference in a loop of rinstall (#3121)
This is a temporary fix for getadapter which will hang forever if
error happens in `rinstall stage`. The root cause is the circular
reference in `runxcmd`. As global variable `$::xcmd_outref` and
`%::xcmd_outref_hash` are used to save the output message, if the
plugin command are called with runxcmd and the plugin called also
calls another plugin with `runxcmd`, the circular reference will happen.
In this situation, if the output reponse is used in a iterator,
like:
```
   foreach my $line (@$res) {
      xCAT::MsgUtils->message("I", $rsp, $callback);
```
`$res` points to the global variable, and `MsgUtils->message` in the
runxcmd calls also add the value in the global variable, as the
iter object is changed, the loop will not be terminated.

This patch can not solve the circular reference problem, it is just
a workaround to avoid infinite loop.

Some known issues: the error message will print twice as the
`MsgUtils->message` called in runxcmd. But we can not simply remove
it as the plugin may not be called with `runxcmd`.

Error message example:

```
Error: frame10node10: mgt configuration can not be found.
frame10node10: Unable to identify plugin for this command, check relevant tables: noderes.netboot
frame10node10: Unable to identify plugin for this command, check relevant tables: noderes.netboot
Failed to run 'nodeset' against the following nodes: frame10node10
Error: failed to run command: rinstall frame10node10 runcmd=getadapter
```
partial-fix: #3046
2017-06-07 22:21:26 -05:00
Yuan Bai
cccf4b783f fix 3224 nodeset create dracut.* file in sles statelite cost too much… (#3227)
* fix 3224 nodeset create dracut.* file in sles statelite cost too much time

* polished based on comments
2017-06-07 22:21:05 -05:00
xuweibj
9fd9e211d0 rm / from path of xcatpost folder when run rm command (#3238) 2017-06-07 22:15:07 -05:00
Mark Gurevich
e73d85c5eb openbmc rflash command support for -l --list option 2017-06-07 14:53:55 -04:00
Casandra Qiu
2490dc4226 Merge branch 'mvlan' of github.com:cxhong/xcat-core into mvlan 2017-06-07 14:42:24 -04:00
Casandra Qiu
d90eafb453 modify from code review 2017-06-07 14:30:30 -04:00
Victor Hu
061b230edb Change to PartNumber and SerialNumber for bmcdiscover 2017-06-07 11:59:54 -04:00
Victor Hu
1261e7601a Merge pull request #3222 from gurevichmark/spelling_man1
Spelling for man1 and some formatting fixes
2017-06-07 10:25:27 -04:00
GONG Jie
374991356f Revert "Do operating system deployment in migration test cases" (#3229) 2017-06-07 04:18:39 -05:00
GONG Jie
b5827d3797 Revert "Add more verifications in migration test cases" (#3228) 2017-06-07 04:17:21 -05:00
Weihua Hu
18a93459a4 Merge pull request #3225 from xuweibj/clearcase
fix testcase clear_openbmc_simulator error
2017-06-07 16:07:36 +08:00
XuWei
0aff97e196 fix testcase clear_openbmc_simulator error 2017-06-07 04:00:17 -04:00
chenglch
21e84a7895 Merge pull request #3209 from xuweibj/I3207
modify format of error msg for 2200 port to hash according to other msg
2017-06-07 09:15:54 +08:00
cxhong
36fbee6d92 Merge branch 'master' into mvlan 2017-06-06 15:41:10 -04:00
Casandra Qiu
dbf52b4be7 Add global mac address for mallanox switches 2017-06-06 15:37:31 -04:00
Mark Gurevich
ae09fdfe6d Spelling for man1 and some formatting fixes 2017-06-06 13:04:41 -04:00
Weihua Hu
d1b1773902 Merge pull request #3208 from xuweibj/insty
add -y when run yum install git
2017-06-06 17:04:32 +08:00
Yuan Bai
44aa077680 Merge pull request #3219 from hu-weihua/xcattest
Modify one bug:Use of implicit split to @_ is deprecated at xcattest line 1059
2017-06-06 15:04:25 +08:00
hu-weihua
5215b690f9 Modify one bug:Use of implicit split to @_ is deprecated at xcattest line 1059 2017-06-06 02:47:52 -04:00
XuWei
b0fece2907 modify format of error msg for 2200 port to hash according to other msg 2017-06-06 02:10:18 -04:00
XuWei
7c54b60b8a add -y when run yum install git 2017-06-05 21:25:03 -04:00
Victor Hu
a2f2eaf0e7 Change bmcdiscover to look at system information instead of motherboard
information for the MTM/Serial Number.  Use variables for building up
then endpoint for OpenBMC
2017-06-05 20:05:00 -04:00
Mark Gurevich
a35ffeda56 Merge pull request #3201 from whowutwut/fix_typo
Fix typo associated with pull request #3180, in makeknownhosts.pm
2017-06-05 13:54:05 -04:00
Victor Hu
1d2bac4a2a Fix typo associated with pull request #3180 2017-06-05 13:44:15 -04:00
Victor Hu
f4052275d0 Merge pull request #3199 from gurevichmark/openpower_rvitals_options
Sync usage, man and code for ipmi rvitals
2017-06-05 12:55:12 -04:00
Victor Hu
c2a917d006 Merge pull request #3200 from gurevichmark/spelling_docs_guides_install
Spelling fixes for install guides
2017-06-05 12:53:15 -04:00
Mark Gurevich
551e9a0f48 Spelling fixes for install guides 2017-06-05 11:36:27 -04:00
Mark Gurevich
d861f68995 Sync usage, man and code for ipmi rvitals 2017-06-05 10:56:59 -04:00
Weihua Hu
89356b69a2 Merge pull request #3187 from neo954/testcase-migration
Add more verifications in migration test cases
2017-06-05 16:24:51 +08:00
junxiawang
bed44bcd12 Merge pull request #3185 from hu-weihua/p9bundle
Add rvitals test cases to pegas+p9 bundle
2017-06-05 15:59:28 +08:00
xuweibj
b4429cd812 Merge pull request #3192 from junxiawang/0605
modify rvitals_voltage test
2017-06-05 15:20:54 +08:00
junxiawang
bf5fa8d118 modify rvitals_voltage test,for openbmc testcases do not need to add hcp attributes 2017-06-05 06:45:29 -04:00
GONG Jie
8196fd4914 Add more verifications 2017-06-05 15:15:53 +08:00
Yuan Bai
3bfa5af98a add -r alias -d for makeknownhosts (#3186) 2017-06-05 00:44:08 -05:00
Yuan Bai
d6266b9aaf fix issue 2797 and enhance confignetwork (#3169)
* to return non-zero when error
* fix a potential issue when nicdevice is wrong for bond definition.
2017-06-05 13:14:02 +08:00
hu-weihua
1cac6a2db3 Add rvitals test cases to pegas+p9 bundle 2017-06-05 00:26:44 -04:00
zet809
d9bb1ace82 Merge pull request #3122 from xuweibj/bmcdiscover
Close ssl verify for bmcdiscover on Ubuntu
2017-06-05 11:28:00 +08:00
Yuan Bai
7584b71742 Merge pull request #3180 from samveen/fix_2939
[WIP]Fix for #2939: Add `-d` option for `makeknownhosts` as alias for `-r`
2017-06-05 10:10:36 +08:00