2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-11 15:50:11 +00:00
Commit Graph

745 Commits

Author SHA1 Message Date
5dbe9f2026 Openbmc hardware control with OP940 2019-09-12 14:38:21 -04:00
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
3ec008db60 Pick correct pkglist/tmpl files based on the osvers 2019-06-10 16:53:05 -04:00
9b845d1b11 Remove the configuration part 2019-04-30 15:25:03 +08:00
c02eaba033 Fix the processing of prefix zero 2019-04-30 13:24:47 +08:00
480fbe177c Reconstruction of the osimage resources search policy 2019-04-30 13:24:47 +08:00
26fb874a84 Fix a code error 2019-03-21 17:09:29 +08:00
d4d4a0c1b5 Merge pull request #6150 from robin2008/6145
Avoid noisy warning message on rh8 for makegocons
2019-03-21 16:59:53 +08:00
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
d4715d2745 Fix #UNCOMMENTOENABLEDEBUGPORT# replacement 2019-03-21 16:25:10 +08:00
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
18b416dc06 Use shell function base64decode() instead of python 2019-01-08 13:42:49 +08:00
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
92c019bdb3 set default value for $::XCATSITEVALS{httpport} if site.httpport is not specified (#5780) 2018-11-09 15:28:17 +08:00
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
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
763d7bd29f fix issue #105 in xcat-inventory, correct the format of export entries in osimage.environvar 2018-08-31 04:25:21 -04:00
903dd6b41f Remove trailing spaces in file xCAT-server/lib/perl/xCAT/xcatd.pm 2017-12-31 23:59:59 +00:00
c0c32bb85c Remove trailing spaces in file xCAT-server/lib/perl/xCAT/Template.pm 2017-12-31 23:59:59 +00:00
80e5331ec2 Remove trailing spaces in file xCAT-server/lib/perl/xCAT/SvrUtils.pm 2017-12-31 23:59:59 +00:00
aa94a24dbd Remove trailing spaces in file xCAT-server/lib/perl/xCAT/RShellAPI.pm 2017-12-31 23:59:59 +00:00
0bf2fd366e Remove trailing spaces in file xCAT-server/lib/perl/xCAT/Postage.pm 2017-12-31 23:59:59 +00:00
de42ee5d2e Remove trailing spaces in file xCAT-server/lib/perl/xCAT/OPENBMC.pm 2017-12-31 23:59:59 +00:00
06919d32c1 Remove trailing spaces in file xCAT-server/lib/perl/xCAT/MellanoxIB.pm 2017-12-31 23:59:59 +00:00
240512a3da Remove trailing spaces in file xCAT-server/lib/perl/xCAT/IPMI.pm 2017-12-31 23:59:59 +00:00
cdc2e43e00 Remove trailing spaces in file xCAT-server/lib/perl/xCAT/Goconserver.pm 2017-12-31 23:59:59 +00:00
d74f1eed53 fix issue 5288, print out management node when summary for rflash (#5401) 2018-07-18 10:04:10 +08:00
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
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
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
cd689a9a65 Framework of redfish support perl part (#5269) 2018-06-05 13:07:29 +08:00
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
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
582168e31e modify ipmi rsp check to support openbmc ipmi interface 2018-05-10 03:38:03 -04:00
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
a52c70c2bd Missing closing bracket 2018-04-23 13:24:28 -04:00
9fd4bcca45 Fix issue 5111: REST API does not respect the "host" setting in "policy" table 2018-04-23 08:42:09 -04:00
4c8c68efb3 Changes after review 2018-04-18 16:07:59 -04:00
4163a6bb6c Token expiration setting 2018-04-17 13:40:57 -04:00
c3ae956dd3 report ipmi_debug message under node name (#5033) 2018-04-05 10:41:08 +08:00
affa38e733 set rspconfig run on python default (#5040) 2018-04-02 13:44:26 +08:00
8c5701d9ab OpenBMC reventlog flag verification 2018-03-28 14:36:58 -04:00
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
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
b0ea8ec792 Merge pull request #4971 from chenglch/gocons_sn_msg
Modify goconserver msg for SN
2018-03-21 17:35:49 +08:00
ce19f4a4df Fix the rcons Console not ready issue but the bmc is accessible in fact (#4975) 2018-03-20 17:53:52 +08:00
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
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
38e547c493 fix issue If multiple IP addresses used in xcatmaster field, updatenode will not work leaving node in bad state #3688 (#4932) 2018-03-15 16:14:41 +08:00
387055a3be to address the review comments:
- using signal to handle the cleanup
2018-03-13 17:35:20 +08:00