2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

7877 Commits

Author SHA1 Message Date
immarvin
46daf64a93 fix issue [DEV] 'makentp -a' always return 1 #2282 2016-12-07 01:58:29 -05:00
cxhong
e9db4962cc Merge pull request #2236 from bybai/sles
fix 2231 Failed to generate osimage definiton for sles11.4-x86_64-sta…
2016-12-05 10:17:12 -05:00
immarvin
483923eae7 correct a syntax 2016-12-05 03:46:42 -05:00
Xiaopeng Wang
6009f17957 Merge pull request #2223 from jjohnson42/master
Have snmpmon set the community string
2016-12-01 17:34:08 +08:00
yangsong
e7d05434e8 Merge pull request #2240 from bybai/lname
fix statelite persistent dir use short name
2016-12-01 03:24:43 -06:00
chenglch
7c5ef74565 Become process group leader when updating firmware
As exec is invoked, child process can not ignore the signal sent
to the process group, use setpgrp to set the pgid to itself.

close-issue: #1849
2016-12-01 16:44:02 +08:00
bybai
3370a7d48e fix statelite persistent dir use short name 2016-11-30 22:34:42 -05:00
bybai
d92f4b0697 fix no persistent dir in statelite ramdisk 2016-11-30 08:36:12 -05:00
bybai
6dbd5c88d5 fix 2231 Failed to generate osimage definiton for sles11.4-x86_64-statelite-compute after copycds 2016-11-30 06:38:29 -05:00
ertaozh
003290702e a syntax error within mknb.pm 2016-11-30 02:59:40 -05:00
immarvin
8686edb86d fix issue [CUSTOMER] Stale rootimg.gz file left in the rootimg dir caused node boot failed. #2225 2016-11-29 21:54:18 -05:00
Jarrod Johnson
dc6581a1f2 Have snmpmon set the community string
Some BMCs do not default to 'public' for alerts.
Change this to do public for now, since other parts
of the code are still hard baked.
2016-11-29 13:36:09 -05:00
cxhong
8af3012528 Merge pull request #2208 from whowutwut/configBNT_desc
Add function to easily set a description string to BNT switches
2016-11-29 10:22:40 -05:00
zet809
c61b0cdba4 Merge pull request #2049 from cxhong/1947
Configure different model of BNT switches
2016-11-29 14:14:43 +08:00
Victor Hu
df6bf32775 Add function to set description text into the switch 2016-11-28 11:14:52 -05:00
zet809
30488810f3 Merge pull request #2203 from chenglch/rflashprogress
Redirect progress message to rflash log files when updating firmware
2016-11-28 17:17:40 +08:00
Yuan Bai
ed2ce1ff67 Merge pull request #2004 from cxhong/kit
Support kitcomponent can be add to higher version of OS, I am ok.
2016-11-28 15:33:49 +08:00
chenglch
8470c14090 Redirect progress message to rflash log files when updating firmware
Previously rflash process will be terminated when the tty session is closed
which is a very dangerous operation that may bricked the BMC. This patch will
ignore the `int`, `term` and `hup` signal when rflash is running and redirect
the output of ipmitool command to `/var/log/xcat/rflash/<node.log>` which make
the progress trackable. In addition,  -V option is provided to print more
verbose message from ipmitool when `hpm upgrade` command is running.

This patch also update the node status in the `nodelist` table to record
the rflash status.

