2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

21206 Commits

Author SHA1 Message Date
ertaozh
92d9740f14 1. add "makeconserver -d" to "rmdef -C", 2. add "makeconserver -C|--cleanup" to remove entries for removed nodes 2017-11-30 09:35:16 -05:00
Mark Gurevich
db20025558
Merge pull request #4382 from xuweibj/T4331
rspconfig dump to allow admins capture logs
2017-11-28 17:03:42 -05:00
Mark Gurevich
86c3579ffb Improve some messages and add timestamp for downloaded dump file 2017-11-28 15:28:26 -05:00
Victor Hu
4fcd15c69e
Merge pull request #4371 from xuweibj/T4196
rspconfig admin_password for OpenBMC
2017-11-28 14:00:59 -05:00
Victor Hu
d1c0b5a57b Merge branch 'T4331' of github.com:xuweibj/xcat-core into T4331 2017-11-28 11:35:01 -05:00
Victor Hu
b3009eb234 Improve the error message when BMC does not return a dump ID 2017-11-28 11:33:39 -05:00
Mark Gurevich
e9604e5709 Adding comment 2017-11-28 11:25:01 -05:00
zet809
024bffdd44
Merge pull request #4374 from neo954/genesis
xCAT-genesis-base - Handle directory to symlink change properly
2017-11-28 14:57:36 +08:00
xuweibj
aaf3c0f69d Merge branch 'master' into T4196 2017-11-28 01:28:22 -05:00
XuWei
602bef03db rspconfig dump to allow admins capture logs 2017-11-28 00:59:03 -05:00
GONG Jie
427310f0dd Make xCAT-genesis-base confliects with early version of xCAT-genesis-scripts 2017-11-28 13:39:22 +08:00
GONG Jie
2e66d5f7df Add %pretrans script in <lua>. Handle directory to symlink change properly. See comment #3 of https://bugs.launchpad.net/rpm/+bug/633636 2017-11-28 13:06:08 +08:00
xuweibj
241019d55f
Merge branch 'master' into T4196 2017-11-28 12:22:51 +08:00
XuWei
8d4d18bfbd modified depending on comments 2017-11-27 22:30:57 -05:00
Victor Hu
3e33477475
Merge pull request #4377 from zet809/modify_genesis_builder_for_x
Modify genesis build script for centos x86_64
2017-11-27 16:01:06 -05:00
Victor Hu
34c6f20351
Merge pull request #4380 from gurevichmark/rspconfig_hostname
rspconfig fix for set hostname
2017-11-27 14:46:12 -05:00
Mark Gurevich
2d90a3a1a3 rspconfig fix for set hostname 2017-11-27 14:12:53 -05:00
Mark Gurevich
97cfcac18e
Merge pull request #4339 from whowutwut/rflash_nonverbose_singlemsg
[OpenBMC] rflash - Add messages to inform the user of the general action started via xCAT
2017-11-27 09:17:42 -05:00
ertaozh
ca0071216d Modify genesis build script for centos x86_64 2017-11-27 04:37:50 -05:00
xuweibj
9fd9023275
Merge pull request #4375 from hu-weihua/casesupdate
Modify some rpower and rspconfig test cases for debuging conveniently or synchronizing with with the latest code logic
2017-11-27 17:24:28 +08:00
xuweibj
fa41ba1c35
Merge pull request #4376 from hu-weihua/bundle
Add some new cases into and delete outdated test cases from hdctrl_openpower_openbmc.bundle
2017-11-27 17:23:31 +08:00
hu-weihua
77b09ffefa add new cases and delete outdated test cases 2017-11-27 03:59:24 -05:00
hu-weihua
fdfc79d987 Modify for debug conveniently 2017-11-27 03:37:17 -05:00
Miro
aaacca80cd Fix merging in xdcpmerge.sh (#4328)
* Fixes in xdcpmerge.sh

Two fixes:
1. The grep pattern when finding duplicate usernames is missing ":" at the end. So, for example user "test" would also match "test2, etc.". Adding the ":" delimiter fixes the issue.
2. Another issue happens when the file to be merged is a superset of the files on the nodes. For example, if a new user is added and entire passwd file (that is otherwise identical) is sent to be merged. In this case, the $filebackup.nodups file, i.e. the original file with duplicates removed, becomes empty and the condition "if [ -s "$filebackup.nodups" ]" does not execute. Then the merged file ends up being original file with the merge file fully appended, clearly not what was intended.

This is solved by changing the condition to check for file existence "-a" rather then for size. Additionally, I also turn the logic around so that the duplicates are removed from the merge file and then added to the original file. I think this makes logic a bit cleaner and also ensures that existing entries are not reordered or changed in any way.

* Streamlining previous commit

Adjustment to previous commit, streamlining and simplifying logic. Once $mergefile.nodups is created, just concatenate it the original file.

* Update to xdcpmerge

No need to copy $filebackup to $curfile, they are the same.
2017-11-26 20:20:49 -06:00
XuWei
8a73d3b5ca rspconfig admin_password for OpenBMC 2017-11-24 03:14:25 -05:00
zet809
80f587b7fc
Merge pull request #4326 from xuweibj/NT3339
Task 3339, rspconfig ip/netmask/gateway/vlan support
2017-11-24 16:07:20 +08:00
XuWei
58c9ebd95f modified depending on comments 2017-11-24 02:38:31 -05:00
yangsong
f5437609d4 do not set exit_code to 1 when the clock is not synced before the timeout (#4362) 2017-11-23 03:56:01 -06:00
Matt Ezell
ded43107e2 Fix 4363 - discovery broken (#4364) 2017-11-22 20:11:23 -06:00
zet809
ac30ab6ef7
Merge pull request #4357 from chenglch/rcons
Integrate congo console from goconserver with rcons
2017-11-23 10:05:11 +08:00
chenglch
ed181edb6c Integrate congo console from goconserver with rcons
Enhance the original implement of rcons to support goconserver.
`rcons` will help the user choose from one of the console backend
service based on the console server status of management node.

Implement #4216
2017-11-23 09:25:55 +08:00
cxhong
da7df78fd2 Add image name to /opt/xcat/xcatinfo on compute node (#4359) 2017-11-22 07:40:18 -06:00
xuweibj
6315852abd
Merge pull request #4351 from whowutwut/openbmc_rinv_indicator
[OpenBMC] Fix bug with rinv <> firm to display active firmware
2017-11-22 08:52:58 +08:00
cxhong
58c44c1e91
Merge pull request #4358 from mattaezell/4330_closesock
Fix #4330, close the socket
2017-11-21 10:34:55 -05:00
Matt Ezell
50fdcec19d Fix #4330, close the socket 2017-11-21 09:44:02 -05:00
Weihua Hu
27dea1a2a9 fix issue #4354 :The XCATTEST_CN in xcattest can not detect HCP as config file (#4355) 2017-11-21 02:23:00 -06:00
chenglch
323040a944
Merge pull request #4356 from xuweibj/I4338
Fix 4338, remove all of  in child process
2017-11-21 16:06:56 +08:00
XuWei
99faf3ff89 Fix 4338, remove all of in child process 2017-11-21 02:25:28 -05:00
Gᴏɴɢ Jie
a362033084
Merge pull request #4220 from samveen/fix_xhrm
Improve xHRM
2017-11-21 10:21:11 +08:00
Victor Hu
2c2748a548 Fix bug, anything in the functional array is the one that's really active, priority will not be 0 if there is pending firmware 2017-11-20 20:58:16 -05:00
cxhong
49252061f3
Merge pull request #4330 from mattaezell/openbmccons_fix
Use IO::Socket to check BMC console port
2017-11-20 14:03:11 -05:00
Victor Hu
5db9e6dcec Add messages to inform the user of the general action started via xCAT for flashing firmware 2017-11-20 11:06:19 -05:00
GONG Jie
488f3e8f2e Revise test case - switch_to_dns_forward_mode 2017-11-20 14:33:51 +08:00
Matt Ezell
d862891201 Use IO::Socket to check BMC console port 2017-11-18 14:54:04 -05:00
Victor Hu
23f2b1c864
Merge pull request #4322 from gurevichmark/openbmc_rflash_hash_mismatch
Verify hash ID before activating uploaded firmware
2017-11-17 15:28:47 -05:00
Mark Gurevich
9b7a8eccc7 Enhancements after the review 2017-11-17 11:50:45 -05:00
Weihua Hu
8805526bb8
Merge pull request #4319 from neo954/dns-forward-mode
Add test case - switch_to_dns_forward_mode
2017-11-17 17:55:16 +08:00
zet809
2cdd1d2724
Merge pull request #4296 from chenglch/goconserver
Add makegocons command
2017-11-17 17:45:58 +08:00
GONG Jie
1b1d008ea5 Revise test case - switch_to_dns_forward_mode 2017-11-17 17:31:47 +08:00
chenglch
071f336c17 Fix some bus in makegocons 2017-11-17 17:17:24 +08:00