Commit Graph

15213 Commits

Author SHA1 Message Date
Jia Zhao
e5cee0d433 fix nodeimport error on PowerNV node 2015-03-10 19:52:07 +08:00
daniceexi
9e2ca88638 defect:4592 ubuntu:genimage, move the running of postinstall script before determining the linux kernel version since postinstall script might add new kernel pakcage 2015-03-10 03:48:34 -04:00
daniceexi
52f78c5449 defect 4586: copy /proc/cpuinfo from host node to rootimage 2015-03-10 01:25:46 -04:00
mellor
85f758bd0d defect 4587 - fix xcatd msg for undefined variable: Use of uninitialized value $line in length 2015-03-09 13:56:47 -04:00
GONG Jie
c1eeb2f1ed Fix bug#4551 - [FVT] Command genimage print out information of succeed even if dracut was failed 2015-03-09 14:51:40 +08:00
GONG Jie
d381d3e723 Fix bug#4570 - [FVT] xCAT::Utils->runcmd() did not set a correct $::RUNCMD_RC when streaming mode is using 2015-03-09 14:45:07 +08:00
GONG Jie
f5d79bdaa2 Fix bug#4521 - [FVT] Script "mysqlsetup" assume end user has an empty MySQL/MariaDB root password. Which is not ture on Ubuntu Linux. 2015-03-09 14:39:55 +08:00
GONG Jie
63df86d1a3 Change all the name of template files with "rhel7" to "rhels7" 2015-03-09 14:38:03 +08:00
GONG Jie
798eb16f3b Change all the name of template files with "rhel7" to "rhels7" 2015-03-06 18:41:02 +08:00
daniceexi
19853bf2d2 Change the code to generate MACADDRESS var in mypostscript. var MACMAC will show the mac.mac. var MACADDRESS will show the installnic which calculated from mac.mac 2015-03-06 05:22:40 -05:00
chudegao
6227d2f2b6 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-03-06 14:10:19 +08:00
chudegao
4f34aae746 fix 4588, there's some perl grammar warning in vlan.pm 2015-03-06 14:09:13 +08:00
GONG Jie
282d1e354d Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-03-06 14:00:32 +08:00
GONG Jie
1b7974de07 Add the discinfo of RHEL 7.1 on x86_64, ppc64 and ppc64le 2015-03-06 13:59:45 +08:00
GONG Jie
320d7743d3 Add the discinfo of RHEL 7 on x86_64 and ppc64 2015-03-06 13:56:45 +08:00
daniceexi
1bf4c73c5d change the definition of attributes linxuimage.otherpkglist and linuximage.postinstall that the value of them can be multiple files which separated with , 2015-03-05 22:05:52 -05:00
daniceexi
c94b02d789 defect 4589: fix the issue in genimage.pm that when checking the existence of file in pkglist,otherpkglist,postinstall attributes, the value of the attributes could be multiple files which separated with , 2015-03-05 22:05:34 -05:00
ligc
6c44423812 fix for bug 4458: check the return value from Table.pm::setAttribs 2014-03-06 09:14:41 +08:00
Victor Hu
21caa0d9b9 Bug #4585, in the debian.pm code when we are looking at the pkgdir
directories, the last one was being used.  However, the first one
on the list should be used per man page:

"The first path in the value of osimage.pkgdir must be
the OS base pkg dir path,..."

Fixing to use the first directory specified.

Also fixed a bunch for formatting, space, tab issues...
2015-03-04 14:40:40 -05:00
immarvin
147185c198 fix defect #4539 [FVT] On RHEL 7.1 ppc64, the name of network adapters changed after the operating system 2015-03-04 01:26:16 -08:00
daniceexi
32753450ae defect 4580: a minor change for the syntax 2015-03-02 21:30:51 -05:00
Victor Hu
30f6a66814 Bug #4518 - extra slash in the symlink when -p option is presented
For sles.pm, clean up the $path variable to remove multiple slash
and trailing slash.

In debian.pm , move the check for -p and -w further down so it does
not appear unless we have decided that debian is the image we are
copying.  The message is misleading when copycds is run for non
ubuntu/debian OSes
2015-03-02 12:38:28 -05:00
daniceexi
350421129d change the default memory size for diskless node to be 4G from 512M 2015-03-02 05:24:08 -05:00
daniceexi
9ec565a908 Continue the change for avoiding sslv3 2015-03-02 05:04:43 -05:00
Casandra Qiu
78cdcc04b3 Bug #4580, Parse Mac Address before generate network boot params 2015-02-27 09:05:34 -05:00
Victor Hu
73ed881e05 The check for Ubuntu OS is looking for /etc/os-release. The new RHEL/SLES
O/S are all using this file (RHEL7, SLES12) So that check is not correct
anymore.  If the file exists, test that it contains Ubuntu