fix-issue: #1849
2016-11-28 13:21:26 +08:00
yangsong
df2a195a2c Merge pull request #2199 from hu-weihua/2072
Fix issue2072 xCAT 2.12.3 - Policy table read incorrectly
2016-11-25 10:53:54 +08:00
hu-weihua
113ed0de31 Fix issue2072 xCAT 2.12.3 - Policy table read incorrectly 2016-11-24 03:23:43 -05:00
immarvin
fd3b598e42 fix issue [CentOS6.8 and RHEL6.8] User will see ERROR message during running updatenode and in xcat.log on compute node. #2104 2016-11-24 00:21:03 -05:00
immarvin
c4a058c6d5 refine the conditional code logic on swith variables site table 2016-11-22 03:46:05 -05:00
immarvin
72f66aed71 fix [fvt] nodeset node diskless image failed for could not find the diskless image #2188 2016-11-22 02:59:09 -05:00
yangsong
8dcb2cfb3c Merge pull request #2152 from neo954/go-xcat-devel
[go-xcat] More clearly error messages when yum failed / Fix a minor zypper problem
2016-11-22 01:25:25 -06:00
bybai
b769d36e06 fix issue1873 Failed to find the directory: /.statelite/persistent after statelite installation 2016-11-22 01:39:59 -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
Casandra Qiu
eeb750f592 modified review comments from ErTao 2016-11-21 14:11:35 -05:00
Casandra Qiu
91b67db411 modify from ErTao's review 2016-11-21 14:11:35 -05:00
Casandra Qiu
093f966522 Configure different model of BNT switches 2016-11-21 14:11:34 -05:00
yangsong
6653dfdc6a Merge pull request #2178 from bybai/copycds
fix 2025 Re-enable the creation of statelite when copycds on RHEL 7
2016-11-20 21:14:08 -06:00
bybai
be8c255874 fix 2025 Re-enable the creation of statelite when copycds on RHEL 7 2016-11-20 22:07:00 -05:00
Xiaopeng Wang
917a79f99b Merge pull request #2175 from immarvin/onnetparam
fix several issues on redhat kernel cmdline  and grub2 config file generating
2016-11-21 10:54:42 +08:00
immarvin
c936778f21 fix issue [DEV] several issues on generating grub.cfg-xxx when netboot=grub2 #2174; fix issue kcmdline for centos netboot images set incorrectly #1502 2016-11-20 21:42:26 -05:00
Obihörnchen
dc9ffa4307 Fix mknb: Undefined subroutine noderange
Add missing xCAT::NodeRange module
2016-11-18 15:47:47 -05:00
tingtli
5d7d270c45 Merge pull request #2166 from zet809/add_debuginfo_for_rmvm
This is for vm issue debug. I agree to merge
2016-11-18 10:18:58 +08:00
ertaozh
555cffdf24 Add debug info for issue 1958: [FVT]Failed to run rmvm when setup SN in x86_64 for rh7.3 and rh6.8 2016-11-17 03:44:44 -05: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
Casandra Qiu
c972a8989b Filter out global local ipv6 address for makedhcp command 2016-11-16 15:40:21 -05:00
Casandra Qiu
f231fd24f1 support different minor version for kits 2016-11-16 15:11:40 -05:00
GONG Jie
429dc7867b [go-xcat] Run zypper in non-interactive mode when run `zypper refresh' 2016-11-16 17:28:52 +08:00
immarvin
b0791921bb fix issue "xCAT Object Name Format" error when trying to name osimages starting with "rhels7.3" #2157 2016-11-16 03:22:48 -05:00
zet809
ba63e78399 Merge pull request #2151 from whowutwut/noboot_vlantag
Support noboot on interfaces that are tagged vlan on the mangement node
2016-11-16 15:34:46 +08:00
GONG Jie
ef6eeb5ff8 [go-xcat] Ask the end user to use at least yum version 3.2.29-17 2016-11-16 14:46:17 +08:00
Victor Hu
263acbf5ce Based on Er Tao's comments, before going into the code for determining
the noboot nic names, parse out the interface names for the tagged vlans
without the physical name in the string
2016-11-15 16:48:45 -05:00
yangsong
390b30f155 ddns.pm: fix condition to append domainname to hostname (#2111)
Fix an issue where the domainname was not appended to the hostname
when the domainname was contained in a substring of the hostname.
Update the regular expression to make sure it only check for the
domainname at the end of the hostname string.
2016-11-15 01:17:05 -06:00
Victor Hu
2ca61ad9e8 Support noboot on interfaces that are tagged vlan on the mangement node 2016-11-14 13:31:48 -05:00
GONG Jie
907f384f65 [go-xcat] More error messages when yum failed 2016-11-14 15:39:44 +08:00
zet809
ed5a846ebb Merge pull request #2144 from whowutwut/kvm_ac97
Disable ac97 for ppc64le platforms for KVM
2016-11-11 10:34:39 +08:00
Victor Hu
d473bf9f3e Disable ac97 for ppc64le platforms 2016-11-10 13:37:07 -05:00