2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

4616 Commits

Author SHA1 Message Date
chenglch
97f9d4da8f Do not update bootparams table when running nodeset
With the nytprof tool, the buttleneck is the time to update the bootparams
table.To optimize the performance on large scale nodes, this patch tranfer
the bootparams hash through variable reference.

posible impact: getdestiny can not get the information about bootparams.

partial-issue: #2024
2016-12-23 13:45:20 +08: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
zet809
c61b0cdba4 Merge pull request #2049 from cxhong/1947
Configure different model of BNT switches
2016-11-29 14:14:43 +08: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
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
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
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
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
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
Xiaopeng Wang
371d4de46b Merge pull request #2134 from immarvin/onobjname
fix [FVT]mkdef with osimage returns object name  invalid #2131
2016-11-10 14:16:22 +08:00
immarvin
ee67c68086 fix [FVT]mkdef with osimage returns object name invalid #2131 2016-11-10 00:48:28 -05:00
Jarrod Johnson
967dd0f5fb Fix Debian and SLES rootimg.gz compatibility
Do not require repacking of a rootimage if the
environment has the 'old style' packed image.
2016-11-09 11:24:58 -05:00
Jarrod Johnson
e7a7da10cb Fix backwards compatibility
If a user has an existing rootimg.gz, use that so
that an upgrade does not require re doing packimage for
no particular reason.
2016-11-09 10:20:29 -05:00
immarvin
07df7fb890 fix issue xcat object naming is too restrictive after sourceforge issue 4675 fix #2100 2016-11-08 23:58:08 -05:00
Kilian Cavalotti
fd90ff371b ddns.pm: fix condition to append domainname to hostname
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-08 15:27:45 -08:00
immarvin
c02c101156 refine the dhcp conf for cumulus support 2016-11-08 15:51:30 +08:00
immarvin
c933502500 refine the dhcp conf for cumulus support 2016-11-08 11:11:15 +08:00
cxhong
1cd4b6446c Check in init version of cumulus support[Do Not Merge] (#2020)
* Check in init version of cumulus support

* Add cumulus installation doc

* modify victor's comments.
2016-11-08 10:21:56 +08: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
Pat Lundgren
1e1c9bdaa4 Merge pull request #2074 from cxhong/ntp
Looks good to me.  Agree to merge
2016-11-03 09:41:52 -04:00
neo954
062ed1385a Merge pull request #2036 from immarvin/ongenimage
add lock in rh/genimage to avoid multiple genimage processes on same rootimg directory;add guard code before umount/remove mount points under rootimg directory
2016-11-03 02:41:30 -05:00
immarvin
1ebdb5d96c add lock in rh/genimage to avoid multiple genimage processes on same rootimg directory;add guard code before umount/remove mount points under rootimg directory 2016-11-03 03:32:12 -04:00
Casandra Qiu
c619538333 Handle invalid options for makentp command 2016-11-02 16:55:05 -04:00
penguhyang
a49db1c4ff fix nodediscoverls output limits serial length (#2032) 2016-11-02 10:45:26 +08:00
penguhyang
4e89b75454 auto recognize rhhpc iso on copycds (#2034) 2016-11-01 10:15:51 +08:00
Casandra Qiu
761a8f8373 upport kitcomponent can be add to higher version of OS 2016-10-20 13:31:13 -04:00
penguhyang
5d13aa4cf4 fix rinv should return correct warning message when the option is not valid 2016-10-20 01:53:51 -04:00
Yuan Bai
60d9b5fd9e fix always get one adapter in array. (#1991) 2016-10-19 17:17:40 +08:00
Casandra Qiu
d5022f8966 Remove nodetype and hwtype from bmcdiscover -z output 2016-10-18 13:03:27 -04:00