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

20492 Commits

Author SHA1 Message Date
zet809
223c3381b4 Merge pull request #3689 from gurevichmark/openbmc_rflash_usage_sync
Sync Usage and Man pages for openbmc rflash command
2017-08-21 10:42:28 +08:00
Victor Hu
7f23dd3c08 Merge pull request #3702 from gurevichmark/boston_update_enhancements
handle rflash relative path and more Boston product ids
2017-08-18 14:10:35 -04:00
chenglch
786901ac88 Merge pull request #3723 from robin2008/destiny-3722
Fix 3722, move setNodesAttribute out of the node loop
2017-08-18 22:12:27 +08:00
Bin Xu
1db1308eb3 Fix 3722, move setNodesAttribute out of the node loop 2017-08-18 17:55:28 +08:00
Weihua Hu
929778ca61 Merge pull request #3715 from tingtli/makedhcp
fix some typo in case makedhcp_remote_network
2017-08-18 15:25:45 +08:00
litingt@cn.ibm.com
092dea62e9 refine case makeknownhosts_node_d 2017-08-17 23:06:05 -04:00
xuweibj
c22e7c5928 Merge pull request #3685 from chenglch/bmcdiscover
Fix the error caused by too many open file descriptors
2017-08-18 11:04:46 +08:00
litingt@cn.ibm.com
425188dd79 fix some typo in case makedhcp_remote_network 2017-08-17 21:56:54 -04:00
Mark Gurevich
c8ee22034d Manpage and usage improvements 2017-08-17 10:48:36 -04:00
zet809
fc07c02e74 Merge pull request #3694 from immarvin/ondiscovery
fix issue xCAT install failed on sles11.4 & rhels6.9 in automation #3693;move send_tcp_msg from Utils.pm to NetworkUtils.pm
2017-08-17 16:43:55 +08:00
immarvin
39c4e7081f fix issue xCAT install failed on sles11.4 & rhels6.9 in automation #3693;move send_tcp_msg from Utils.pm to NetworkUtils.pm 2017-08-17 03:35:03 -04:00
zet809
c798d4d029 Merge pull request #3703 from mattaezell/switch_macmap_natural_sort
Sort 'xcatprobe switch_macmap' ports in 'natural' order
2017-08-17 13:34:05 +08:00
Gᴏɴɢ Jie
02be314d54 Merge pull request #3705 from robin2008/xcatdsource-impact
Filter non-content lines when generating mypostscripts
2017-08-17 12:20:03 +08:00
zet809
502bf262e0 Merge pull request #3548 from junxiawang/0727
add test case for issue 3414 :  incorrect petitboot configuration for nodeset shell in flat
2017-08-17 11:29:48 +08:00
Bin Xu
8c663f946b Filter non-content lines when generating mypostscripts 2017-08-17 10:49:27 +08:00
Yuan Bai
a364dad6cf Add xCAT MN migration doc (#3646)
* Add xCAT MN migration doc

* polished based on comments

* polished

* polished
2017-08-17 10:18:29 +08:00
Matt Ezell
45df02f4f3 Sort 'xcatprobe switch_macmap' ports in 'natural' order
Old: swp1,swp11,swp12,swp2,swp20,swp21
New: swp1,swp2,swp11,swp12,swp20,swp21
2017-08-16 21:17:30 -04:00
Mark Gurevich
f3a506496d hangle rflash relative path and more Boston product ids 2017-08-16 15:19:48 -04:00
junxiawang
c3f335b8a0 incorrect petitboot configuration for nodeset shell in flat #3548 2017-08-16 09:01:13 -04:00
junxiawang
2516628c9a incorrect petitboot configuration for nodeset shell in flat #3548 2017-08-16 08:49:43 -04:00
zet809
feb51eb6a6 Merge pull request #3692 from whowutwut/bmcdiscover_model
Change bmcdiscover for OpenBMC to look at Model instead of PartNumber
2017-08-16 17:51:44 +08:00
zet809
fd339de900 Merge pull request #3662 from whowutwut/sn_pkglist
Adding some packages that would help debug xCAT issues from service nodes
2017-08-16 17:03:55 +08:00
Victor Hu
61bad88824 Change bmcdiscover for OpenBMC to look at Model instead of Part Number 2017-08-15 21:09:05 -04:00
Mark Gurevich
62c56561f2 mend 2017-08-15 13:39:05 -04:00
Mark Gurevich
63a6c46371 Sync Usage and Man pages for openbmc rflash command 2017-08-15 13:35:12 -04:00
chenglch
eb5777ca2e Fix the error caused by too much open file descriptors
The code in bmcdiscover do not close socket pair correctly which
causes `Too many open files` error from system. This commit maintains
a hash map to locate the file descriptors for child processes, close
these files when the child processes exit.

fix-issue: #3682
2017-08-15 17:57:11 +08:00
zet809
c548d0bd77 Merge pull request #3678 from immarvin/ondiscovery
notify the nodes which are sending findme requestd about the status of the processing
2017-08-15 16:31:26 +08:00
immarvin
021e873704 notify the nodes which are sending findme requestd about the status of the processing 2017-08-15 03:58:44 -04:00
chenglch
580b399ade Add trace log in db subroutines (#3666)
This patch add trace log for the db access. Currently support
5 log levels:
- 0: disable the trace log for db.
- 1: trace the calls of database subroutines.
- 2: trace the event to build the cache for the table
- 3: trace the event with cache hit
- 4: trace the SQL statement

implement-feature: #3612

Output example from xcat/cluster.log:
···
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::setAttribs"},"type":"end","elapsed":"0.00176s"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::setAttribs"},"type":"start"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"SELECT * FROM site WHERE \"value\" = ? AND \"comments\" = ? AND \"disable\" = ? AND \"key\" = ?","table":"site","method":"xCAT::Table::setAttribs"},"type":"start_sql"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::setAttribs"},"type":"end_sql","elapsed":"0.00043s"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"INSERT INTO site (\"value\",\"comments\",\"key\",\"disable\") VALUES (?,?,?,?)","table":"site","method":"xCAT::Table::setAttribs"},"type":"start_sql"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"INSERT INTO site (\"value\",\"comments\",\"key\",\"disable\") VALUES (?,?,?,?)","table":"site","method":"xCAT::Table::setAttribs"},"type":"end_sql","elapsed":"0.00043s"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::setAttribs"},"type":"end","elapsed":"0.00171s"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::getAttribs"},"type":"start"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"SELECT * FROM site WHERE \"key\" = ? and (\"disable\" is NULL or \"disable\" in ('0','no','NO','No','nO'))","table":"site","method":"xCAT::Table::getAttribs"},"type":"start_sql"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::getAttribs"},"type":"end_sql","elapsed":"0.00061s"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::getAttribs"},"type":"end","elapsed":"0.00125s"}
Aug  9 01:59:19 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::getAllAttribs"},"type":"start"}
Aug  9 01:59:19 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"SELECT * FROM site WHERE \"disable\" is NULL or \"disable\" in ('0','no','NO','No','nO')","table":"site","method":"xCAT::Table::getAllAttribs"},"type":"start_sql"}
Aug  9 01:59:19 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"SELECT * FROM site WHERE \"disable\" is NULL or \"disable\" in ('0','no','NO','No','nO')","table":"site","method":"xCAT::Table::getAllAttribs"},"type":"end_sql","elapsed":"0.00080s"}
···
2017-08-14 21:35:33 -05:00
Weihua Hu
77ece332c0 Merge pull request #3680 from zet809/modify_return_code_for_switchmacmap
return errorcode 1 if failed for xcatprobe switch_macmap
2017-08-14 15:55:58 +08:00
zet809
e83e3615ea Merge pull request #3610 from hu-weihua/discovery
Add test cases for node discovery (mtm_based and switch_based) and bmc discovery
2017-08-14 14:28:32 +08:00
ertaozh
94009a475d return errorcode 1 if failed for xcatprobe switch_macmap 2017-08-14 02:22:21 -04:00
hu-weihua
a97f6507c2 modify depending on comment 2017-08-14 02:14:23 -04:00
zet809
f9cc8f71b9 Merge pull request #3654 from cxhong/sshpass
using sshpass (if availble) connect to openbmc console
2017-08-14 13:43:25 +08:00
hu-weihua
e421982a59 Modify depending on comments 2017-08-14 01:07:09 -04:00
Victor Hu
fab77a0c30 Adding strace to the pkglist for service nodes 2017-08-11 22:53:02 -04:00
xuweibj
5f267b7b98 Merge pull request #3664 from whowutwut/remove_discovery_workaround
Remove workaround for OpenBMC discovery to provide a unique discover node name
2017-08-11 16:55:48 +08:00
chenglch
506ae0ddae Merge pull request #3667 from bybai/netname
enhance netname/net/mask duplicate or invalid in makenetworks,mkdef and chdef
2017-08-11 16:52:15 +08:00
zet809
70d967c66b Merge pull request #3533 from xuweibj/reventlog
expose reventlog and modify time format
2017-08-11 16:41:58 +08:00
bybai
6e16bd9f27 fix CI failure 2017-08-11 04:14:42 -04:00
bybai
7afbaaded1 enhance netname/net/mask duplicate or invalid 2017-08-11 02:42:12 -04:00
zet809
e1a230e10c Merge pull request #3591 from whowutwut/discovery_msg_cleanup
Remove commented code and fix typo in dodiscovery
2017-08-11 14:12:29 +08:00
XuWei
deb6d6f02b expose reventlog and modify time format 2017-08-10 21:58:26 -04:00
Victor Hu
fa0799c4c4 With PR #3525 (4d54889a36b580bd6aba851037625febe24609b2) MAC address is used so this workaround is no longer needed 2017-08-10 15:16:15 -04:00
Victor Hu
6210f197dc Adding some packages that would help debug issues on the service nodes 2017-08-10 14:54:42 -04:00
Casandra Qiu
d8600c25c1 Modify the comments 2017-08-10 11:08:41 -04:00
junxiawang
0b29b4629a incorrect petitboot configuration for nodeset shell in flat #3548 2017-08-10 08:35:44 -04:00
tingtli
779fed2523 Merge pull request #3660 from tingtli/version2137
Update version to 2.13.7
2017-08-10 19:24:54 +08:00
litingt@cn.ibm.com
8ec52357bf Update version to 2.13.7 2017-08-10 06:27:25 -04:00
zet809
12422c8914 Merge pull request #3656 from tingtli/2136release
update for xCAT 2.13.6 release
2017-08-10 16:44:30 +08:00