2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-22 14:05:32 +00:00
Commit Graph

21227 Commits

Author SHA1 Message Date
de0ce94723 Merge pull request #4412 from xuweibj/I4408
Fix issue 4408, modify error for rspconfig dump
2017-12-01 11:34:06 +08:00
03e8889370 Merge pull request #4410 from gurevichmark/openbmc_rspconfig_dump_timeout
OpenBMC rspconfig dump timeout fixes
2017-12-01 10:16:59 +08:00
ff3029a560 Fix issue 4408, modify error for rspconfig dump 2017-11-30 21:08:52 -05:00
348237d870 OpenBMC rspconfig dump timeout fixes 2017-11-30 16:36:15 -05:00
3795bfb2fe Merge pull request #4407 from whowutwut/improve_msg_bmc_ready
Improve the message when BMC is not responding correctly
2017-11-30 16:03:07 -05:00
b934d44e0c Check that RC is 200 to prevent unknown issues, handle the response generically 2017-11-30 15:43:08 -05:00
adee11eee9 Change function from login_logout_request to login_request, not doing any logout here 2017-11-30 14:58:54 -05:00
5f2692ab35 When there is a problem with the login, do not hide the message on debug mode. BMCReady does not make sense if the admin does not know how to find that state 2017-11-30 14:57:57 -05:00
c5d8ce6d86 Merge pull request #4379 from whowutwut/openbmc_UT_1127
[FVT] OpenBMC - Add UT automation testcases for rspconfig
2017-11-30 17:01:21 +08:00
a990244d3d Merge pull request #4395 from xuweibj/I4361
Fix issue 4361, modify some sendmsg to message
2017-11-30 14:48:48 +08:00
7d485670a8 Fix issue 4361, modify some sendmsg to message 2017-11-29 21:21:11 -05:00
84246eb3d7 Merge pull request #4317 from xuweibj/I4246
Fix issue 4246, record rflash process in log file
2017-11-29 11:09:57 -05:00
fbe8d54c16 Merge pull request #4384 from whowutwut/rflash_file_msg
[OpenBMC] rflash - Improve the error message to help admin figure out where the missing file is
2017-11-29 09:48:30 -05:00
ff5f21e283 Leave a log file there when xCAT upgrade in case to debug issue while upgrading (#4389) 2017-11-29 02:37:35 -06:00
dd35306f0d Improve the message to help Admin figure out where the file is missing 2017-11-28 22:15:09 -05:00
db20025558 Merge pull request #4382 from xuweibj/T4331
rspconfig dump to allow admins capture logs
2017-11-28 17:03:42 -05:00
86c3579ffb Improve some messages and add timestamp for downloaded dump file 2017-11-28 15:28:26 -05:00
4fcd15c69e Merge pull request #4371 from xuweibj/T4196
rspconfig admin_password for OpenBMC
2017-11-28 14:00:59 -05:00
d1c0b5a57b Merge branch 'T4331' of github.com:xuweibj/xcat-core into T4331 2017-11-28 11:35:01 -05:00
b3009eb234 Improve the error message when BMC does not return a dump ID 2017-11-28 11:33:39 -05:00
e9604e5709 Adding comment 2017-11-28 11:25:01 -05:00
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
aaf3c0f69d Merge branch 'master' into T4196 2017-11-28 01:28:22 -05:00
602bef03db rspconfig dump to allow admins capture logs 2017-11-28 00:59:03 -05:00
427310f0dd Make xCAT-genesis-base confliects with early version of xCAT-genesis-scripts 2017-11-28 13:39:22 +08:00
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
241019d55f Merge branch 'master' into T4196 2017-11-28 12:22:51 +08:00
8d4d18bfbd modified depending on comments 2017-11-27 22:30:57 -05:00
251a094d41 modified depending on comments 2017-11-27 21:13:34 -05:00
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
34c6f20351 Merge pull request #4380 from gurevichmark/rspconfig_hostname
rspconfig fix for set hostname
2017-11-27 14:46:12 -05:00
5a8066e488 Enhance the testing case for rspconfig setting hostname 2017-11-27 14:39:24 -05:00
2d90a3a1a3 rspconfig fix for set hostname 2017-11-27 14:12:53 -05:00
79f4e2f786 Add unit test cases for rspconfig 2017-11-27 10:57:04 -05:00
994eb71588 Add a print out of the firmware levels for the various UT cases 2017-11-27 10:56:49 -05:00
11ee234896 Add space between at and the time 2017-11-27 10:55:53 -05:00
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
ca0071216d Modify genesis build script for centos x86_64 2017-11-27 04:37:50 -05:00
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
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
77b09ffefa add new cases and delete outdated test cases 2017-11-27 03:59:24 -05:00
fdfc79d987 Modify for debug conveniently 2017-11-27 03:37:17 -05:00
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
8a73d3b5ca rspconfig admin_password for OpenBMC 2017-11-24 03:14:25 -05:00
80f587b7fc Merge pull request #4326 from xuweibj/NT3339
Task 3339, rspconfig ip/netmask/gateway/vlan support
2017-11-24 16:07:20 +08:00
58c9ebd95f modified depending on comments 2017-11-24 02:38:31 -05:00
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
ded43107e2 Fix 4363 - discovery broken (#4364) 2017-11-22 20:11:23 -06:00
ac30ab6ef7 Merge pull request #4357 from chenglch/rcons
Integrate congo console from goconserver with rcons
2017-11-23 10:05:11 +08:00
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