2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 19:52:03 +00:00

7833 Commits

Author SHA1 Message Date
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
351205985d Merge pull request #2137 from immarvin/onxcatservice
create /opt/xcat under rootimage dir incase it is not there
2016-11-10 14:47:15 +08: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
aac736afcb create /opt/xcat under rootimage dir incase it is not there 2016-11-10 01:07:59 -05: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
Xiaopeng Wang
c7546876c1 Merge pull request #2113 from immarvin/onxcatservice
use the relative path to enable xcatpostinit1.service;remove previousxcatpostinit1 sysvinit file and systemd service unit file
2016-11-09 13:54:24 +08: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
immarvin
a40f73972a use the relative path to enable xcatpostinit1.service;remove previous xcatpostinit1 sysvinit file and systemd service unit file 2016-11-08 22:54:26 -05:00
zet809
f74704d790 Merge pull request #2079 from chenglch/consolelock
Use sleep subroutine instead of exec(sleep)
2016-11-09 11:03:31 +08: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
cxhong
3036c8547b Merge pull request #2109 from immarvin/onxcatservice
correct the typo in commit 6f735b0e8d2eb90b5377da7baa5e2b855f7a798a
2016-11-08 10:23:17 -05:00
immarvin
b7aae30d08 correct the typo in commit 6f735b0e8d2eb90b5377da7baa5e2b855f7a798a 2016-11-08 23:07:56 +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
yangsong
801a9cf69b Revert "update dhcpd conf file when upgrade xcat" 2016-11-07 22:38:37 +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
Xiaopeng Wang
1b51602577 Merge pull request #2055 from immarvin/onxcatservice
fix issue linux orderly shutdown not noticed by xcat. #1939
2016-11-07 17:03:06 +08:00
penguhyang
1446ee33d7 fix utilities required for statelite missing from sles initrd (#2093) 2016-11-07 15:53:40 +08:00
immarvin
6f735b0e8d fix issue linux orderly shutdown not noticed by xcat. #1939;replace xcatpostinit1 sysvinit service with xcatpostinit1.service systemd service unit as the hook to run PS&PBS and report status for redhat;report node status on system <reboot/shutdown> command 2016-11-07 13:54:47 +08:00
penguhyang
ea5ffdc0bc update dhcpd conf file when upgrade xcat (#2067) 2016-11-04 12:47:21 +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
chenglch
606ac46dd0 Use sleep subroutine instead of exec(sleep)
exec function call will take over all the process, lead to no chance to
continue the work within the script, this patch use sleep function call from
perl library instead.

Close-issue: #1801
2016-11-03 16:08:10 +08: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
neo954
472f94bb22 [go-xcat] Fix GitHub issue #1998 (#2059)
* [go-xcat] Fix GitHub issue #1998, print out friendly error messages when no xcat paackages installed on updating

* [go-xcat] GitHub pull request #2059, change error message base on the comment of @whowutwut
2016-11-03 15:39:07 +08: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
zet809
eedee6685d Merge pull request #1997 from penguhyang/rinv_info
fix rinv should return correct warning message when the option is not valid
2016-10-26 13:25:25 +08:00
Matt Ezell
0c84550441 Ensure the requested kernel version and associated packages are installed (#2018)
If a specific version of the kernel was requested, make sure any other
kernel-related packages requested in a package list get the same version.
Note, packages that get pulled in due to dependencies are NOT checked.
Also avoid updating the kernel packages when the requested version has already
been installed.
2016-10-25 14:21:06 +08:00
Victor Hu
e0bd9e1e46 Merge pull request #1986 from hu-weihua/mellanox
Refine hack_uname() in mlnxofed_ib_install.v2
2016-10-20 10:39:55 -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
Weihua Hu
d5c31a0e1f Merge pull request #1934 from cxhong/1912
Configure SNMPv3 for Mellanox IB switch
2016-10-20 10:22:34 +08:00
Casandra Qiu
7725909ed5 handle bad return code 2016-10-19 09:41:45 -04:00
Yuan Bai
60d9b5fd9e fix always get one adapter in array. (#1991) 2016-10-19 17:17:40 +08:00
zet809
684babe436 Merge pull request #1989 from penguhyang/loop_rpower
fix setting the ipmi info incorrectly in the site table causes infinite loop
2016-10-19 15:32:52 +08:00
Matt Ezell
4a84d6625d Use network settings from the command line (#1980) 2016-10-19 15:15:50 +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
hu-weihua
a6c910467e Refine hack_uname() in mlnxofed_ib_install.v2 2016-10-18 23:15:19 -04:00
Casandra Qiu
e0ddd7cb96 add default sshusername if not exists for config_snmp 2016-10-18 22:17:36 -04:00
Casandra Qiu
d5022f8966 Remove nodetype and hwtype from bmcdiscover -z output 2016-10-18 13:03:27 -04:00