2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-28 06:23:26 +00:00

8280 Commits

Author SHA1 Message Date
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
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
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
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
Samveen Gulati
f1b406dbc0 Reduce grep invocations by passing -[46] to ip 2017-06-06 09:53:29 +00: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