yangsong
6ed46ff77f
support service node pool ( #3268 )
2017-06-22 18:04:55 +08: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
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
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
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
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
Mark Gurevich
e73d85c5eb
openbmc rflash command support for -l --list option
2017-06-07 14:53:55 -04:00
Victor Hu
061b230edb
Change to PartNumber and SerialNumber for bmcdiscover
2017-06-07 11:59:54 -04: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
XuWei
b0fece2907
modify format of error msg for 2200 port to hash according to other msg
2017-06-06 02:10:18 -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
Victor Hu
1d2bac4a2a
Fix typo associated with pull request #3180
2017-06-05 13:44:15 -04:00
Mark Gurevich
d861f68995
Sync usage, man and code for ipmi rvitals
2017-06-05 10:56:59 -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
Victor Hu
9340c2d2e4
Fixes the test so that rinv options will check both key and key_url
2017-06-02 14:52:53 -04:00
Victor Hu
eb9487b0b9
Handle the firmware data using the same sorted output array
...
and add in support for ExtendedVersion
2017-06-02 14:44:05 -04:00
Mark Gurevich
f7a39006dc
Support rflash command -c option for OpenBMC
2017-06-02 12:42:16 -04:00
Yuan Bai
0dae47b9a5
fix issue 3142 delete useless dracut.* files under rootimg/tmp in liteimg ( #3154 )
...
* fix issue 3142 useless dracut.* files under rootimg/tmp cause liteimg cost much time
* polished
* polished
2017-06-01 22:25:35 -05:00
Bin Xu
fe6b771add
Fix #3087 : nodeset improvement - using multi-process to parallelize ( #3118 )
...
* Fix #3087 : nodeset improvement - using multi-process to parallelize
- before deliver the request to xcatd, we can split the request to multiple sub-requests which contains different noderange
- in that, xcatd could hanle those sub-requests in parallel, just like some issue multiple commands.
* refine according to the review comments:
- not using POSIX::ceil
- Callback is reserved for filter method
* refine codes according review comments
* make the comments right and more readable.
2017-06-01 04:22:22 -05:00
yangsong
5c4dd31844
fix issue [fvt]2.13.4 nodeset osimage have no right output if command wrong #2971 ( #3147 )
...
* fix issue#2971: one CLI arguments validation issue is not correct for nodeset/rinstall/winstall
2017-05-31 17:36:09 +08:00
Yuan Bai
358eefed2a
Merge pull request #3140 from immarvin/onrhselinux
...
fix issue RHEL update caused boot failure due to selinux #2996
2017-05-31 14:54:18 +08:00
Victor Hu
85bcbea210
If no values are in the return array, print a message
2017-05-30 22:46:12 -04:00
Victor Hu
09ae91a31a
Generically support the options for OpenBMC and not look for specific fields to print
2017-05-30 22:45:01 -04:00
Victor Hu
9a457fe2d7
For now, let's continue printing out all the values
2017-05-30 22:45:00 -04:00
Victor Hu
03b7e1fb6b
Check if the item is present on the server, if not,
...
there's no reason to print out the data.
Fixed the sorting to be alpha, then numeric.
2017-05-30 22:44:59 -04:00
Victor Hu
6c6123ab84
Fix spacing in sub rinv_response()
2017-05-30 22:44:59 -04:00