2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-28 06:23:26 +00:00

657 Commits

Author SHA1 Message Date
chenglch
3408e93e6b Do not query noderes table in subvars subroutine
This patch refactor the interface to get xcatmaster and tftpserver
attributes in the subvars subroutine to improve the performance.

partial-issue: #3958
2017-09-25 16:33:23 +08:00
Bin Xu
a263773b15 Set xcatmaster to facing IP in priority when the node is managed by service node. (#3696)
* Fix #3428, set xcatmaster to facing IP in priority when the node is mananged by service node.

* Always using my facing IP first than site.master

* remove non-used variable sitemaster
2017-08-22 10:21:00 +08:00
bybai
12923fdd74 polished 2017-08-04 01:07:41 -04:00
bybai
c87dd2c763 polished 2017-08-04 00:33:54 -04:00
bybai
447b00af5b enhance nicips regular expression in mypostscript 2017-08-03 04:52:11 -04:00
bybai
f6b16d24bd enhance configeth configure instnic 2017-07-24 02:51:35 -04:00
yangsong
45fd73f8e3 fix xCAT should better support the service group (servicenode postscript) to avoid errors when using Hierarchy #3150 (#3442) 2017-07-13 17:00:58 +08:00
zet809
2bcd8b89a0 Merge pull request #2977 from jjohnson42/fixipmitime
FPC IPMI fixes
2017-06-20 15:39:39 +08:00
cxhong
36fbee6d92 Merge branch 'master' into mvlan 2017-06-06 15:41:10 -04:00
cxhong
7ff64b220f Wrong mac address showing for switchdiscover command (#3131) 2017-05-25 00:14:16 -05:00
Casandra Qiu
d4383de06d modified from reviews 2017-05-12 09:54:14 -04:00
Casandra Qiu
e9b8a3bbbf modification for configMellanox scripts 2017-05-10 13:48:18 -04:00
immarvin
3bd5b37773 check existence of netboot config file in postage.pm 2017-05-10 06:03:34 -04:00
Mark Gurevich
7271df073f Merge pull request #2990 from zet809/enhance_bmcsetup_for_openbmc
enhance bmcsetup logic for openbmc
2017-05-09 13:28:12 -04:00
ertaozh
fe8e4b800c enhance bmcsetup logic for openbmc 2017-05-05 04:33:09 -04:00
Mark Gurevich
f3531240d3 Parsing : fix for sendmsg() error message (#2983) 2017-05-04 20:30:52 -05:00
Jarrod Johnson
e61b6c3789 Implement timeout for session sharing
When an ipmi session is shared, have waitforrsp
have a specified timeout.
2017-05-03 11:40:16 -04:00
Jarrod Johnson
13ee6733e7 Fix FPC reseat behavior on multiple nodes 2017-05-03 11:40:11 -04:00
Jarrod Johnson
7a8d431650 Initialize IPMI variables earlier
In some scenarios, an IPMI instance could be called to handle
data earlier than it should.  Ensure the state of the object is
in adequate shape to react as soon as possible.
2017-05-03 11:40:06 -04:00
yangsong
a761e64c0c fix issue #2856: [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later (#2857)
* fix issue [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later #2856

* fix issue [DEV] nodes provisioned with redhat osimages created by xCAT 2.12.3 or earlier missed yum repo to MN in xCAT 2.12.4 or later #2856
2017-04-13 11:31:54 +08:00
Mark Gurevich
cf872bf57b Merge pull request #2736 from zet809/enable_xcatdebugmodel_for_ipmiraw
enable ipmi raw data if xcatdebugmodel set
2017-03-28 13:11:40 -04:00
ertaozh
b78fc0ae40 modify the output ipmi raw data with readable information 2017-03-28 03:37:52 -04:00
Weihua Hu
2d60f9c8bc Merge pull request #2705 from cxhong/pdureset
ADD support for power reset of PDU outlet
2017-03-28 15:09:59 +08:00
ertaozh
39b1df045f use wrong site attribute xcatdebugmodel before, change to xcatdebugmode 2017-03-27 09:10:28 -04:00
ertaozh
6047515122 enable ipmi raw data if xcatdebugmodel set 2017-03-23 05:48:56 -04:00
Yuan Bai
0b98b3f57d fix issue 2634 Quotes in tables' comment field break mypostscript (#2716)
* fix issue 2634 Quotes in tables' comment field break mypostscript

* polish comments

* polish comments
2017-03-22 02:40:09 -05:00
Casandra Qiu
865527400f ADD support for power reset of PDU outlet 2017-03-21 12:01:42 -04:00
zet809
d32fd0c30f Merge pull request #2573 from xuweibj/openbmc
framework for openbmc support, support some rpower and rinv commands
2017-03-15 16:20:37 +08:00
chenglch
1755412bb0 Add work aroud to replace sendmsg which is undefine method
This is a techenique debet that the callback is not transfered to
the Template library correctly, this fix just print error message
to syslog.

temp-fix: #2557
2017-03-06 11:07:59 +08:00
XuWei
72a0a2b5a9 [DO NOT MERGER] framwork for openbmc support 2017-03-03 04:10:23 -05:00
Kilian Cavalotti
9b5b7a6ae3 PasswordUtils.pm: don't crypt already hashed passwords 2017-02-24 15:11:55 -08:00
Casandra Qiu
f874090137 Syntax Error for issue#2490 2017-02-16 10:01:50 -05:00
Casandra Qiu
c4e0f637c9 Add pdu support 2017-02-13 16:33:11 -05:00
hu-weihua
113ed0de31 Fix issue2072 xCAT 2.12.3 - Policy table read incorrectly 2016-11-24 03:23:43 -05:00
yangsong
223b3305ef Merge pull request #2168 from chenglch/cryptmethod
Load the cryptmethod in the passwd table to generate the password
2016-11-22 00:14:17 -06:00
chenglch
69fff6a31e Load the cryptmethod in the passwd table to generate the password
sha256 and sha512 crypt methods are supported from glibc 2.7 version.
This patch enable the crypt feature on linux system and encrypt the
password with sha256 by default.

implement: #1890
2016-11-22 13:10:41 +08:00
immarvin
907c4971a9 fix issue [CUSTOMER] the old diskless image built by xCAT can not be used after xcat 2.12.2 #2130 2016-11-17 03:31:30 -05:00
immarvin
1e6714a99d fix issue when using copycds -p, stateful install has yum point to the wrong repository. #1852 2016-11-07 22:20:28 +08:00
penguhyang
5cd2dcea51 fix setting the ipmi info incorrectly in the site table causes infinite loop 2016-10-19 02:43:54 -04:00
ertaozh
a9b9c89c28 Remove the hardcoded password for FSP 2016-08-28 22:51:28 -04:00
immarvin
506d0c9660 fix issue [Customer] nodeset failed with meaningless messages #1529 2016-08-14 06:11:04 -04:00
immarvin
2ab944ea65 add ubuntu16.04.1 netboot pkglist;modify the precedence of SvrUtils::get_file_name 2016-08-08 05:10:02 -04:00
Mark Gurevich
db9a71750e Fix sytax errors reported by perltidy 2016-07-25 08:56:18 -04:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
Xiaopeng Wang
05694c1aee Merge pull request #1429 from xuweibj/powering-on
add powering-on status for PPC-HMC
2016-07-01 09:11:10 +08:00
XuWei
2a4b0a9caa add powering-on status for PPC-HMC 2016-06-30 20:51:01 -04:00
Xiaopeng Wang
7bc0c5912b Merge pull request #1389 from zet809/refine_hdwrdiscovery_progress
refine hardware discovery framework, put mtms based hardware discover…
2016-06-27 17:36:58 +08:00
Xiaopeng Wang
014a37f934 Merge pull request #1393 from immarvin/onksbootloader
fix issue  [Customer] bootloader is not grabbing the addkcmdline from osimage #1185
2016-06-27 14:27:30 +08:00
immarvin
00584f5370 fix issue [Customer] bootloader is not grabbing the addkcmdline from osimage #1185 2016-06-24 04:26:09 -04:00
wangxiaopeng
3e57820ee6 issue 1361: check the export sentence in the mypostscript to make sure no - is used in the variable name 2016-06-24 02:02:50 -04:00