Commit Graph

3494 Commits

Author SHA1 Message Date
xq2005
27a31e9031 Using an array as a reference
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 08:22:56 +00:00
jbjohnso
5c5ebf2c42 Have bmcconfig.pm implement remoteimmsetup command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 22:01:42 +00:00
jbjohnso
bb9fb8c54b In case caller does not specify 'curraddr', fall back to ssh to the actual ip (e.g. remoteimmsetup case)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:55:41 +00:00
linggao
31551bab47 added Juniper switch support in xdsh and added trace support for xdsh switch management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:52:15 +00:00
jbjohnso
851f0123cd Refactor setupIMM from slpdiscover.pm to IMMUtils.pm in preparation for common code usage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:42:30 +00:00
phamt
da8c8acee0 Fixed bug in getmacs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:20:23 +00:00
jbjohnso
cc2148cedd Change argument name in preparation for refactor of setupIMM for common use between slpdiscover and remoteimmsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 20:54:12 +00:00
jbjohnso
160c635296 Change slpdiscover to use the common IPMI credential lookup scheme, theoretically allow for differing IPMI/CLI passwords, but we won't recommend that
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 20:30:33 +00:00
jbjohnso
3df2492e9d Have getbmcconfig use the refactored password retrieval function, get ready for remoteimmsetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 20:30:22 +00:00
lissav
bbda4fdff2 Remove all bypass mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 18:56:41 +00:00
jbjohnso
1fdad5c12f Fix problems with new PasswordUtils, move ipmi.pm to using the refactored code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 16:24:03 +00:00
jjhua
fa0d361403 remove the msg and export action, when the attribute could not be got from the table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 08:07:02 +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
sjing
6527f298bb handle $reply=undef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 05:59:36 +00:00
jbjohnso
3e5e27bc71 First pass at refactoring and revising get ipmi password scheme, not even checked for syntax correctness yet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 22:11:09 +00:00
linggao
c29f5fd619 increase the timeout value in RShellApi.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 16:32:36 +00:00
lissav
f84d237c33 More message cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 11:38:15 +00:00
daniceexi
5158a5fe95 Added code to handle the case that driver name is .ko.new instead of .ko. Copy the drivers to /lib/modules/kernel/initrd/ instead of /lib/modules/kernle/kernle/... for sles during injecting the drivers to initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 09:02:39 +00:00
daniceexi
683814468c defect 3192: fix the issue the could handle the lzma format of initrd during injecting the drivers to initrd. And added the fix that the driver name is .ko.new instead of .ko
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:59:02 +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
zhaoertao
0268c0c6a1 modifying 'rscan -u' to append the 'groups' attribute rather than overwrite it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:12:19 +00:00
leiaibj
e160deefd5 use proper messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 05:39:09 +00:00
xq2005
cdd0af2092 the dns configure file on ubuntu /etc/bind/named.conf owner group should be bind
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 03:23:12 +00:00
phamt
951555b816 Fixed rscan bug where node = parent.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 21:20:22 +00:00
lissav
ec2c277557 take out of --nodestatus on the AIX path for now, syntax wrong anyway
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 21:00:43 +00:00
jbjohnso
d4e21f1ea1 Try to tolerate some api changes in IBM IMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 19:22:31 +00:00
lissav
21202e8773 put in support to auditskipcmds for clienttype:value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 17:01:49 +00:00
immarvin
1f227a54fb remove local repo template in rmosdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 12:43:39 +00:00
jjhua
90e0e80aa2 correct the osimage_postboot, instead of osimage_post
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 08:45:52 +00:00
jjhua
4d3edda0cd fix a minor bug for osimgname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 08:45:12 +00:00
jjhua
981e545f62 if the nodehm.xcatmaster is not set, there is a problem. fixed it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14434 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 06:21:36 +00:00
jbjohnso
7c68270a80 Attempt to gracefully accomodate ipv6 and ssl http..
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 21:22:40 +00:00
phamt
035353b17d Fixed webportal bug where dasd list entry only contains 1 device. Renamed chhypervisor --smapi to --smcli.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 16:41:31 +00:00
lissav
fbac04966b Give more information on the error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 12:39:30 +00:00
sjing
92a8d070c2 use ip instead of hostname to new the resolver.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-26 08:12:39 +00:00
zhaoertao
73d2274527 add LCD info with 'rvitals <node> all'for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 10:40:39 +00:00
jjhua
85daf29a34 pass the tftpdir to xcatdsklspost, xcataixpost in updatenode.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 07:27:06 +00:00
jjhua
d627649d7c According to wu xian's request, remove the osdistroupdate code from xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 08:35:27 +00:00
jjhua
4d22bb9970 make getpostscript.awk use the template method, instead of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-22 02:57:22 +00:00
jbjohnso
847634175d Break slpdiscover activity into pieces to increase odds of success of each pass
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 19:59:08 +00:00
jbjohnso
a01c99a24f Fix slpdiscover error output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 19:59:03 +00:00
jbjohnso
d4acaaa8eb Distinguish between hyper v and normal edition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 17:52:27 +00:00
jbjohnso
ae93fe56ce Distingush between 2012 and 8 versions of windows
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 17:38:07 +00:00
jbjohnso
3174f6a8eb Add recognition of windows 8 media
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 16:56:37 +00:00
yinle
b820ab2365 Modify yaboot.pm to support removing xcat-yaboot from xcat-dep.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-21 07:37:23 +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
leiaibj
b61ff28739 Create FQDN verify while createing a unmanaged node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 09:03:03 +00:00
leiaibj
5ed353a3ae Resolve 2 issues: 1- restrict numric part length in hostname format; 2- resolve db not update timely after calling nodeaddunmgd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-19 08:56:16 +00:00