2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

21494 Commits

Author SHA1 Message Date
hu-weihua
4dbd36c3da add more test cases for validation 2018-03-20 05:27:16 -04:00
hu-weihua
aedccbf49f add test case 2018-03-15 05:03:25 -04:00
hu-weihua
f1d337abab update test cases for xcat-inventory new code 2018-03-09 00:18:29 -05:00
hu-weihua
8159ba222c modify existed cases for support validation 2018-03-06 22:15:43 -05:00
hu-weihua
1c4793ab77 Add test cases for configration management first version 2018-02-13 02:55:14 -05:00
Samveen
a2665fad51 Improvements to xcat init unit for dracut (#4609)
Changes:
- Explicit shebang (make it explicit). It not required but clarifies syntax used.
- ShellCheck suggested fixes.
- Correct mirroring of `doxcat` to first physical cons if serial cons is primary.
- Add protection for accidental closure of primary screen.
- Minor optimizations
2018-01-11 20:18:45 -06:00
cxhong
eaa603c2f4
Merge pull request #4580 from bybai/routes
Add makeroutes and setroute doc
2018-01-11 14:37:23 -05:00
yangsong
c88042cb73 fis issue [REST] xCAT restful API xcatws cannot work #4622 (#4623) 2018-01-11 18:49:16 +08:00
bybai
82e0e44f72 update routes doc 2018-01-11 04:20:53 -05:00
xuweibj
d7a556b17e
Merge pull request #4620 from hu-weihua/reventlog
modify reventlog test case depending on the output of reventlog latest code
2018-01-11 12:57:18 +08:00
Sebastian Thorarensen
fc58a8e872 Do not comment out rsyslog /var/log/messages on MN (#4527)
Since commit 1219fdd23fb8602bb1029b96bb69cf4d746f0029, the rsyslog rule
"*.debug /var/log/messages" is no longer added to rsyslog.conf on the
MN. However, any rule ending with "/var/log/messages" is still commented
out. This leads to xCAT removing all output to /var/log/messages, except
for the daemon and ftp facilities that are enabled by
/etc/rsyslog.d/xcat-debug.conf!

This commit
 - stops commenting out rules ending with "/var/log/messages" in
   rsyslog.conf
 - stops adding adding the comment "#*.debug /var/log/messages" to
   rsyslog.conf
 - changes "daemon.debug" to "daemon.=debug" in xcat-debug.conf to avoid
   duplicate daemon log lines with most Linux distributions' default
   rsyslog.conf.

The 'ftp.* rule in xcat-debug.conf is possibly no longer needed, and
will lead to duplicate ftp messages with most distributions, but it is
left untouched in this commit.
2018-01-10 21:00:59 -06:00
hu-weihua
2ac30e1ec4 modify the output of reventlog depending on the latest code 2018-01-10 21:42:04 -05:00
zet809
b750ea34d4
Merge pull request #4581 from cxhong/irpdu
Support rinv command for Intelligent PDU
2018-01-05 23:50:32 +08:00
Casandra Qiu
34a4403efd remove $line with "******" 2018-01-05 10:21:03 -05:00
zet809
ca75ab637a
Merge pull request #4603 from chenglch/gocons
Add xcat marker in gocnoserver configuration file
2018-01-05 15:38:37 +08:00
Mark Gurevich
2526e0f15f
Merge pull request #4598 from whowutwut/rvitals_man
Add man page and usage help for 'leds' option for OpenBMC
2018-01-04 15:34:34 -05:00
Victor Hu
c2c3ca4096 Accidently tabbed rflash man page option descriptions, causing RST to format as code blocks 2018-01-04 13:54:18 -05:00
Samveen
34f8038da5 Canada/East-Saskatchewan obsoleted by tzdata-2017c (#4601)
As per the The 2017c release announcement, the zone `Canada/East-Saskatchewan` is
now obsolete: http://mm.icann.org/pipermail/tz-announce/2017-October/000047.html
2018-01-04 00:18:53 -06:00
Victor Hu
4703e396d6 Add man page and usage for LED support for OpenBMC rvitals 2018-01-03 10:48:32 -05:00
Victor Hu
83af42c103 missed update to the rflash RST man page 2018-01-03 10:48:10 -05:00
zet809
2b4735ecbd
Merge pull request #4579 from whowutwut/reventlog_resolve_faults
Add support to resolve OpenBMC logging events to clear out faults
2018-01-03 18:01:11 +08:00
zet809
dd6da010ba
Merge pull request #4586 from ladams00/master
Add "ipmi=on" to channel setaccess in "bmcsetup" script
2018-01-02 22:22:06 +08:00
ladams00
5d4925c317 Add if/else statement to allow ipmi=on just for Intel S2600BP system boards 2017-12-29 12:08:49 -08:00
chenglch
f09939a15a Add xcat marker in gocnoserver configuration file
Previously, it is impossible to know if the goconerver is started
by xcat. This patch add a marker in /etc/goconserver/server.conf
to help check the status. In addition, use server-cred.pem instead
of server-key.pem as it is not exist on SN.

This patch also control the service status of goconserver and conserver
when restarting the xcatd service on service node.

```
[root@sn02 ~]# chdef sn02 setupconserver=1
1 object definitions have been created or modified.
[root@sn02 ~]# service xcatd restart
Restarting xcatd (via systemctl):                          [  OK  ]
[root@sn02 ~]# ps -ef | grep conserver
root      27679      1  0 02:26 ?        00:00:00 /usr/sbin/conserver -o -O1 -d
root      27680  27679  0 02:26 ?        00:00:00 /usr/sbin/conserver -o -O1 -d
root      27756  26188  0 02:26 pts/1    00:00:00 grep --color=auto conserver
[root@sn02 ~]# chdef sn02 setupconserver=2
1 object definitions have been created or modified.
[root@sn02 ~]# service xcatd restart
Restarting xcatd (via systemctl):                          [  OK  ]
[root@sn02 ~]#
[root@sn02 ~]#
[root@sn02 ~]#
[root@sn02 ~]# ps -ef | grep conserver
root      27885      1  0 02:26 ?        00:00:00 /usr/bin/goconserver
root      27986  26188  0 02:33 pts/1    00:00:00 grep --color=auto conserver
```
2017-12-28 16:46:47 +08:00
ladams00
60388ddf1e Added "ipmi=on" to channel setaccess so ipmi user can remotely hit bmc on Intel S2600 compute boards (not enabled out of box). 2017-12-26 22:52:21 -08:00
XuWei
6ec904def3 support noderange for reventlog resolved 2017-12-26 00:56:56 -05:00
Bin Xu
734e034612
Merge pull request #4584 from immarvin/onissue
fix issue 'lskmodules' cannot list the kernel modules #4575
2017-12-26 11:25:40 +08:00
immarvin
48c2da5d75 add test case for lskmodules_o 2017-12-25 22:05:15 -05:00
immarvin
58dd39e46b fix issue 'lskmodules' cannot list the kernel modules #4575 2017-12-25 21:12:14 -05:00
Casandra Qiu
9590c50927 Support rinv command for irpdu 2017-12-21 11:11:55 -05:00
bybai
e9fd1c9e34 Add makeroutes and setroute doc 2017-12-21 03:02:24 -05:00
xuweibj
0f7623c212
Merge pull request #4570 from whowutwut/led_physical_warnings
[OpenBMC] Support obtaining the status of physical LED lights on the Server
2017-12-21 13:08:39 +08:00
Victor Hu
47ea0b2c8d replace with hash to store led values 2017-12-20 22:50:19 -05:00
xuweibj
60941016c4
Merge pull request #4577 from hu-weihua/openbmc
Modify some openbmc test cases depending on the latest output of command
2017-12-21 09:41:48 +08:00
Victor Hu
79f096395a Break out of the loop after all IDs are resolved 2017-12-20 15:03:34 -05:00
Victor Hu
d5b08c77db Add UT cases with this function 2017-12-20 14:47:24 -05:00
Victor Hu
ac46bc6833 Print a warning message if running eventlog resolution across a range 2017-12-20 14:47:00 -05:00
Victor Hu
ba964c819c Add support to resolve OpenBMC logging events to clear out faults 2017-12-20 14:36:41 -05:00
Victor Hu
9f9e406861
Merge pull request #4573 from xuweibj/T4474
rspconfig gard -c|--clear for OpenBMC
2017-12-20 10:52:02 -05:00
Victor Hu
af1bf635a9 Space out the heading a little more for rvitals led 2017-12-20 10:48:22 -05:00
hu-weihua
ff644da9b8 Modify some openbmc test cases depending on the latest output of command 2017-12-20 04:27:56 -05:00
XuWei
19c13987a1 modify command to rspconfig gard -c 2017-12-20 03:31:44 -05:00
Victor Hu
730d455041
Merge pull request #4569 from bybai/rflashdd
enhanced rflash when BMC response issue
2017-12-19 23:30:33 -05:00
Yuan Bai
1d916bff83
Merge pull request #4539 from stanford-rc/confignetwork_ignorebmc
ignore bmc interfaces defined in the nics table
2017-12-20 11:26:29 +08:00
Yuan Bai
b3e235583f
Merge pull request #4552 from stanford-rc/named_includes
Check if the include line is already there before adding it to the file
2017-12-20 11:21:39 +08:00
bybai
418938065c enhance rflash upload tar file twice 2017-12-19 21:49:23 -05:00
XuWei
2b259c24e8 rspconfig reset_gard for OpenBMC 2017-12-19 20:36:39 -05:00
Victor Hu
5f2e8870af
Merge pull request #4531 from bybai/fixrfl
rflash -d relative path support
2017-12-19 16:55:01 -05:00
Victor Hu
e65c6e4fad Change the output message slightly 2017-12-19 15:22:11 -05:00
Victor Hu
69819509ff Condense the output of the LEDs to less lines to create a better picture of the server 2017-12-19 14:59:43 -05:00