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

21519 Commits

Author SHA1 Message Date
ertaozh
a2d2ed1d34 From 2.13.10, the genesis scripts is moved to usr/bin or usr/sbin 2018-01-17 03:41:35 -05:00
zet809
cb12e9ba9f
Merge pull request #4618 from samveen/fix_4614
Relocate `/*bin` into `/usr/` to fix conflict between Genesis base and `scripts`
2018-01-17 16:32:22 +08:00
zet809
35c2e4a43e
Merge pull request #4624 from neo954/genesis
A script to convert xCAT-genesis-base rpm package to deb package
2018-01-17 14:26:28 +08:00
GONG Jie
3461396e9c Fix permission in xCAT-genesis-builder.spec 2018-01-17 14:02:54 +08:00
GONG Jie
0ce225b339 Update dependency for xCAT-genesis-base on Red Hat 2018-01-17 13:54:12 +08:00
GONG Jie
66c190d612 Add dependency for xcat-genesis-base on Debian/Ubuntu 2018-01-17 13:52:32 +08: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
GONG Jie
858270e666 Fix the error handling of command line argument checking 2018-01-17 13:03:42 +08: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
GONG Jie
03d6c72622 Minor tweaks for the debian packaging script of xcat-genesis-base 2018-01-12 16:17:54 +08:00
Samveen Gulati
63a3efe8bb move /*bin to /usr/ to fix path conflict of genesis base and scripts
RH7/Centos7 and recent versions of fedora relocate `/*bin/*` into `/usr/*bin/`. This causes
conflicts for upgrades against xCAT-genesis-scripts-* packages which expect the `/bin` a to be
a directory while `xCAT-genesis-base-*` packages provide a link. Relocating all files into `/usr`
fixes that conflict and allows a clean upgrade from all old versions.
2018-01-12 06:06:25 +00: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
GONG Jie
c144069d77 Add script to convert xCAT-genesis-base rpm package to deb package 2018-01-11 18:55:20 +08: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