Commit Graph

184 Commits

Author SHA1 Message Date
daniceexi
9b89fdcc07 defect 3588: For rpower reset on kvm, in the case persistkvmguests is enabled, check the domain is inactive before resetting the domain 2013-10-24 08:59:03 -04:00
immarvin
7dd70c12d2 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-16 00:06:25 -07:00
Jarrod Johnson
0995a924dc Do sparse allocation for non-lvm raw format images 2013-08-09 10:31:26 -04:00
Jarrod Johnson
020889ad3c Implement vm.storagecache and vm.storageformat
It has been requested to make these tunables available since different storage schemes
can benefit greatly from them
2013-08-08 16:26:00 -04:00
xq2005
3f56f0775e xhrm_satisfy getting vlan information from nics table 2013-08-05 01:50:29 -07:00
immarvin
16e0d2179a update node provision status based on the feedback of nodes instead of rpower/rnetboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 04:59:44 +00:00
immarvin
869ae04a45 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2013-06-27 04:55:39 +00:00
jbjohnso
aedb671f1b Have kvm update vm.memory if chvm is called
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 18:45:52 +00:00
jbjohnso
aba2b94d5c Recognize some common variants on chvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 18:45:45 +00:00
jbjohnso
52a0a5a4f4 Serial console and vdagent support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 18:50:03 +00:00
jbjohnso
07da4182ab Should someone decide to switch from generated to static password on vm(s), remove expiry if present
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 19:52:21 +00:00
jbjohnso
f5e89691d4 Actually fix LVM with 6.4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 19:48:48 +00:00
jbjohnso
962e478345 Fix problem with certain versions of libvirt and lvm storage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 19:28:14 +00:00
jbjohnso
056ee611fd Correct syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 20:16:12 +00:00
jbjohnso
486f8cf81a Apply methodology from previous commit to a number of other places
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 20:11:12 +00:00
jbjohnso
21618dde89 Correct Sys::Virt version check
Fix broken LVM behavior when faced with a pre-built LVM VG/PV (as reported by Michael Fenn)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:43:05 +00:00
daniceexi
a0a6db72ff Fix bug with optional persistence where reset no longer survives
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 02:27:30 +00:00
daniceexi
8bb98b06de Support site key persistkvmguests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 13:19:09 +00:00
jbjohnso
f060cd13cf Have kvm tolerate trailing / on vm.storage dir:// urls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 21:31:08 +00:00
jbjohnso
625bbecc44 On rmvm, do not destroy CDs
On storage block device creation, disable cache for new disks but enable cache for non-detached qcow2 for read cache benefit at the host layer

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 19:37:33 +00:00
jbjohnso
ea6d9f7081 Have KVM storage support default to cache=none for now
Fix lvm to use raw rather than qcow2, since qcow2 makes no sense for LVM

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:09:18 +00:00
jbjohnso
4807663ce6 Have KVM support LVM volumes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:02:09 +00:00
linggao
4ea6bae9a0 fixed a defect for chvm -a
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 16:52:13 +00:00
linggao
014006e510 multi vlan support for kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 20:28:24 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jbjohnso
1104bc50ca Feed UUID little-endian style into libvirt so that it emerges on the other end consistent with SMBIOS 2.6/MS behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 20:00:09 +00:00
jbjohnso
9d1f05f889 Fix kvm.pm not pulling in xCAT::Usage on its own
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-18 19:44:11 +00:00
jbjohnso
c74a8f5469 Allow admins to use more traditional passwords for vnc/spice if they so desire
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-15 14:47:14 +00:00
jbjohnso
6a7b71378e Update kvm plugin to handle issues with later spice protocol and video ram
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-30 22:10:23 +00:00
daniceexi
652775d195 create vm will ignore to create network device when vm.nics is null
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-01 06:24:06 +00:00
jbjohnso
418a3b22f2 Have kvm rmigrate implement rmigrate -f in a way resembling vmware support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-29 20:44:06 +00:00
jbjohnso
347b5878d2 Take opportunity of power reset to change virtual clock behavior if applicable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-29 17:58:47 +00:00
jbjohnso
d56a999b4a Dramatically speed up rmvm for lots of KVM virtual machines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 13:58:40 +00:00
jbjohnso
ad93e349d9 Speed up mass-scale KVM VM adoption
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 13:44:24 +00:00
jbjohnso
f506499ae1 Strip out expensive cached XML data rettrieval if doing lsvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 19:07:40 +00:00
jbjohnso
8c14e5967d Skip expensive table lookup for trivial lsvm case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 17:44:07 +00:00
jbjohnso
6856e705db Use XCATSITEVALS instead of slower table lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 17:29:43 +00:00
jbjohnso
8a04a0ce40 -Reduce kvm supervisory process load by stopping what amounts to a busy wait when child is done sending messages up
-Eliminate call to create a new vm table object in kvm.pm, when it's usually not needed, move to create only when needed.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 15:23:06 +00:00
jbjohnso
0d60102d35 Better handle clonevm storage conflicts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-31 20:52:03 +00:00
jbjohnso
a37ef4e722 Fix problem where storage conflict could hang mkvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-31 20:37:54 +00:00
jbjohnso
23699c150c -Prevent emptical virtual optical drive from messing up rinv
-Honor vm.memory/vm.cpus changes on reset
-Implement chvm --mem to shrink memory on KVM guests (not guaranteed to be effective)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-31 20:29:59 +00:00
jbjohnso
d6174432d2 Fix remote video protocol fixup to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-13 14:28:19 +00:00
jbjohnso
cf27a3ae8d Shorten validity of temporary video tokens for KVM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-12 14:06:14 +00:00
jbjohnso
a6f4e35bb3 Fix wvid hang on KVM guests if guest is off
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-09 16:32:39 +00:00
jbjohnso
42b155260c Fix kvm issues seen in 2.6.0 testing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-06 14:22:18 +00:00
jbjohnso
f52224c4bb Default to open ended listen with the password protection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-03 19:54:08 +00:00
jbjohnso
18d4a1b0bc ensure that video is never wide open
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-03 13:24:11 +00:00
jbjohnso
9b44d29b50 Copy in existing graphics device info as much as possible to avoid config
mismatch on temporary password change


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9471 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-03 13:21:18 +00:00
jbjohnso
2b5f46f583 Lengthen the password a tad
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:18:16 +00:00
jbjohnso
346557fb7c Specify autoport on update to avoid angering the libvirt gods with kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:14:39 +00:00