2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

958 Commits

Author SHA1 Message Date
Victor Hu
1dd8943ea0 Merge pull request #4121 from zet809/rspconfig_ipsrc_ip_for_openbmc
Add ipsrc for rspconfig, fix rspconfig vlan reading
2017-10-20 14:07:54 -04:00
ertaozh
12ef155577 Modify message for rspconfig ipsrc option 2017-10-19 03:51:21 -04:00
ertaozh
c92834bfe1 Add ipsrc for rspconfig, fix rspconfig vlan reading 2017-10-18 04:44:16 -04:00
Samveen Gulati
e808311f7c VM doc: mgt required before changing vm attrs 2017-10-18 04:31:33 +00:00
Yuan Bai
fd28112d35 update HA and postgresql configure doc (#4099)
* enhance ha with share data using postgresql
2017-10-17 14:19:00 +08:00
Bin Xu
6b39720bd2 Merge pull request #4088 from bybai/pgsql
update pgsqlsetup manpage doc
2017-10-12 15:31:46 +08:00
bybai
c1f0a073b2 update pgsqlsetup manpage doc 2017-10-12 02:30:40 -04:00
immarvin
7515be4590 fix issue If service node is down, control to OpenBMC node never returns #3888:use port 3054 instead of 3001 to run debug commands inside installer 2017-10-12 01:55:20 -04:00
cxhong
f295689c22 Merge pull request #4005 from mattaezell/ztp_improvements
Improvements to Cumulus ZTP
2017-10-02 13:39:29 -04:00
Victor Hu
474b78dc52 Merge pull request #4001 from cxhong/3977
Add -c option for switchdiscover command to pass in community string
2017-09-29 13:15:44 -04:00
cxhong
90c10ede1d Merge pull request #3997 from immarvin/oncumulusgrade
add cumulus upgrade doc
2017-09-26 10:13:56 -04:00
chenglch
ce443ed0e4 Merge pull request #3937 from mattaezell/docfix_3891
Fix the documentation from #3891
2017-09-26 10:47:17 +08:00
Matt Ezell
a9b23dfa1d Improvements to Cumulus ZTP
- Use the full path to cl-license
- Allow configinterface to download files
- Run enablesnmp in mypostscript so we have the correct community string
2017-09-25 16:04:09 -04:00
Casandra Qiu
dbefcc9f95 Modified switchdiscover man page 2017-09-25 15:55:57 -04:00
immarvin
d8d40f184c add cumulus upgrade doc 2017-09-25 09:38:37 -04:00
ertaozh
86ced369fe Modify release information for 2.13.7 2017-09-21 06:01:11 -04:00
Yuan Bai
b65f6bca15 enhance doc for tagged vlan hostname (#3986) 2017-09-21 17:30:45 +08:00
Bin Xu
bb87df4f94 Add the localdisk document also available diskless osimage (#3971)
* Not return directly for nodeset when hit one node failure

* Add document to enable localdisk option for diskless

* Revert "Not return directly for nodeset when hit one node failure"

This reverts commit e5d88570541b308671cbbd2cc081610deb13113a.
2017-09-21 16:26:08 +08:00
Mark Gurevich
e7c67fee30 Merge pull request #3918 from zet809/correct_discover_doc
Modify the ip/bmc ip setting mistakes in mtm based discovery document
2017-09-19 09:39:08 -04:00
Matt Ezell
ec7ca5d330 Fix the documentation from #3891 2017-09-15 11:20:53 -04:00
Samveen Gulati
5216f62d4b Fix #3904 : Add ability to list discoverydata by type mtms 2017-09-15 00:06:32 +00: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
ertaozh
8ad7e70aea Modify the ip/bmc ip setting mistakes in mtm based discovery document 2017-09-14 04:29:20 -04:00
zet809
2e403a3e8c Merge pull request #3675 from bnordgren/patch-1
Cannot chdef something before it is created.
2017-09-14 15:36:21 +08:00
Samveen Gulati
b7e4ea5895 minor correction in vm docs 2017-09-12 07:11:19 +00:00
chenglch
4e8588840a Merge pull request #3891 from mattaezell/regex_helpers
Add regex helpers
2017-09-12 10:09:38 +08:00
chenglch
64ab7dbd27 Add rflash recovery support for Supermicro based firmware
This commit add recover option for rflash command to upload
bmc image with tftp when the BMC is in Brick Protection state.

Example:
```
rflash <node> --recover <image>
```
implement #3873
2017-09-11 02:44:22 -04:00
Matt Ezell
2304b0ef50 Add regex helpers
a2idx: Turns an ASCII character into an index (a=1, b=2, etc)
a2zidx: Turns an ASCII character into a 0-index (a=0, b=1, etc)
dim2idx: Turns dimensions (eg row, column, rack-unit) into an index
skip: Return an index where some items are 'skipped'
ipadd: Add a value to an IP address
2017-09-10 23:02:06 -04:00
zet809
6e9971968b Merge pull request #3793 from whowutwut/openbmc_rspcfg_hostname
Add Support for rspconfig to set/get hostname of the BMC
2017-09-01 12:51:01 +08:00
Victor Hu
2a36f20fdd Adding changes to the man pages regarding hostname changing in rspconfig 2017-08-29 16:29:18 -04:00
Victor Hu
3935971a22 Merge pull request #3750 from gurevichmark/openbmc_upload_and_update
OpenBMC PNOR upload and activate firmware image file
2017-08-29 15:42:48 -04:00
Yuan Bai
fdda051859 Merge pull request #3686 from zet809/modify_doc_for_bmcdiscover_sn
add usage and manpage for bmcdiscover "--sn" option
2017-08-25 16:49:35 +08:00
ertaozh
7e14a543fe modify description of "--sn" option for "bmcdiscover" according to Baiyuan's comments 2017-08-25 04:35:48 -04:00
Mark Gurevich
f64e84e374 Merge pull request #3677 from xuweibj/I3668
fix issue 3668, make rsetboot node do rsetboot stat
2017-08-23 21:59:03 -04:00
XuWei
da0c0bc0bb modified depending on comments 2017-08-23 21:26:20 -04:00
Mark Gurevich
f69f9ec2bf OpenBMC upload and activate firmware image file 2017-08-23 12:08:51 -04:00
Mark Gurevich
c8c1fc276f Allow -d <directory name> flag for rflash 2017-08-21 15:12:41 -04:00
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
Mark Gurevich
c8ee22034d Manpage and usage improvements 2017-08-17 10:48:36 -04:00
XuWei
eb3b720a40 modify man page 2017-08-16 22:52:30 -04: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
Mark Gurevich
62c56561f2 mend 2017-08-15 13:39:05 -04:00
ertaozh
e4d8442e10 add usage and manpage for bmcdiscover "--sn" option 2017-08-15 04:27:54 -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
bnordgren
b70dd0d401 Cannot chdef something before it is created. 2017-08-12 15:10:51 -06: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