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

589 Commits

Author SHA1 Message Date
chenglch
7633bb2714 Add gocons setup doc on service node
Add console state 2 in the servicenode table to help set up
goconserver daemon.
2018-01-19 14:11:05 +08:00
bybai
717b67304d format emptyzonesenable 2018-01-18 21:17:34 -05:00
bybai
988898dde1 enhance emptyzonesenable description 2018-01-18 02:58:30 -05:00
bybai
df3eb6c4f4 change empty_zones_enable in named.conf 2018-01-18 01:44:29 -05:00
zet809
22250397f8
Merge pull request #4391 from cxhong/pdurelay
Relay action and snmp configuration support for Coral PDU
2017-12-14 15:58:29 +08:00
Casandra Qiu
31d29641d8 change status back to starts 2017-12-08 14:49:47 -05:00
Casandra Qiu
62f56d1b25 build rst file from Schema.pm by db2man 2017-12-08 14:14:36 -05:00
Casandra Qiu
a1efbea5e3 Relay action and snmp configuration support for Coral PDU 2017-11-29 14:53:42 -05:00
immarvin
e261973c05 Support http repos for otherpkgs #4042 2017-11-13 00:47:50 -05:00
Chuck Brazie
c012b45ec1 Merge branch 'master' into ZVM_XCAT_DEV 2017-10-03 09:44:06 -04:00
bybai
41fc149dc9 nic interface check to avoid dot in short host name 2017-09-19 04:44:29 -04:00
chenglch
1938bd9a87 Add description for the issue that may lose log
This commit add descritpion for `dbtracelevel` entry in site table
to help the user find the detail solution if the log is lost due
to the issue from rsyslog side.

partial-issue: #3910
2017-09-14 06:07:43 -04:00
Yuan Bai
d45f7d4508 Add new PCI format support for pcipassthrough (#3916)
* add devpassthrough support

* add new pci format for pcipassthrough

* add new pci format support

* polished

* update doc
2017-09-14 17:15:47 +08:00
Chuck Brazie
0b1986bb52 Update Schema.pm 2017-08-28 08:18:10 -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
Chuck Brazie
e9029f484f Merge branch 'master' into ZVM_XCAT_DEV 2017-08-09 09:31:22 -04:00
zet809
8fbf24d781 Merge pull request #3456 from robin2008/nodeset-disjoint
Fix #3088, Using 'disjointdhcps' site attribute to make nodeset request will only be handled on service node for nodes it manages
2017-08-02 15:10:27 +08:00
yangsong
915248a419 fix addkcmdline for deployed kernel only #3532, refine the document (#3536) 2017-07-28 11:23:31 +08:00
Bin Xu
53d3b1bced 1, use 'disjointdhcps' for nodeset disjoint mode
2, handle 'disjoint' in preprocess method, to make sure that no request will be sent to SN which does not manage the nodes.
3, refine 'stat' to make sure it could query unmanaged nodes on-demand.
2017-07-24 13:36:49 +08:00
chenglch
bc6ddccbd0 Modify the document and nics schema based on review comments. 2017-07-21 16:19:24 +08:00
Bin Xu
47b92c193f Fix #3088, introduce 'disjointnetboot' site attribute to make nodeset
request will only be handled for managed nodes on SN.
2017-07-14 14:42:43 +08:00
Chuck Brazie
e8aa65e5fe Merge branch 'master' into ZVM_XCAT_DEV 2017-06-12 08:07:38 -04:00
Victor Hu
bf382dcd10 Sync up the spelling to use: OpenPOWER and OpenBMC 2017-06-02 15:02:02 -04:00
ertaozh
27dcfbbd7a enhance descript of postscripts.postscripts and postscripts.postbootscripts 2017-05-12 21:40:11 -04:00
ertaozh
e07b607b44 Fix issue 2577: chdef -m should return correct warning message when some attributes is not permit to be changed. 2017-05-12 06:33:37 -04:00
zVMopenstack
a93190189e Merge branch 'master' into ZVM_XCAT_DEV 2017-05-11 10:59:33 -04:00
XuWei
bc5663b911 Enhance bmcdisocver to support openbmc 2017-05-05 02:30:08 -04:00
XuWei
d264da3252 add bmcconsoleport and taggedvlan attributes in openbmc table 2017-05-04 03:55:34 -04:00
zVMopenstack
7487c0322a Merge branch 'master' into ZVM_XCAT_DEV 2017-04-24 09:39:38 -04:00
bybai
baeb4b717e polished 2017-03-30 21:58:24 -04:00
bybai
7e3c314922 update mtu description in networks table 2017-03-30 05:01:50 -04:00
bybai
df369b9387 update mtu description in networks table 2017-03-30 04:48:54 -04:00
Weihua Hu
2ea805e541 Merge pull request #2623 from cxhong/2615
Handle bad return code from pdu commands
2017-03-15 17:14:30 +08:00
zet809
d32fd0c30f Merge pull request #2573 from xuweibj/openbmc
framework for openbmc support, support some rpower and rinv commands
2017-03-15 16:20:37 +08:00
Casandra Qiu
6a5b8b3bbc Handle bad return code from pdu commands 2017-03-09 17:26:35 -05:00
chenglch
ab1d1ba552 Update man page for password cryptmethod
close-issue: #2558
related-patch: #2559
2017-03-08 21:48:53 -05:00
XuWei
72a0a2b5a9 [DO NOT MERGER] framwork for openbmc support 2017-03-03 04:10:23 -05:00
Casandra Qiu
a7018a3db7 Add nodetype to pdu table 2017-02-22 16:23:23 -05:00
Casandra Qiu
9cd9f5b3d7 Add pdu to object type and modify attributes in the pdu table 2017-02-21 15:25:47 -05:00
Casandra Qiu
c4e0f637c9 Add pdu support 2017-02-13 16:33:11 -05:00
Chuck Brazie
5c5e59dc4d Perl-xCAT merge updates into 2.13
Change-Id: I8338c02d541608a6bc339b07e1270c178be6a415
2017-01-30 10:13:57 -05:00
immarvin
2911746a47 refine the doc on soft raid1 setup during node provision 2016-12-05 00:39:32 -05:00
immarvin
8ec6065322 refine the doc for linuximage.partitionfile 2016-12-05 00:38:35 -05:00
yangsong
72d20a23be Merge pull request #2156 from gurevichmark/postinstall-doc
postinstall script description, formatting and spelling
2016-12-05 10:16:21 +08:00
Mark Gurevich
9cf54f66cb Review recommended changes 2016-11-30 13:41:48 -05:00
Xiaopeng Wang
32ba9701ca Merge pull request #1868 from zet809/fix_issue_1734
fix issue 1734: Update the help info for node.mac to know how to hand…
2016-11-28 13:24:39 +08:00
ertaozh
bea547512a fix issue 1734: Update the help info for node.mac to know how to handle installnic bond 2016-11-25 22:59:26 -05:00
chenglch
69fff6a31e Load the cryptmethod in the passwd table to generate the password
sha256 and sha512 crypt methods are supported from glibc 2.7 version.
This patch enable the crypt feature on linux system and encrypt the
password with sha256 by default.

implement: #1890
2016-11-22 13:10:41 +08:00
Mark Gurevich
fb49715667 postinstall script description, formatting and spelling 2016-11-15 13:19:53 -05:00
Victor Hu
58fa0e8612 - Added the :noboot option into the dhcpinterfaces keyword
- cleaned up the text in the site table keyword and descriptions
  to prevent horizontal scrolling on RTD.
2016-10-31 20:52:23 -04:00