Commit Graph

11430 Commits

Author SHA1 Message Date
lissav
b96ce121ff enhancements and corrections
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 15:36:45 +00:00
jbjohnso
5604a61f53 Have slpdiscover ultimately relax password expiry, login failure behavior, password reuse restrictions, minimal change interval to help automation work and
avoid DoS attacks

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 15:21:45 +00:00
lissav
545281c97f take egans email address out of the comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 11:22:00 +00:00
xq2005
db0bad0c5d create dir /var/run/xcat/ for pid files on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 09:33:52 +00:00
xq2005
3c84ec61cb run mknb only the xCAT-genesis upgrade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 09:26:08 +00:00
wanghuaz
df1896dca8 Removed prefixes of postbootscripts since it should be done by buildkit command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 08:52:28 +00:00
leiaibj
addd30180e discover querying should not acquire lock
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 05:22:43 +00:00
jbjohnso
fb4e4a09e5 In RHEV-M, we currently fail hard in the case where user did not set installnic/primarynic. In this scenario, instead of failing, just let firmware have a chance to fill it in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 23:39:06 +00:00
jbjohnso
2f8348f0f4 For IBM servers, report planar revision, fru number, and mac addresses (if a rackmount server)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 19:45:39 +00:00
lissav
22eec83752 This adds an interface to runxcmd to return the response structure, still needs test though
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 19:21:28 +00:00
nott
03e82f2f62 different fix for replication issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 15:00:39 +00:00
lissav
39e72aec0b if MN already in the database, xcatconfig -m will replace it, if the name has changed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 14:55:03 +00:00
phamt
4a7d0e4fdc Added inventory support for z/VM hypervisor. Cleaned up code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 14:48:40 +00:00
xq2005
b8148e8e17 delete the tftpd error message when restarting xcatd on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:46:45 +00:00
wanghuaz
9fe6127b0e Removed --overwrite option in chkkitcomp, since chkkitcomp could verify the kit component list correctly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:40:22 +00:00
wanghuaz
34df3dccb0 Removed --overwrite option in chkkitcomp, since chkkitcomp could verify the kit component list correctly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:34:16 +00:00
xq2005
e6f9e57a98 do not run mknb when the xcat-genesis is installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 12:20:17 +00:00
lissav
40a74f4310 check if MN defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 11:10:12 +00:00
xq2005
d8b9521d56 reload the xcatd on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 09:26:17 +00:00
wanghuaz
308acd2839 Adding packagenames without directory to KIT_RMPKGS.otherpkgs.pkglist so otherpkg script could remove them
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 09:14:44 +00:00
jjhua
8d91ef04d5 fixed bug 3143.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 09:06:04 +00:00
ligc
8cf146bc90 remove debug mode /bin/sh -x for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 08:43:04 +00:00
wanghuaz
1130f848bd Fixed a problem that if kitpkgdeps is not set in kit.conf, which is not correct, we still need to handle the KIT_RMPKGS.otherpkgs.pkglist with kitcomponent basenames anyway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 07:32:23 +00:00
leiaibj
97ee1bb176 For profiled nodoes: chassis can not be specified together with rack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 06:24:30 +00:00
wanghuaz
47460b48e6 Removing debug code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 03:04:24 +00:00
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