2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-26 16:06:21 +00:00
Commit Graph

20479 Commits

Author SHA1 Message Date
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
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
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
02be314d54 Merge pull request #3705 from robin2008/xcatdsource-impact
Filter non-content lines when generating mypostscripts
2017-08-17 12:20:03 +08:00
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
8c663f946b Filter non-content lines when generating mypostscripts 2017-08-17 10:49:27 +08:00
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
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
c3f335b8a0 incorrect petitboot configuration for nodeset shell in flat #3548 2017-08-16 09:01:13 -04:00
2516628c9a incorrect petitboot configuration for nodeset shell in flat #3548 2017-08-16 08:49:43 -04:00
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
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
61bad88824 Change bmcdiscover for OpenBMC to look at Model instead of Part Number 2017-08-15 21:09:05 -04:00
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
021e873704 notify the nodes which are sending findme requestd about the status of the processing 2017-08-15 03:58:44 -04:00
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
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
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
94009a475d return errorcode 1 if failed for xcatprobe switch_macmap 2017-08-14 02:22:21 -04:00
a97f6507c2 modify depending on comment 2017-08-14 02:14:23 -04:00
f9cc8f71b9 Merge pull request #3654 from cxhong/sshpass
using sshpass (if availble) connect to openbmc console
2017-08-14 13:43:25 +08:00
e421982a59 Modify depending on comments 2017-08-14 01:07:09 -04:00
fab77a0c30 Adding strace to the pkglist for service nodes 2017-08-11 22:53:02 -04:00
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
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
70d967c66b Merge pull request #3533 from xuweibj/reventlog
expose reventlog and modify time format
2017-08-11 16:41:58 +08:00
6e16bd9f27 fix CI failure 2017-08-11 04:14:42 -04:00
7afbaaded1 enhance netname/net/mask duplicate or invalid 2017-08-11 02:42:12 -04:00
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
deb6d6f02b expose reventlog and modify time format 2017-08-10 21:58:26 -04:00
fa0799c4c4 With PR #3525 (4d54889a36) MAC address is used so this workaround is no longer needed 2017-08-10 15:16:15 -04:00
6210f197dc Adding some packages that would help debug issues on the service nodes 2017-08-10 14:54:42 -04:00
d8600c25c1 Modify the comments 2017-08-10 11:08:41 -04:00
0b29b4629a incorrect petitboot configuration for nodeset shell in flat #3548 2017-08-10 08:35:44 -04:00
779fed2523 Merge pull request #3660 from tingtli/version2137
Update version to 2.13.7
2017-08-10 19:24:54 +08:00
8ec52357bf Update version to 2.13.7 2017-08-10 06:27:25 -04:00
12422c8914 Merge pull request #3656 from tingtli/2136release
update for xCAT 2.13.6 release
2017-08-10 16:44:30 +08:00
edac803e86 update for xCAT 2.13.6 release 2017-08-10 04:37:14 -04:00
3be7e88ac6 update the format 2017-08-10 04:36:04 -04:00
daa3442f37 update the format 2017-08-10 04:33:00 -04:00
11d613f2a4 update the format 2017-08-10 04:23:29 -04:00
807c2f0634 Add test cases for node discovery (mtm_based and switch_based) and bmc discovery 2017-08-10 03:42:50 -04:00
12d03a67f0 update for release note update 2017-08-10 03:07:59 -04:00
46fb939824 Activate the build 2.13.6 2017-08-10 02:16:37 -04:00
5b9ff98cd1 update for xCAT 2.13.6 release 2017-08-09 23:18:37 -04:00
11890b660b using sshpass (if availble) connect to openbmc console 2017-08-09 14:32:18 -04:00
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
b79d8cf473 Merge pull request #3650 from hu-weihua/hcbundle
i am ok to merge
2017-08-09 17:07:57 +08:00
f2a1f8873a modify a typo 2017-08-09 04:17:35 -04:00
f16e3230d1 add new case rpower_wrongpasswd into hdctrl_openpower_ipmi.bundle hdctrl_openpower_openbmc.bundle 2017-08-09 03:17:54 -04:00