Commit Graph

6669 Commits

Author SHA1 Message Date
Jia Zhao
8f298de177 fix bug 4614: genimage and provision is failed when osdistroupdate is associated 2015-03-27 14:36:31 +08:00
WangXiaoPeng
2fd0f59cca fixed the issue that bridge module cannot be loaded automatically on SL6.6 2015-03-27 01:33:36 -04:00
jjohnson2
39bc1e21a6 Change wvid to pass IP to client
When remote xCAT client is used, often the client will not have
the same name resolution in place as the management node.  For
wvid, mitigate this by passing the IP address to the client.
If name resolution worked before, this should be no downside.
If routing also doesn't work, well the user is no worse off than
before at the moment.
2015-03-26 10:01:10 -04:00
WangXiaoPeng
aa7765accf defect 4625: fix the issue that restapi does not work on Ubuntu 2015-03-26 07:15:33 -04:00
WangXiaoPeng
21204f4dde fix the issue that POST - /networks does not work. and fix the ssl connection failure on ubuntu 2015-03-26 07:15:23 -04:00
WangXiaoPeng
f02a5e927d defect 4625: create necessary dirs for apache2 cfg 2015-03-26 07:15:15 -04:00
Victor Hu
f8bd32838a Change the debian/rules file to executable to supress
a warning during the build.  The rules file is required to have
execute permission as it's the debian "Makefile"
2015-03-25 17:42:51 -04:00
ertaozh
5068a8b99d fix defect 4624: mlx4_en.ko missing from Ubuntu stateless image 2015-03-24 03:56:20 -04:00
Jia Zhao
5371f78dbb setting vpd.uuid for powerkvm nodes during nodeimport 2015-03-24 15:30:17 +08:00
jjohnson2
ff3eee61f3 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-03-20 10:59:20 -04:00
jjohnson2
fb02c18853 Fix erroneous 'noping' in various circumstances
nmap's raw IP facility is prone to mistakes in various
environments.  Disable the raw IP handling by
telling nmap to run as if it didn't have privilege
2015-03-20 10:58:26 -04:00
daniceexi
e2713f9b7b the initrd for stateless has to been built first to make the installkernel cfg file added first. Refer to checkin 3df16cd4e3 for rh7 2015-03-17 03:03:49 -04:00
linggao
50a086327b Fixed defect 4608: getmacs does not work for x222 nodes 2015-03-16 16:17:08 -04:00
immarvin
b99e85f108 suppress some invalid message during genimage 2015-03-16 07:13:13 -07:00
immarvin
17b29dcd17 fix defect #4525 [DEV] ubuntu 14.04.1 ppc64el hierarchy stateless provision hang on wget: bad address 'c910f03c05k07' 2015-03-16 03:24:01 -07:00
immarvin
cddf0ba309 fix defect for #4539 [FVT] On RHEL 7.1 ppc64, the name of network adapters changed after the operating system installation 2015-03-16 02:24:11 -07:00
daniceexi
56d468f669 defect 4603: fix the code logic of how to get the fsp of cec 2015-03-13 04:53:32 -04:00
GONG Jie
f6ea4a1bbc Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-03-13 16:30:10 +08:00
GONG Jie
ecf9564c46 Fix typo of previous commit for bug #4451. Fix bug#4601 2015-03-13 16:29:53 +08:00
daniceexi
0bd0860cdc add netboot pkglist for ubuntu 14.04.2 x86_64 2015-03-13 01:53:53 -04:00
Victor Hu
e581247ade When building xCAT-server rpm, a Unknow option: help message
appears.  This is caused by the xCATreg tool not implementing
the --help option  (was -h or ? for help)

build-readme requires the tools to implement the help option
2015-03-12 15:10:53 -04:00
immarvin
1636b11e4b fix defect #4595 [FVT]:CN ip is not correctly configured on sles11.3 when installnic and primarynic is blank 2015-03-12 07:03:24 -07:00
Jia Zhao
ebe61dbab5 fix nodeimport getting netboot attribute error 2015-03-12 17:30:02 +08:00
chudegao
c51cfca5e1 fix feature request 189, support not contain existing postscript in kit 2015-03-11 18:02:31 +08:00
daniceexi
793a6c1709 defect 4539: for rh7, remove the HWADDR entry from ifcfg-ethx files to skip the deadlock of cfg in ifcfg-ethx and real system 2015-03-11 06:04:50 -04:00
daniceexi
3a65b11326 defect 4586: when run genimage for ubuntu, grub_pc package cannot be configured correctly (postinst failed). It will cause the failure of genimage. use environment variable [DEBIAN_FRONTEND=noninteractive] for each apt-get run to make the apt-get default action is to say yes for any question 2015-03-11 04:04:38 -04:00
mellor
d009a51b1c defect 4349: update previous fix to rmkitcomp 2015-03-10 17:12:50 -04:00
mellor
8f90acc07c defect 4349: fix rmkitcomp othepkgs dir removal; fix typo in Schema.pm to now display kitcomponent reponame correctly 2015-03-10 14:50:15 -04:00
mellor
551bc0ab11 defect 4494: fix lskmodules to find both *.deb and *.udeb packages 2015-03-10 08:42:27 -04: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
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
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
Casandra Qiu
78cdcc04b3 Bug #4580, Parse Mac Address before generate network boot params 2015-02-27 09:05:34 -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
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