2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-02 19:40:10 +00:00

20480 Commits

Author SHA1 Message Date
bybai
beeb80cfde polished based on comments. 2017-08-27 22:32:35 -04:00
bybai
820fd10cc9 polished 2017-08-24 04:35:16 -04:00
bybai
73c032068a enhance error log 2017-08-17 02:42:53 -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
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
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
litingt@cn.ibm.com
edac803e86 update for xCAT 2.13.6 release 2017-08-10 04:37:14 -04:00
litingt@cn.ibm.com
3be7e88ac6 update the format 2017-08-10 04:36:04 -04:00
litingt@cn.ibm.com
daa3442f37 update the format 2017-08-10 04:33:00 -04:00
litingt@cn.ibm.com
11d613f2a4 update the format 2017-08-10 04:23:29 -04:00
hu-weihua
807c2f0634 Add test cases for node discovery (mtm_based and switch_based) and bmc discovery 2017-08-10 03:42:50 -04:00
litingt@cn.ibm.com
12d03a67f0 update for release note update 2017-08-10 03:07:59 -04:00
litingt@cn.ibm.com
46fb939824 Activate the build 2.13.6 2017-08-10 02:16:37 -04:00
litingt@cn.ibm.com
5b9ff98cd1 update for xCAT 2.13.6 release 2017-08-09 23:18:37 -04:00
Casandra Qiu
11890b660b using sshpass (if availble) connect to openbmc console 2017-08-09 14:32:18 -04:00
Gᴏɴɢ Jie
98f1e5c0a3 Revise the man page of noderange. Describe the special characters need to be escaped more clear (#3651) 2017-08-09 04:09:49 -05:00
tingtli
b79d8cf473 Merge pull request #3650 from hu-weihua/hcbundle
i am ok to merge
2017-08-09 17:07:57 +08:00
hu-weihua
f2a1f8873a modify a typo 2017-08-09 04:17:35 -04:00