Commit Graph

11405 Commits

Author SHA1 Message Date
willn256
3e53a88daf Initial commit of KitPluginUtils.pm. These utilities are used by kit developers to write new kit plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 22:34:52 +00:00
wanghuaz
f2d9901d19 run xcatbased, kit specific and customized postbootscripts in order
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 14:35:40 +00:00
wanghuaz
36efc5d93f handling multiple exlist in packimage and liteimg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 12:39:54 +00:00
wanghuaz
d66e957cb1 Fix a problem with os minor version while comparing with kitcomponent and osimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 09:30:56 +00:00
leiaibj
c8b1b3219c 1. support groups arg while import/discovering
2. import hostinfo file format should support windows txt file
3. If no dynamic range set, display an error message while start auto discover.
4. distinguish error codes for arguments validation and hostinfo file validation errors: 1 for arguments validation failure, 2 for hostinfo file parse.
5. support hostname format validation.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 08:59:14 +00:00
wanghuaz
c58f6e361e removed the spaces in kit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 07:42:42 +00:00
jjhua
241980aa01 pre-create mypostscript enhancement: do some changes in the template
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 13:51:55 +00:00
jjhua
148482344e pre-create mypostscript enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 13:49:47 +00:00
wanghuaz
bd7fd5672c Support multiple otherpkg and pkglist entries to work with Kit. alsofix a problem in kit.pm found during genimage.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 09:24:37 +00:00
jjhua
9a206d67bd pre-create mypostscript enhancement: move the postscript-specific functions from Template.pm to Postage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 09:10:43 +00:00
jjhua
62636a0216 pre-create mypostscript enhancement. Use the networks info which is got form networks table ahead of time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 08:38:04 +00:00
wanghuaz
6c4a409e29 Fixed a problem while adding kitrepodir from kit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 07:39:44 +00:00
jjhua
d97f8338fa fixed bug #3133. When some node don't exsit, there are some error msgs, and other nodes succeed. handle this case.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 06:24:52 +00:00
wanghuaz
61d079df0a better handling xml output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 04:06:21 +00:00
wanghuaz
adf75d9f57 better handling xml output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 02:50:38 +00:00
leiaibj
4b09a3e1c9 Resolve Profiled nodes discover issue: some times compute nodes failed to reboot after discover
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 02:30:03 +00:00
jbjohnso
f1b045c5cd Have IPMI plugin detect whether something is an ITE or not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 21:39:24 +00:00
bp-sawyers
9bb1c459e3 Add --localonly to makedhcp man page and made other improvements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 20:05:53 +00:00
jbjohnso
d4fa1ed91a Document some potential plans for sequence number magic to disambiguate spurious retries again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 19:53:58 +00:00
jbjohnso
ba08481381 It was discovered that the strategy to jump software ids, while effective, had the side effect of invalidating reservations
This means that initial SDR download would usually fail on implementations that consider reservations in such a manner.
Back out the incrementing software id behavior and instead bump retry interval back up to mitigate risk of wraparound
on retries.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 19:26:09 +00:00
phamt
cfa719caa9 Fixed bug in removezfcp option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 15:54:38 +00:00
phamt
5437963279 Fixed bug in addzfcp option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 15:52:07 +00:00
phamt
009cacac27 Fixed bug in add zFCP dialog.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 15:46:05 +00:00
lissav
cfcf1b8cfc check for could not connect to database postgres error on createdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 14:09:17 +00:00
lissav
bd1a88c706 check for could not connect to database postgres error on createdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 13:57:24 +00:00
immarvin
236d9d7371 don't associate osdistro with osimages which created by xcat in copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:22:44 +00:00
immarvin
70b33a7e6b don't associate osdistro with osimages which created by xcat in copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:22:00 +00:00
bp-sawyers
34c4df71cd add genesis and elilo requires to xCATsn and straighten out XML requires
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:12:25 +00:00
xq2005
c3c7e46312 change for ubuntu xcatd start
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 08:55:08 +00:00
asirxing
b16cb69284 Rename getOSpkgsDiff function to getPkgsDiff as it is a common function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 06:19:15 +00:00
phamt
abe7cb1e1e Moved options over from chvm & lsvm to chhypervisor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 20:09:29 +00:00
lissav
cf60db528c a few improvements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 17:51:40 +00:00
bp-sawyers
dd11950993 chomped newlines from runcmd streaming output and updated site.runbootscripts description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 15:37:47 +00:00
xq2005
510bd44fd2 delete the depends on openslp when build xcat on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 07:18:11 +00:00
xq2005
ce61ef6222 delete the depends on atftp when build xcatsn on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 07:17:47 +00:00
leiaibj
50352afb39 Fix one bug: after discovery stopped, we can still discover some nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 07:14:11 +00:00
lissav
1c32268e9b check for MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 19:18:52 +00:00
lissav
86fd3ae7b0 Put a check in so that if remoteshell is run on the MN, it just exits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 16:22:43 +00:00
wanghuaz
4003dd69d8 Fixing a problem with lock and added addkitcomp -f option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 14:59:18 +00:00
wanghuaz
960214bd4b added manpage for addkit/rmkit/addkitcomp/rmkitcomp/chkkitcomp commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 12:02:39 +00:00
ligc
8d07e61c14 Add NetworkUtils::setup_ipv6_forwarding
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 11:25:12 +00:00
xq2005
3a931a7317 fix error when building xCAT-server on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 11:02:28 +00:00
xq2005
ef9bdadda3 fix the error when building xcat-genesis-amd64 on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 10:41:55 +00:00
immarvin
455e031440 support nodelist.updatestatus update during updatenode -P
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 09:31:12 +00:00
ligc
3ed32b437d enable ipforwarding for IPv6 and IPv4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 09:18:41 +00:00
ligc
76827a69ec update the description for nics table to support multiple ip addresses per NIC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 07:23:01 +00:00
leiaibj
c6d0097565 Use info tag instead of data for checking whether auto discovery running
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 06:05:46 +00:00
wanghuaz
0a87db910b Handling postbootscripts in osimage and kitcomponent tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-23 04:07:56 +00:00
jwsimpson
aec176a65c updated to add the postscripts table to the description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 21:22:35 +00:00
jbjohnso
fe9774ac67 Have base esxi4.1 template exist in the way that xCAT expects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 20:10:48 +00:00