junxiawang
201cbf15f7
modify rinv and rvitals testcase for issue:3184
2017-06-16 01:48:56 -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
junxiawang
0f3411ae36
modify rvitals testcase for issue:3184
2017-06-13 11:21:13 -04:00
junxiawang
0580e8d02a
modify rvitals testcase for issue:3184
2017-06-09 02:16:46 -04: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
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
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
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
Samveen Gulati
b8fdb3c890
#2939 : Add -d
option alias for makeknownhosts -r
2017-06-03 03:31:52 +00:00
Mark Gurevich
56d0bdbf82
Merge pull request #3179 from whowutwut/openpower_spelling
...
Sync up the spelling to use: OpenPOWER and OpenBMC
2017-06-02 16:19:58 -04:00
Victor Hu
a3a96fbb8a
Merge pull request #3178 from gurevichmark/openbmc_version_check
...
Support rflash command -c option for OpenBMC
2017-06-02 15:25:56 -04:00
Mark Gurevich
1f4cb4e64e
Development code only warning
2017-06-02 15:18:46 -04:00
Victor Hu
bf382dcd10
Sync up the spelling to use: OpenPOWER and OpenBMC
2017-06-02 15:02:02 -04:00
Mark Gurevich
f7a39006dc
Support rflash command -c option for OpenBMC
2017-06-02 12:42:16 -04:00
Weihua Hu
5416a7546e
Merge pull request #3163 from neo954/testcase-migration
...
Do operating system deployment in migration test cases
2017-06-02 17:50:58 +08:00
GONG Jie
2f62326f04
Do operating system deployment in migration test cases
2017-06-02 17:00:31 +08:00
Yuan Bai
4d1aaf5da6
Merge pull request #2894 from tingtli/bug2521
...
Add test case for issue 2521 : `makedhcp` fails for nodes on remote networks
2017-06-02 15:44:09 +08:00
litingt@cn.ibm.com
e4d06a4a8b
update according to comments
2017-06-02 03:33:16 -04:00
Weihua Hu
f2be6928b7
Merge pull request #3161 from xuweibj/atsmlt
...
Add testcase to setup/clear openbmc simulator
2017-06-02 15:20:51 +08:00
XuWei
d7d3324abf
modified depending on comments
2017-06-02 03:14:43 -04:00