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

20468 Commits

Author SHA1 Message Date
Mark Gurevich
f3a506496d hangle rflash relative path and more Boston product ids 2017-08-16 15:19:48 -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
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
hu-weihua
f16e3230d1 add new case rpower_wrongpasswd into hdctrl_openpower_ipmi.bundle hdctrl_openpower_openbmc.bundle 2017-08-09 03:17:54 -04:00
zet809
eeb32f8431 Merge pull request #3608 from gurevichmark/openbmc_rflash_delete_image
Implement openbmc image delete function
2017-08-08 15:17:05 +08:00
zet809
1826f8e75e Merge pull request #3557 from chenglch/table
Retry 3 times if database connection can not be established
2017-08-07 17:03:24 +08:00
chenglch
6961a687d0 Merge pull request #3619 from zet809/add_dep_rsync_for_ubuntu
Add dep rsync for xCAT package in ubuntu
2017-08-07 15:28:10 +08:00
chenglch
c0b41a2755 Merge pull request #3618 from zet809/fix_issue_3617
fix issue 3617: Output of command nodeset stat is with MN's long hostname
2017-08-07 14:59:11 +08:00
ertaozh
b189c42cb8 Add dep rsync for xCAT package in ubuntu 2017-08-07 02:58:14 -04:00
zet809
eef3e72aea Merge pull request #2993 from jjohnson42/rsyncreq
Add rsync as an xCAT dependency
2017-08-07 14:58:13 +08:00
ertaozh
818fd8d5a3 fix issue 3617 2017-08-07 02:23:39 -04:00
zet809
eb96ab7744 Merge pull request #3616 from xuweibj/typo
Fix typo in xcatprobe discovery precheck
2017-08-07 13:22:29 +08:00
XuWei
5afdb68a26 Fix typo error in xcatprobe discovery precheck 2017-08-06 22:17:46 -04:00
yangsong
69da84f5db fix a typo in rinstall -c/--console error message (#3613)
* fix a typo

* fix a typo
2017-08-04 05:00:02 -05:00