2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

21511 Commits

Author SHA1 Message Date
XuWei
aaf10a83e6 modified depending on comments 2018-01-19 02:47:16 -05:00
XuWei
fe63484909 rflash for openbmc on python, including options a|c|l|delete|u 2018-01-18 02:10:01 -05:00
zet809
78e5845863
Merge pull request #4636 from xuweibj/openbmc2
Add perl files of openbmc2 to support openbmc on python
2018-01-17 13:38:33 +08:00
XuWei
7e286494c0 modified depending on comments 2018-01-17 00:32:54 -05:00
zet809
659da20b31
Merge pull request #4642 from bybai/buildrpm
packaging xCAT-openbmc-py method
2018-01-17 13:02:26 +08:00
bybai
c381d31b79 update Epoch 2018-01-16 21:43:58 -05:00
bybai
3f0a152acc packaging xCAT-openbmc-py method 2018-01-16 03:57:08 -05:00
XuWei
26ccc9fabd Add perl files of openbmc2 2018-01-16 02:21:49 -05:00
zet809
a41e138fc0
Merge pull request #4625 from gurevichmark/ipmi_rflash_version
Enhance rflash -c output for ipmi controlled machines
2018-01-16 13:09:04 +08:00
Mark Gurevich
a4e9fbf01f Changes after review 2018-01-15 09:45:54 -05:00
zet809
ca1ea1d702
Merge pull request #4633 from chenglch/gcons_cfg
Modify the default configuration for gocons
2018-01-15 17:51:28 +08:00
zet809
e2ae1787de
Merge pull request #4607 from cxhong/rvitals
Support rvitals command for Intelligent PDU
2018-01-15 16:50:13 +08:00
xuweibj
8a91ba7e08
Merge pull request #4619 from gurevichmark/openbmc_reventlog_resolve_led
Add resolved=LED option to reventlog
2018-01-15 14:21:47 +08:00
xuweibj
8b3ab28000
Merge pull request #4616 from gurevichmark/openbmc_reventlog_resolve
Add LED tag to the output of reventlog
2018-01-15 14:20:59 +08:00
chenglch
0d515b9bf4 Modify the default configuration for gocons
As output plugins are suported by goconserver, this patch
modify the configuration file accordingly.

partial: #4597
2018-01-15 14:15:35 +08: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
Mark Gurevich
2ea43cc01b Enhance rflash -c output for ipmi controlled machines 2018-01-11 13:51:43 -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
Casandra Qiu
d694ac9683 Modify rvitals output 2018-01-10 15:27:53 -05:00
Mark Gurevich
207e22c772 Add LED tag to the output of reventlog 2018-01-10 13:17:23 -05:00
Mark Gurevich
423a1c913d Add resolved=LED option to reventlog 2018-01-10 11:57:31 -05:00
Casandra Qiu
13882e69ff add message in the fill_outletCount 2018-01-09 09:30:05 -05:00
Casandra Qiu
96ff31599e pre-defined variables for the OIDs 2018-01-08 14:16:10 -05:00
Casandra Qiu
f438e1b432 Add rvitals support for Infrastructure PDUs 2018-01-05 13:29:37 -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