For pushinitrd, check that the IP address is set in the node definition
before we start executing the command as a pre-check.
2015-02-25 14:00:58 -05:00
Victor Hu
0a4c7179c4 Introduced a bug on earlier commit ec9658105909d7d91ad10d60495840a348fe6fef
On the checks for pkglist, otherpkglist and postinstall_files,
should make sure the variable is not empty string before seeing if the
file exists
2015-02-24 11:04:37 -05:00
Victor Hu
a632f3186c For Ubuntu 14.04.2 LTS support, the linux-image-generic is called
linux-image-generic-lts-utopic and in the genimage we search for
linux-image-generic pattern and replace with "linux-image-generic"
This causes problems when creating diskless images for Ubuntu 14.04.2

Also creating new pkglist files for diskful and diskless images
2015-02-20 13:45:12 -05:00
ertaozh
733e2bc0cd Fix a defect for the function that generate network boot kernel parameters 2015-02-16 21:29:27 -05:00
litingt
4530a2f3ec update confignics cases 2015-02-15 01:59:49 -08:00
litingt
bdf1602f3c Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-02-15 01:54:43 -08:00
Leo.C.Wu
366dcba7fe #4572, post scripts configfirewall for ubuntu is NOT implemented. 2015-02-15 00:26:34 -08:00
litingt
cea4d11d0e add copy iso image in case 2015-02-15 00:23:25 -08:00
Leo.C.Wu
e6bc9c0e35 #4572, post scripts configfirewall for ubuntu is NOT implemented. 2015-02-15 15:25:16 +08:00
litingt
47bd617b48 remove enter character which causes failure in some cases 2015-02-14 20:43:46 -08:00
litingt
99703c4975 update for case matching 2015-02-14 20:39:08 -08:00
ertaozh
9a5301f985 fix bug 4433: chvm CN add_physlots= returns "Can not get hypervisor information" 2015-02-14 22:21:53 -05:00
ertaozh
884b1fdac9 fix bug 4434 :mkvm vm --full could not add all the resource to vm 2015-02-14 22:07:40 -05:00
daniceexi
3550373879 changed the definition of installnic and primarynic in Schema.pm:noderes table 2015-02-13 03:44:40 -05:00
daniceexi
eeec7c6d4f Continue the change for avoiding sslv3 2015-02-13 03:07:51 -05:00
baiyuan
76a9da1e87 defect 4571 /etc/network/interfaces overwriten after firstboot 2015-02-12 22:58:44 -05:00
daniceexi
8eb652f9b1 Ubuntu/genimage: support multiple local mirror in osimage.pkgdir. The first one will be used to create bootstraps. The procedure to create osimage is: 1. create bootstrap with local/remote mirror; 2. add all mirror in osimage.pkgdir to sourcelist; 3. do osimage update; 4. install kernel; 5 install otherpkgs. 2015-02-12 22:43:03 -05:00
daniceexi
bf7645a4f5 Continue the fix to avoid sslv3 in xcatd. In this commit, all the calling to [openssl s_client] in xcat code which used to connect to xcatd will add arguments [-no_ssl3 -no_ssl2] to avoid the using of sslv2/3 2015-02-12 20:19:00 -05:00
daniceexi
b2eb57d072 Add default value for attribute site.xcatsslversion=TLSv1 to avoid using sslv3 which might cause POODLE Attach 2015-02-12 09:44:01 -05:00
litingt
d41512f24c fix bug 4568, support user specified OS in xcattest configuration file 2015-02-12 00:40:55 -08:00
immarvin
662a62c57a there should be only 1 local package directory speicified in pkgdir attribute, the removed code slice seems unnecessary 2015-02-12 00:24:15 -08:00
litingt
eb14f2bc5d remove openstack error message 2015-02-11 19:59:29 -08:00
Casandra Qiu
5adb477361 support confluent console for kvm 2015-02-11 10:28:19 -05:00
jjohnson2
6e4036dafb Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-02-11 10:19:44 -05:00
immarvin
9598c45746 add support for online mirrors in pkgdir during provision 2015-02-11 03:12:38 -08:00