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

747 Commits

Author SHA1 Message Date
Mark Gurevich
3b65b2d89e Extend XML Simple to pass parser options 2021-03-11 09:26:18 -05:00
Wai Yee Wong
0e4ce55881 Remove experimental warnings of using given-when and smartmatch. 2020-09-28 21:50:17 -04:00
Mark Gurevich
5dbe9f2026 Openbmc hardware control with OP940 2019-09-12 14:38:21 -04:00
Pythagoras Watson
bd0ad1ba43 Reduce maximum socket buffer size so select works
The maximum socket receive buffer size (SO_RCVBUF) is set from the value
in /proc/sys/net/core/rmem_max.  When this value is close to INT_MAX,
the select() system call used by IO::Select->can_read() never returns
true.  This causes packets to never be read.  Therefore, reduce the
maximum socket receive buffer size to a value which works.
2019-07-16 10:06:58 -07:00
cxhong
3ec008db60 Pick correct pkglist/tmpl files based on the osvers 2019-06-10 16:53:05 -04:00
GONG Jie
9b845d1b11 Remove the configuration part 2019-04-30 15:25:03 +08:00
GONG Jie
c02eaba033 Fix the processing of prefix zero 2019-04-30 13:24:47 +08:00
GONG Jie
480fbe177c Reconstruction of the osimage resources search policy 2019-04-30 13:24:47 +08:00
bxuxa
26fb874a84 Fix a code error 2019-03-21 17:09:29 +08:00
zet809
d4d4a0c1b5
Merge pull request #6150 from robin2008/6145
Avoid noisy warning message on rh8 for makegocons
2019-03-21 16:59:53 +08:00
bxuxa
0ff9bc0be5 Ignore the disable when not installed, not using package checking as we use a fake package there 2019-03-21 16:46:20 +08:00
GONG Jie
d4715d2745 Fix #UNCOMMENTOENABLEDEBUGPORT# replacement 2019-03-21 16:25:10 +08:00
Gᴏɴɢ Jie
14f993bc14 Merge master branch to RHEL 8 branch (#5953)
* rpower for redfish support

* rsetboot for redfish support

* recover

* modify depending on discussion and comments

* refine test case xcatd_start (#5932)

* Update small text in the diskful support example for cuda_power9_setup

Fix small issue mentioned in 5852

* rsetboot for redfish support

* Fix issue 5933: xCAT-openbmc-py build failed

* Fix remoteshell compatibility with custom Match (#5936)

If a user has a custom Match directive, remoteshell would
create an invalid configuration.  Fix by ensuring we are
outside of a match context by doing Match all explicitly.

* fix issue PR #5936 resulted in remoteshell failed in rhels6.10 #5944

* refine xcat-inventory backend testcase (#5946)

* add test case for issue 3602: confignetwork cannot work when regular expression is used in nics table

* add lsdef to get more debug info

* Revert "fix issue PR #5936 resulted in remoteshell failed in rhels6.10 #5944"

* revert PR Fix remoteshell compatibility with custom Match #5936
2019-01-15 17:33:59 +08:00
GONG Jie
18b416dc06 Use shell function base64decode() instead of python 2019-01-08 13:42:49 +08:00
yangsong
7a18f5beee fix issue Function "httpport" can not work on ubuntu + netboot=grub2 scenario #5869 (#5871)
* support site.httpport in ubuntu diskless

* fix issue Function httpport can not work on ubuntu + netboot=grub2 scenario #5869
2018-12-13 14:38:55 +08:00
yangsong
92c019bdb3 set default value for $::XCATSITEVALS{httpport} if site.httpport is not specified (#5780) 2018-11-09 15:28:17 +08:00
yangsong
f55b3f867b several issues on site.httpport in otherpks and ospkgs (#5777)
* correct several issues

* refine ospkgs to support site.httpport
2018-11-08 17:50:14 +08:00
Yuan Bai
95ca105635 enhancements for sle15 diskful CN deployment (#5605)
* add sle dir for copycds

* remove HPC packages from sle15 template

* copycds support ppc64le sle15

* support packages products for sle15

* create repos  for all products in sle15 Package ISO

* fix deployment status postbooting in sle15

* support sle15

* add copycds example for sle15

* generate add_on product

* polished

* adjust product_dir
2018-09-18 18:03:32 +08:00
yangsbj
763d7bd29f fix issue #105 in xcat-inventory, correct the format of export entries in osimage.environvar 2018-08-31 04:25:21 -04:00
GONG Jie
903dd6b41f Remove trailing spaces in file xCAT-server/lib/perl/xCAT/xcatd.pm 2017-12-31 23:59:59 +00:00
GONG Jie
c0c32bb85c Remove trailing spaces in file xCAT-server/lib/perl/xCAT/Template.pm 2017-12-31 23:59:59 +00:00
GONG Jie
80e5331ec2 Remove trailing spaces in file xCAT-server/lib/perl/xCAT/SvrUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie
aa94a24dbd Remove trailing spaces in file xCAT-server/lib/perl/xCAT/RShellAPI.pm 2017-12-31 23:59:59 +00:00
GONG Jie
0bf2fd366e Remove trailing spaces in file xCAT-server/lib/perl/xCAT/Postage.pm 2017-12-31 23:59:59 +00:00
GONG Jie
de42ee5d2e Remove trailing spaces in file xCAT-server/lib/perl/xCAT/OPENBMC.pm 2017-12-31 23:59:59 +00:00
GONG Jie
06919d32c1 Remove trailing spaces in file xCAT-server/lib/perl/xCAT/MellanoxIB.pm 2017-12-31 23:59:59 +00:00
GONG Jie
240512a3da Remove trailing spaces in file xCAT-server/lib/perl/xCAT/IPMI.pm 2017-12-31 23:59:59 +00:00
GONG Jie
cdc2e43e00 Remove trailing spaces in file xCAT-server/lib/perl/xCAT/Goconserver.pm 2017-12-31 23:59:59 +00:00
xuweibj
d74f1eed53 fix issue 5288, print out management node when summary for rflash (#5401) 2018-07-18 10:04:10 +08:00
cxhong
c922ad2cf7 Find correct template and postinstall file to build osimage for copycds -n command (#5300)
* Parse copycd -n options to get correct tmpl and postinstall file

* Add support for Ubuntu
2018-06-21 13:38:31 +08:00
yangsong
c49e41da99 support environment variables in osimage customized files (#5281)
* * osimage table schema change: add a "environvar" col in osimage table to hold environment variables used in osimage customized files
* osimage object schema change: add a environvar attribute, which refers to  osimage.environvar
* the environment variables specified in "environvar" attribute will be exported during invocation of postinstall scripts in genimage

* support variables in synclists

* support environment variables in genimage,mkinstall,getpostscript

* support environment variables for xdcp -i -F in packimage
2018-06-15 14:51:41 +08:00
Bin Xu
18c5afc0f4 support secure root method (#5286)
- support xcat_secure_pw:<user> API in credential plugin
 - for diskless, if enabled secure root, packimage will not write root password into image
 - for stateful, if enabled secure root, nodeset will not write root password into config file
 - and 'remoteshell' will update shadow file accordingly
2018-06-15 10:28:51 +08:00
xuweibj
cd689a9a65 Framework of redfish support perl part (#5269) 2018-06-05 13:07:29 +08:00
robin2008
a307bfa96a Fix code error to generate the right socket file name based on the caller PID (#5257) 2018-05-28 21:01:05 +08:00
Mark Gurevich
ac6b632b6b
Merge pull request #5189 from xuweibj/openbmc_ipmi
modify ipmi rsp check to support openbmc ipmi interface
2018-05-11 07:53:34 -04:00
XuWei
582168e31e modify ipmi rsp check to support openbmc ipmi interface 2018-05-10 03:38:03 -04:00
zet809
5d6e9fe7a0
Merge pull request #5061 from robin2008/ipmi_debug
report ipmi_debug message under node name (#5033)
2018-05-03 15:17:55 +08:00
Mark Gurevich
a52c70c2bd Missing closing bracket 2018-04-23 13:24:28 -04:00
ertaozh
9fd4bcca45 Fix issue 5111: REST API does not respect the "host" setting in "policy" table 2018-04-23 08:42:09 -04:00
Mark Gurevich
4c8c68efb3 Changes after review 2018-04-18 16:07:59 -04:00
Mark Gurevich
4163a6bb6c Token expiration setting 2018-04-17 13:40:57 -04:00
Bin Xu
c3ae956dd3 report ipmi_debug message under node name (#5033) 2018-04-05 10:41:08 +08:00
xuweibj
affa38e733 set rspconfig run on python default (#5040) 2018-04-02 13:44:26 +08:00
Mark Gurevich
8c5701d9ab OpenBMC reventlog flag verification 2018-03-28 14:36:58 -04:00
chenglch
46c611f11a Check if cons script is excutable before register into console server
This patch check the script file, if it is not excutable, just print
ignore message.
2018-03-28 15:09:06 +08:00
chenglch
cc588f4af1 Modify startup configuration for goconserver and conserver
After running makegocons, startup configuration would be changed
to make sure goconserver could start after rebooting. Changes
are made in makeconservercf too.
2018-03-23 16:36:42 +08:00
zet809
b0ea8ec792
Merge pull request #4971 from chenglch/gocons_sn_msg
Modify goconserver msg for SN
2018-03-21 17:35:49 +08:00
zet809
ce19f4a4df Fix the rcons Console not ready issue but the bmc is accessible in fact (#4975) 2018-03-20 17:53:52 +08:00
chenglch
25bede4130 Modify goconserver msg for SN
The message util from xCAT framework do not print where the message
comes from by default. This patch add [service host] prefix for the
message if message is from SN.
2018-03-20 15:32:50 +08:00
chenglch
b7bd03f151 Fix command error in gocons caused by the env variable
In hierarchical mode, xCAT insert variables in the command line,
but goconserver do not support this format. This patch put the
definition for environment variable to `{params}->{env}` field so
that the first argument of  `{params}->{cmd}` is executable.
2018-03-19 11:38:45 +08:00