Commit Graph

411 Commits

Author SHA1 Message Date
jbjohnso
b5e5c2a84b First pass at automating the behavior of disabling/enabling local admin account.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:30:44 +00:00
jbjohnso
c0cd7d0e58 Have Template detect and fill in the entire unattendedjoin object if template requests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 19:50:43 +00:00
jbjohnso
75a399eaf1 Fix problem where lsslp --flexdiscover was not working
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 15:37:30 +00:00
jbjohnso
452fcb74f8 Fix win2012 deployment issues with productkey and such
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 19:24:10 +00:00
jbjohnso
2a73625a7c Add a utility function for Windows specific functions, for now, just a map for KMS key lookup since 2012/Windows 8 got particular about product keys even for KMS case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14806 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 15:48:38 +00:00
jbjohnso
e7a31a057b Have Template support the more elegant TZUtils approach for translation to Windows timezones from POSIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:09:59 +00:00
jbjohnso
7307a550ef Remove 'e' from regex flags in Template.pm as the replacement does not suggest perl evaluation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:09:46 +00:00
jbjohnso
86102a215b Provide more human readable interpretation of RMCP status messages where possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 18:31:14 +00:00
ligc
38fcd2f3a8 fix for bug 3051: search /install/custom and /opt/xcat for lsdef --osimage against nodes with provmethod=install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-29 08:33:14 +00:00
jjhua
59a3beafdb for management node ,the NTYPE is MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:32:45 +00:00
jjhua
a4f5515786 fixed bug 3230, support for the mn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:14:01 +00:00
jjhua
fb73b701f6 support the tabdump(TABLENAME) in the mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 06:52:45 +00:00
linggao
3413ba4568 added switches.protocol for running xdsh for swithes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 21:11:29 +00:00
linggao
933b5e0983 added explicit tag in switches.sshusername to indicate that the username is for telnet. This will improve the performance for xdsh to switches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 20:39:43 +00:00
jjhua
8c01f8c93f some minor changes about the the and syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14556 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 08:25:49 +00:00
jbjohnso
f18bfe62e7 Recall the 'CLI' user/pass in order to facilitate case where cli and ipmi passwords mismatch (not recommended, but might as well implement it)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 15:31:23 +00:00
xq2005
d60b6b955a defined(%hash) and defined(@array) are deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:06:20 +00:00
xq2005
33f1f5e80d defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:03:30 +00:00
xq2005
c82f125bf3 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 08:58:36 +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
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
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
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
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
linggao
d3a3b4d526 more on xdsh to ethernet switches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 17:21:35 +00:00
linggao
92414fbcd1 added support for xdsh to ethernet switches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 22:03:57 +00:00
zhaoertao
9ab8ee6cb6 rename dfmdispatch to hwctrldispatch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 06:08:41 +00:00
zhaoertao
bf31543b8f add attribute 'dfmdispatch' for site table to enable or disable the DFM hdwr_ctrl dispatch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 03:32:39 +00:00
jbjohnso
5f050f6a49 Instead of randomizing each retry, just randomize the first to get things spread out then do the triangular progression timeout
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:36:04 +00:00
xq2005
cf9050c8b3 fix partition script error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 08:29:42 +00:00
jbjohnso
7b2b6d9d2c Apply another algorithm to avoid sequence number reuse as much as possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-04 17:25:38 +00:00
jbjohnso
6464143589 Have IPMI.pm explicitly not expect cmd netfn after receiveng cmd/netfn response
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-04 17:25:25 +00:00
jbjohnso
49b78de893 Improve reliability of duplicate response detection phase 1, also check netfn and command match
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 13:37:46 +00:00
jjhua
05f66ec8fc pre-create mypostscript enhancement: remove the old mypostscript. if site.precreatemypostscripts=0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 07:03:44 +00:00
jjhua
300de0daf0 pre-create mypostscript enhancement: move mkdir out of the nodes loop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 06:55:05 +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
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
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
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
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
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
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