xuweibj
fe3e4a13a9
Merge pull request #4332 from mattaezell/openbmc_rspconfig_hostname
...
Support hostname=* for openbmc
2017-12-01 12:54:44 +08:00
chenglch
de0ce94723
Merge pull request #4412 from xuweibj/I4408
...
Fix issue 4408, modify error for rspconfig dump
2017-12-01 11:34:06 +08:00
xuweibj
03e8889370
Merge pull request #4410 from gurevichmark/openbmc_rspconfig_dump_timeout
...
OpenBMC rspconfig dump timeout fixes
2017-12-01 10:16:59 +08:00
XuWei
ff3029a560
Fix issue 4408, modify error for rspconfig dump
2017-11-30 21:08:52 -05:00
Mark Gurevich
348237d870
OpenBMC rspconfig dump timeout fixes
2017-11-30 16:36:15 -05:00
Victor Hu
b934d44e0c
Check that RC is 200 to prevent unknown issues, handle the response generically
2017-11-30 15:43:08 -05:00
Victor Hu
adee11eee9
Change function from login_logout_request to login_request, not doing any logout here
2017-11-30 14:58:54 -05:00
Victor Hu
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
XuWei
7d485670a8
Fix issue 4361, modify some sendmsg to message
2017-11-29 21:21:11 -05:00
Mark Gurevich
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
Matt Ezell
27efccdb72
Support hostname=* for openbmc
2017-11-29 10:26:20 -05:00
Victor Hu
dd35306f0d
Improve the message to help Admin figure out where the file is missing
2017-11-28 22:15:09 -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
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
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
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
XuWei
251a094d41
modified depending on comments
2017-11-27 21:13:34 -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
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
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
Matt Ezell
50fdcec19d
Fix #4330 , close the socket
2017-11-21 09:44:02 -05: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
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
XuWei
83e47b8c34
modified depending on comments
2017-11-20 02:26:59 -05: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
zet809
2cdd1d2724
Merge pull request #4296 from chenglch/goconserver
...
Add makegocons command
2017-11-17 17:45:58 +08:00
chenglch
071f336c17
Fix some bus in makegocons
2017-11-17 17:17:24 +08:00
zet809
be1dc2a6a9
Merge pull request #4320 from xuweibj/I4264
...
Modify timeout of login by curl command for OpenBMC
2017-11-17 17:09:49 +08:00
XuWei
5ae2aadc5f
modified depending on comments
2017-11-17 01:54:21 -05:00
XuWei
93eadce997
Task 3339, rspconfig ip/netmask/gateway/vlan support
2017-11-17 01:42:19 -05:00
zet809
be9116f5ff
Merge pull request #4289 from xuweibj/T4235
...
Task 4235, rspconfig BMC dump for OpenBMC
2017-11-17 14:12:04 +08:00
Samveen
b314b1eb3b
natural_sort_cmp: recursion to iterative implementation ( #4314 )
...
* natural_sort_cmp: recursion to iterative implementation
* natural_sort_cmp: correct prototype with parameters, as per `man perlfunc`
2017-11-16 23:52:24 -06:00
zet809
a57d399e75
Merge pull request #4263 from jjohnson42/skipbmconreseat
...
Skip connection to BMC on rpower reseat
2017-11-17 11:14:46 +08:00
zet809
99884208c7
Merge pull request #4309 from cxhong/openbmccons
...
[openbmc]Do not send exec command to bmc console if bmc is not reachable
2017-11-17 11:12:30 +08:00
XuWei
80966800e2
modified depending on comments
2017-11-16 22:08:31 -05:00
zet809
f816d95799
enhance nodediscovery process: don't write "NOIP" if the node can not be resloved to an IP ( #3995 )
...
* enhance nodediscovery process, if only 1 mac and have \*NOIP\* append, don't write mac table and don't generate dhcp lease entry
* Enhance PR 3995: enhance nodediscovery process: don't write "NOIP" if the node can not be resloved to an IP
2017-11-16 21:07:45 -06:00
Casandra Qiu
0b9aae5754
change log messages
2017-11-16 14:49:32 -05:00