Yuan Bai
1912c30e37
Merge pull request #4441 from zet809/fix_issue_4353
...
rspconfig configure bmc vlan will hung because of PR 4383
2017-12-05 18:06:15 +08:00
ertaozh
21873e5d82
rspconfig configure bmc vlan will hung because of PR 4383
2017-12-05 04:56:26 -05:00
Bin Xu
ca6024750f
makedhcp does not work well when all service nodes not running dhcp but disjointdhcps=1 ( #4426 ) ( #4440 )
...
- if all service nodes not running dhcp, to treat it as disjointdhcps=0
- nodeset will send request to MN by default even if disjointdhcps=1
- Move out of the dhcp service checking from opts pre-check, and do it just before real makedhcp handling.
2017-12-05 02:48:29 -06:00
xuweibj
ba34dfa143
Merge pull request #4438 from zet809/fix_issue_4353
...
Add another key `bmcip` for node_info for openbmc support
2017-12-05 15:09:24 +08:00
ertaozh
86cc8139c4
Add another key for node_info in order not to after the content of $node_info{$node}{bmc}
2017-12-05 01:27:29 -05:00
cxhong
ac758a9c9d
Modified configonie --ntp command ( #4436 )
2017-12-04 23:48:33 -06:00
Mark Gurevich
9a8d717429
Merge pull request #4383 from zet809/fix_issue_4353
...
fix issue 4353: rspconfig needs to support multiple IPs on the BMC and ignore ZeroConfigIPs
2017-12-04 11:36:59 -05:00
ertaozh
0babdc9c3b
1. configure ip/netmask/gateway only on the NIC whose IP match node BMC attribute, 2. add some information for LinkLocal address
2017-12-04 04:51:58 -05:00
Victor Hu
b5b9780637
Merge pull request #4386 from xuweibj/T4327
...
Clear all BMC Dump logs when BMC firmware flash
2017-12-03 23:47:34 -05:00
XuWei
b153fd1db6
modified depending on comments
2017-12-03 21:11:03 -05:00
Mark Gurevich
8313239850
OpenBMC rspconfig dump better dump file name formatting
2017-12-01 11:46:01 -05:00
ertaozh
5719334816
Fix issue #4397 : rspconfig <> hostname=xxx show error message when there is multiple network in bmc
2017-12-01 10:27:25 -05:00
ertaozh
22d9dcd55b
Wait 15 seconds after OpenBMC interface with vlan tag to be activated
2017-12-01 10:24:02 -05:00
ertaozh
40a018bef0
fix issue 4353: rspconfig needs to support multiple IPs on the BMC and ignore ZeroConfigIPs
2017-12-01 10:24:02 -05:00
XuWei
749857d311
fix issue 4417, delete 'clear next_status'
2017-12-01 03:24:41 -05:00
Gᴏɴɢ Jie
eb4c78e760
Merge pull request #4390 from chenglch/goconserver
...
Listen on 0.0.0.0 instead of the hostname for goconserver
2017-12-01 15:23:06 +08:00
XuWei
badc8f000f
return when current status is RSPCONFIG_DUMP_DOWNLOAD_REQUEST
2017-12-01 01:21:07 -05:00
XuWei
d9398f3070
More modifications for pr 4386, to deal with the conflicts
2017-12-01 00:36:37 -05:00
XuWei
7b83eb54cb
modified depending on comments
2017-12-01 00:33:22 -05:00
XuWei
89631303f9
Clear all BMC Dump logs when BMC firmware flash
2017-12-01 00:32:22 -05:00
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
chenglch
cadf5c60e1
Listen on 0.0.0.0 instead of the hostname
...
This patch modify the configuration of `makegocons` and `rcons`
for goconserver.
`cat /etc/goconserver/server.conf`
```
global:
host: 0.0.0.0
ssl_key_file: /etc/xcat/cert/server-key.pem
ssl_cert_file: /etc/xcat/cert/server-cert.pem
ssl_ca_cert_file: /etc/xcat/cert/ca.pem
logfile: /var/log/goconserver/server.log
api:
port: 12429
console:
port: 12430
```
2017-11-29 17:18:39 +08: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