Commit Graph

68 Commits

Author SHA1 Message Date
baiyuan
23a51d7bbb fix:remoed should be removed 2014-01-07 03:08:49 -05:00
wanghuaz
bb4fa36b29 fixing the migration problem that rmkitcomp should remove the kitdeployment parameter file and its contents. 2014-01-06 15:19:24 +08:00
wanghuaz
9383ceca98 add an enhancement to skip not well-formed deployment parameters. 2013-12-31 17:03:21 +08:00
wanghuaz
3b1900c52d minor change in last check of passing parameters to postinstall and postbootscritps 2013-12-31 15:36:10 +08:00
wanghuaz
0c911a96a3 passing kitcomponent deploy parameters to genimage package installation, postinstall script and postbootscripts. 2013-12-30 09:54:46 +08:00
wanghuaz
7c45a82a53 prevent the running of postbootscripts 2013-12-12 17:35:09 +08:00
wanghuaz
e2688d0211 fixing bug 3340: add test option for rmkit to list kitcomponents in use 2013-12-09 21:24:51 -08:00
wanghuaz
40ea9ba362 Fixing bug 3876, reutrn with usage if no kitcomponent specified to addkitcomp/rmkitcomp 2013-11-06 18:20:22 +08:00
wanghuaz
213556c27f fixing bug 3867 2013-10-30 01:46:24 -07:00
nott
899be1a70d add -F option to lskit 2013-10-17 15:02:18 -04:00
wanghuaz
f788778e48 fixing bug 3821, use better description for chkkitcomp command 2013-10-15 15:43:10 +08:00
nott
f229e78a9e change kit framework to 2 2013-10-13 10:37:22 -04:00
nott
1842cff1cf add framework to -v and check for aix 2013-10-11 16:40:44 -04:00
wanghuaz
6439ab60ee fixing bug 94319: handle the case of some postscript contains parameters 2013-08-20 23:10:41 +08:00
wanghuaz
ab02c12352 fixing bug 3721, don't remove the repo from otherpkgdir if the repo is used by other osimage 2013-08-09 17:10:36 +08:00
wanghuaz
0602dcfb6d Fixing bug 3697: addkitcomp -a option works with pessl automatically makes a wrong perte/compiler order in postbootscript for diskfull installation. compiler's postinstall script should always run before perte's postbootscripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-17 08:37:45 +00:00
wanghuaz
bc9aaf6b5b Fixing a problem while adding multiple kits, several data structures are not initialized in last feature checkin. Updated the data structures and did strong UTs today. Open bugs tonight.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 10:05:52 +00:00
wanghuaz
9c94100609 Fixing a problem on sles that we need to use tar --wildcards option while extracting a file from kit tarball.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-11 05:22:56 +00:00
wanghuaz
2cf7521735 don't uninstall the packages from osimage with rmkit -f
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-08 03:09:07 +00:00
wanghuaz
5881cc4268 Fixed a potential problem with kitcomponent.prerequisite that in some cases prerequisite is not removed from KIT_RMPKGS.otherpkg.pkglist during addkitcomp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:54:04 +00:00
wanghuaz
fb6844fb64 Fixing bug 3409, added the handle for postscripts, missing in last checkin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 10:18:13 +00:00
wanghuaz
9d2b7e46b0 Fixing bug 3659: adjust the file order to work in some specific scenario
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 07:47:11 +00:00
wanghuaz
7e808dc649 fixing several kit related bugs: 3657,3629,3409. the major change is now addkitcomp -a will add its dependency recursively, instead of two levels before. and in each level, it will check if the dependency fits to the osimage. So now user just need to add the highest level of product to osimage, addkitcomp -a will find it dependencies, check them and go to next level based on its kitcomponnent settings in the kit.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-01 02:29:19 +00:00
wanghuaz
d329307578 Fixing bug 3636 for error msg outputing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-20 03:42:51 +00:00
wanghuaz
9ba0cd197e update addkit command according to revision 16568 for kit framework
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-08 09:29:38 +00:00
wanghuaz
12467ecd6c not export buildkit -n option by default.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-06 00:50:25 +00:00
wanghuaz
83db9da9b1 code checkin for ordering rpm installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-05 07:28:04 +00:00
wanghuaz
e78b7a27f6 Check if the deploy parameter is used by other kitcomponent that is not in the same kit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-25 12:56:34 +00:00
asirxing
2d555c821a Merge lskit/lskitcomp/lskitdeployparam codes to xCAT trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-07 06:17:34 +00:00
wanghuaz
e01282f5eb Output erros if there is any failure during DB operation, in case DB operation didn't output any error on failures.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 12:51:58 +00:00
wanghuaz
85e66bdcfc Fixing bug 3410: don't remove kitrepo if there is other kitcomponent assigned to the osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15760 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-01 10:43:07 +00:00
wanghuaz
ef9db848fd added addkitcomp --noupgrade option to install multiple PE RTE PTFs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 22:35:50 +00:00
wanghuaz
04e63c307e Create otherpkgdir if it doesn't exist on management node or service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-07 20:59:34 +00:00
xq2005
6ae785af6e fix infinite provision problem after use kit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 10:33:41 +00:00
mellor
bd812ab851 defect 3371 - fix osimage check for chkkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-18 21:18:26 +00:00
wanghuaz
1ff6be92c3 Fixing bug 3356: handle the input string from kit kit.conf/kitcomponent exlist/postbootscritps/.. files more strictly. 2. Fixing bug 3347 in kit migration, removing the original kitcommponents instead of the adding kitcomponent
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15056 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 09:49:33 +00:00
wanghuaz
f23d37e410 Fixing bug 3339: check if the kitomponent is existing before adidng it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 09:43:17 +00:00
wanghuaz
6166ceba50 Fixing a typo which makes the postinstall script always be overwritten by new kitcomponent
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15016 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 06:23:32 +00:00
wanghuaz
526e1fb67d Now kitcomponent and osimage could specify multiple serverroles, addkitcomp and chkkitcomp will match their every serverrole
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 10:00:25 +00:00
wanghuaz
3c8ad92ef8 Fixing a typo in comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 02:35:10 +00:00
wanghuaz
b9c16c57c6 Added genimage_postinstall attribute in addkitcomp/rmkitcomp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:04:46 +00:00
wanghuaz
a56b04331e Fixing a bug while kit works with old osimages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14800 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 10:34:38 +00:00
xq2005
1de4c70cec defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:10:48 +00:00
wanghuaz
ef0d8c786a make kit work with old osimage which doesnt contains osdistro attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 07:17:15 +00:00
wanghuaz
9c9388f263 Add an enhancement of rmkit that prevent removing a kit if its isinternal attribute is set to 1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14471 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 06:24:17 +00:00
wanghuaz
9fb1b27a0a Fixing a problem that postbootscript cannot be written if there are multiple kit components
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:34:38 +00:00
wanghuaz
0d3fb931a0 Fixing two problems: 1. introduced while intergrating with buildkit command that only one kitrepo and one kitcomponent in a kit can be added into xCAT. 2. If user renamed the kit tarball filename, addkit canot read kit.conf inside it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 07:17:48 +00:00
mellor
18dc0460ef addkit - add check for tarfile with missing product rpms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-20 21:17:30 +00:00
wanghuaz
caf8e249b6 Change desc to description according to latest Schema.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 07:02:17 +00:00
wanghuaz
e63bfd6c46 Fixing bug 3160, matching the kit.conf that created by buildkit command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 09:26:15 +00:00