Commit Graph

1274 Commits

Author SHA1 Message Date
jbjohnso
613b60aef2 -Fix mistakes in requestMacAddresses VMCommon function
-Refactor kvm plugin to use VMCommon code


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-28 00:50:14 +00:00
jbjohnso
5f95a1f76c -Change some table value setting code to use the improved, faster setNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-27 18:55:13 +00:00
jbjohnso
b5f6186f68 -Change destiny plugin to more efficiently set values en masse using enhanced setNodesAttribs call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-27 17:12:09 +00:00
wuzhy
5de5e5e500 Update the file for support rpower/rcons for HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-27 08:36:35 +00:00
wuzhy
27d7c1a733 Modify it to support rpower/rcons for HMC on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-27 08:26:24 +00:00
mxi1
c542b8da9c web_lscondition, lsresponse, lscondresp are changed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-26 07:32:07 +00:00
nott
6cb367420f Add the -m option to the xcataixpost call.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4669 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-25 16:29:21 +00:00
wanghuaz
ba69e92a50 fixed defect 2898964. without the full path name, runcmd in Utils.pm doesn't return
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-25 13:08:05 +00:00
nott
79512954ba Add new options for rmnimimage.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 20:00:59 +00:00
mellor
2aa3876007 enhance plugin processing to ensure correct table-driven plugin is called, moved common usage preprocessing to new plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 15:12:39 +00:00
cridye
20a3572b06 fixes xen HVM creation (this was broken by new libvirt, perhaps?)
adds xen paravirtualized guest support (requires modified pypxeboot, and modified udhcpc to work.  see forthcoming docs)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 00:03:45 +00:00
cridye
25138a3e6b anaconda.pm: use copy if newer for tftp files. greatly reduces the likelyhood of truncating files while they are being read with tftp. otherwise, this happens frequently when xcat is being controlled programmatically
Common.pm: add copy_if_newer utility function


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 23:18:20 +00:00
cridye
dc010e96fa esx.pm: fix for duplicatenamefault on datastore connection. involves a weird corner case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 23:11:16 +00:00
cridye
fc37e3ea2f kvm.pm: clean up error handling for programmatic control (i.e. MSM)
Client.pm: clean up warnings in logfile


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 22:30:09 +00:00
jbjohnso
2b438af097 -Change blind retry back to normal retry interval. This slows down the case
where close session succeeds but reply is dropped, but is more resistant
to a scenario where a significant network outage actually prevents logout.
When the actual logout is prevented, the bad state is transient, but can persist for about a minute, so work to avoid it


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 19:04:31 +00:00
jbjohnso
1ddd71f7f0 -Sanitize responses from plugins if they throw non-printable characters that are invalid in XML parsing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 18:57:20 +00:00
mellor
403f1ee57d fixed uninitialized var bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 18:00:40 +00:00
ligc
af1cd4333f set nfs_use_reserved_ports=1 for mixed cluster Linux MN=>AIX node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 10:59:29 +00:00
ligc
413179dbb8 use full path when running replaycons on the conserver host through ssh command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 07:11:29 +00:00
jjhua
be850c8f9f fixed 2898930
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 02:31:53 +00:00
jbjohnso
ee8b25b822 -Add support for different cloning methods and image formats to kvm
-Change default format to 'raw' for performance
-Add support for storage server side cow cloning via 'cp --reflink' (requires btrfs to work)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-22 19:41:52 +00:00
jbjohnso
76b5a8eb31 -Explicitly instruct SSL to do inet4 only if our ipv6 support checks fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 17:44:46 +00:00
jbjohnso
37c9472acb -Enable SNMPv3 explicitly rather than assuming the dafult is on (defect 2899181)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 17:34:17 +00:00
jbjohnso
b5a0734ed1 -Fedora 12 x86_64 support for stateful deployment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 16:16:53 +00:00
cridye
61faf24e92 fixes for esx plugin mknetboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 22:46:26 +00:00
linggao
5f3a8c839a fixed defect that usage statement does not get print out by the hw commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 20:44:07 +00:00
nott
82bb3ea630 Add updatenode hack to take care of starting xcatd daemon.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 18:44:04 +00:00
ligc
d3897c07b1 fix a perl syntax error in conserver.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 01:31:07 +00:00
lissav
c6f566c83b remove non-working ulimit command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 20:16:23 +00:00
lissav
8d6fe7c36f fix ulimit problem and wait for mysql daemon to come up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 20:04:20 +00:00
nott
857c5197af Add rmdsklsnode check for running nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4612 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 19:46:30 +00:00
mellor
beffdd517f make xcatd tolerant of syntax errors in plugins, fixed syntax error in conserver.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4611 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 14:51:19 +00:00
nott
7e3bec91ed Fix check for installp packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 14:30:47 +00:00
wanghuaz
3fe8a2d793 fixed defect 2898964.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 12:24:20 +00:00
ligc
cb8c94d359 consolidate the three duplicate subroutines thishostisnot into xCAT::Utils
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 08:55:05 +00:00
daniceexi
1a32e4fe24 defect: 2898961: remove the redundant error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 06:51:59 +00:00
ligc
d7dad95021 conserver hierachy support code drop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4595 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 06:23:56 +00:00
jbjohnso
b84488b022 -Move ipmi2.pm to a different name to not explicitly messu p 2.4 builds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-17 22:10:28 +00:00
nott
bf54282d04 Check for file list file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4592 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-17 18:53:10 +00:00
jbjohnso
f7b1d1b1ea -have 'virtualization' as an 'app' in appstatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-17 18:41:42 +00:00
jbjohnso
9dbf6d73c4 -Fix for iscsi installs without xNBA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4583 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-16 15:39:38 +00:00
ligc
4000d20cb7 mixed cluster support code drop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-16 09:03:34 +00:00
jbjohnso
8dc8940d26 -Temporary plugin for refactoring IPMI support and adding RMCP+
THIS IS NOT USABLE AND WILL REPLACE ipmi.pm IF IT EVER BECOMES USABLE


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4578 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-15 16:45:34 +00:00
jbjohnso
e6c43d9bd8 -Change to CLI style output of Anaconda installers.
-Less 'garbase' in console logs


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-15 16:44:33 +00:00
nott
e0c6884108 remove hpblade.pm, hpilo.pm, and hpoa.pm from AIX build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 20:00:31 +00:00
jbjohnso
124bbda40c -Fix override of plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4568 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 19:51:33 +00:00
nott
23fcb42679 fix check for rpm and installp flags
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 14:55:25 +00:00
daniceexi
065eb30d5e defect 2894479: set install as the default value of nodesetstate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 14:06:44 +00:00
wanghuaz
06aaca242e Remove useless code in last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 13:32:33 +00:00
wanghuaz
a8013ef8ef fixed the lsslp issue that it is possible to append -1,-2 to the existing hostname in /etc/hosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 12:56:37 +00:00