2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-24 05:11:12 +00:00
Commit Graph

20002 Commits

Author SHA1 Message Date
zet809
d5aa5512c5 Merge pull request #3265 from xuweibj/simulator_mul
Add testcases for simulator multiple
2017-06-16 16:36:28 +08:00
XuWei
a8ee4aaee8 modified depending on comments 2017-06-16 03:44:28 -04:00
Weihua Hu
e6a0b79b1a Merge pull request #3275 from tingtli/bug3270
Refine rpower cases to add more information in the cases. Fix bug 3270
2017-06-16 10:50:53 +08:00
Victor Hu
8d92211f81 Merge pull request #3272 from gurevichmark/spelling_man8
Fixes to rinstall/winstall man pages
2017-06-15 22:40:32 -04:00
xuweibj
b9b8f59606 Merge pull request #3240 from junxiawang/0806
modify rvitals and rinv testcase for issue:3184
2017-06-16 09:38:02 +08:00
junxiawang
201cbf15f7 modify rinv and rvitals testcase for issue:3184 2017-06-16 01:48:56 -04:00
litingt@cn.ibm.com
dbc0613d82 refine rpower cases to add more information in the cases. Fix bug 3270 2017-06-15 21:32:22 -04:00
XuWei
a246b048c5 modified depending on comments 2017-06-15 21:29:56 -04:00
Mark Gurevich
30b4929625 Fixes to rinstall/winstall man pages 2017-06-15 16:03:04 -04:00
Mark Gurevich
b920f9ce00 Merge pull request #2941 from whowutwut/nodestat_cleanup
Initialized more_options variable to avoid uninitialized error message [cleanup]
2017-06-15 11:22:27 -04:00
XuWei
0dce825785 Add testcases for simulator multiple 2017-06-15 02:36:38 -04:00
junxiawang
e562f290ac Merge pull request #3263 from bybai/mh
Fix autotest statelite case failure
2017-06-15 11:35:07 +08:00
bybai
eeda12c265 fix autotest statelite case failure 2017-06-14 23:17:11 -04:00
junxiawang
4eeb0c1fef modify rinv testcase for issue:3184 2017-06-14 05:33:34 -04:00
junxiawang
d1a87e7b44 modify rinv testcase for issue:3184 2017-06-14 05:32:53 -04:00
junxiawang
ae2f2a5bdc modify rvitals testcase for issue:3184 2017-06-14 03:22:52 -04:00
zet809
a4f46b585b Merge pull request #3258 from immarvin/oncopycd
fix issue Couldn't find ID in the discinfo database #3254
2017-06-14 14:17:42 +08:00
immarvin
4fcacba838 fix issue Couldn't find ID in the discinfo database #3254 2017-06-14 01:38:32 -04:00
Yuan Bai
20cf9f1e7a Merge pull request #3257 from junxiawang/0614
refine test cases to check hostname in sles12.2 statelite  #2690
2017-06-14 13:11:36 +08:00
junxiawang
d3a85b352d refine test cases to check hostname in sles12.2 statelite #2690 2017-06-14 03:57:05 -04:00
junxiawang
0f3411ae36 modify rvitals testcase for issue:3184 2017-06-13 11:21:13 -04:00
Weihua Hu
6ca95ae33c Merge pull request #3253 from tingtli/alias
update for won't fix issue
2017-06-13 17:31:53 +08:00
litingt@cn.ibm.com
9b0b05eb6c update for won't fix issue 2017-06-13 05:03:55 -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
junxiawang
0580e8d02a modify rvitals testcase for issue:3184 2017-06-09 02:16:46 -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
junxiawang
e269d43bdc modify rvitals testcase for issue:3184 2017-06-08 09:00:20 -04: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