GONG Jie
129fe14c79
Merge pull request #3203 from whowutwut/goxcat_prompt
...
When using go-xcat, continue to prompt the user for y/n before aborting
2017-06-29 09:05:17 +08:00
zet809
77aa3b1bd5
Merge pull request #3357 from whowutwut/bmcconfig_msg
...
Improve the debug message when bmc value cannot be obtained from getbmcconfig
2017-06-28 09:26:56 +08:00
cxhong
df2f6a6cb5
Merge pull request #3311 from xuweibj/I3264
...
Modified judging condition of openbmc in bmcdiscover, if not open enter bmcdiscover_ipmi
2017-06-27 16:54:27 -04:00
Victor Hu
8818223af0
Improve the debug message when bmc value cannot be obtained
...
in the openbmc or ipmi table in xCAT
2017-06-27 16:14:00 -04:00
Victor Hu
a770ed6726
bump up the version of go-xcat
2017-06-27 15:09:24 -04:00
zet809
911e092446
Merge pull request #3328 from xuweibj/I3327
...
Fix issue 3327, check environment of request type in openbmc and bmcdiscover
2017-06-26 16:59:00 +08:00
Yuan Bai
434e353a65
Merge pull request #3314 from chenglch/getadapter
...
Format the ouput of getadapter result
2017-06-26 14:21:46 +08:00
XuWei
4176017b17
Fix issue 3327, check environment of request type in openbmc and bmcdiscover
2017-06-25 23:06:54 -04:00
Mark Gurevich
f4baff1e60
Merge pull request #3306 from whowutwut/rinv_firm_verbose
...
[openbmc] Add --verbose option and improve readability for `rinv <> firm`
2017-06-23 09:32:17 -04:00
yangsong
f5126227ce
refine the PR 3268:support service node pool ( #3323 )
...
Fix the issue that grub2 config file is wrong when node.tftpserver="<xcatmaster>"
2017-06-23 16:18:03 +08:00
chenglch
62d5037975
Format the ouput of getadapter result
...
This patch format the result of getadapter command and update
the man page to notice that `getadapter` will boot into genesis.
Fix-issue: #3046
2017-06-23 02:32:58 -04:00
zet809
2679d56b73
Merge pull request #3129 from immarvin/oncumulusdiscover
...
ztp based cumulus discover and configuration
2017-06-23 13:49:51 +08:00
Victor Hu
bc46643b73
Print the XCAT_DEV_WITHERSPOON bypass message out to the user
2017-06-22 23:08:15 -04:00
Victor Hu
32b467d635
Our p9 boxes do not have any VPD information, so in order to force
...
the code to return a generated discovered definition, blank out the mtm
string if XCAT_DEV_WITHERSPOON=TRUE
2017-06-22 22:49:02 -04:00
immarvin
65d882b990
add cumulus discover script
2017-06-22 22:30:35 -04:00
Victor Hu
b658a17af3
Change the output of firm [openbmc] to more closely match the output of
...
OPAL P8 machines when displaying the firmware. Use the ID to sort, but
remove it when printing out the messages to the user
2017-06-22 20:57:10 -04:00
Victor Hu
8e90e30bac
Add verbose option to be parsed by rinv [openbmc]
2017-06-22 20:57:10 -04:00
Victor Hu
eba16f3dd8
Found out that for Witherspoon machines, if the host has not been booted
...
there is no system information returned, so check for the boxelder bmc
for a model/serial combination to use
2017-06-22 20:39:27 -04:00
yangsong
6ed46ff77f
support service node pool ( #3268 )
2017-06-22 18:04:55 +08:00
zet809
11f351cf6e
Merge pull request #2763 from samveen/reduce_greps
...
Reduce `grep` invocations by passing `-[46]` to `ip`
2017-06-22 16:24:04 +08:00
immarvin
0624deb547
correct typo in PR#3293
2017-06-21 22:52:01 -04:00
XuWei
aaa62e3333
Modified judging condition of openbmc in bmcdiscover, if not open enter bmcdiscover_ipmi
2017-06-21 22:26:48 -04:00
zet809
0ab98f9273
To replace pull request 3061: use rpm inside chroot to query dracut version ( #3293 )
2017-06-20 21:24:05 -05:00
Victor Hu
3f43f44c7e
Update code to print a warning message if we get a response error.
...
Currently there is nothing printed back so we can't tell if an error
has occurred. Allow for some debug output if XCATBYPASS=1
2017-06-20 15:58:16 -04:00
Mark Gurevich
ba6fbcfbc3
Merge pull request #2998 from zet809/fix_issue_2350
...
Fix issue 2350: Wcons IPMI not working due to xcat code
2017-06-20 09:41:21 -04:00
Yuan Bai
6720675b21
revert to old udevadm code ( #3294 )
2017-06-20 04:08:51 -05:00
zet809
2bcd8b89a0
Merge pull request #2977 from jjohnson42/fixipmitime
...
FPC IPMI fixes
2017-06-20 15:39:39 +08:00
Victor Hu
a8d731bd80
Merge pull request #3261 from gurevichmark/openbmc_rflash_upload
...
openbmc rflash command support for -u --upload option
2017-06-19 16:25:20 -04:00
Mark Gurevich
4cdad73b8f
Better error message for missing file
2017-06-19 10:59:53 -04:00
Victor Hu
df1a5aeb52
Change to only display the active firmware instead of any firmware that is listed and add in the software id into the output so that sorting would keep the various software information together.
2017-06-19 10:32:30 -04:00
zet809
54a1e38ddd
Merge pull request #3145 from whowutwut/rinv_firm
...
Enhancements to rinv code to complete development
2017-06-19 16:54:13 +08:00
zet809
694e8d76c6
Merge pull request #3282 from cxhong/3260
...
Check community string in the switches table
2017-06-19 16:19:28 +08:00
xuweibj
035312aa49
Merge pull request #3280 from whowutwut/model_change
...
With mid June, 2017 firmware update, model number is moved from PartNumber -> Model
2017-06-19 11:24:11 +08:00
Casandra Qiu
0a3104a981
check community string in the switches table
2017-06-16 15:21:27 -04:00
Mark Gurevich
beb7d5af12
Check for update file existance and eliminate few lines
2017-06-16 14:40:11 -04:00
Victor Hu
7beacaa631
With mid June/2017 firmware, model number is moved from PartNumber -> Model
2017-06-16 11:04:10 -04:00
Victor Hu
9de8c1aad1
For serial and model options, only return the system level information
2017-06-16 10:49:29 -04:00
chenglch
5331626d9a
Upgrade conserver to 8.2.1 version ( #3252 )
...
This patch change the `sslauthority` to `sslcacertificatefile` to
support the latest version of conserver. It also add scripts to
update the `conserver.cf` and $HOME/.consolerc to make sure
migration works correctly.
implement: #3239
2017-06-16 16:51:05 +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
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
Mark Gurevich
5d2e814243
openbmc rflash command support for -u --upload option
2017-06-14 16:47:52 -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
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