Commit Graph

11442 Commits

Author SHA1 Message Date
xq2005
fc2ee64682 fix xcat install error message on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 06:52:32 +00:00
jjhua
b16326fdbc pre-create mypostscript enhancement:remove the functions which are not used. add some error messages, if the attribute is not defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 06:06:57 +00:00
phamt
d5e14d1c64 Fix display problem for images table and disable edit for 1st and 2nd columns of images table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 03:13:49 +00:00
jjhua
d3d34e7957 pre-create mypostscript enhancement: store the servicenode info in the %::GLOBAL_SN_HASH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:59:40 +00:00
jjhua
777729759d pre-create mypostscript enhancement: use the global variable %::GLOBAL_SN_HASH in enablessh()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:57:05 +00:00
jjhua
6ed9c4c9b1 pre-create mypostscript enhancement: get_nodeset_state uses the values of the noderes.net boot noderes.tftpdir which were got ahead of time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:10:01 +00:00
jjhua
d15a2add7a pre-create mypostscript enhancement: get the noderes.netboot noderes.tftpdir ahead of time for get_nodeset_state in SvrUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 01:53:22 +00:00
lissav
c8db25f98d change comment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 19:23:59 +00:00
lissav
0a554136b9 checkin enhanced support for runxcmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 18:54:37 +00:00
lissav
e230a70808 get rid of print
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:20:17 +00:00
lissav
90da002d8c save runxcmd buffer before calling runxcmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:14:08 +00:00
lissav
889d376bfe take out unnessary require
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:13:08 +00:00
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