Commit Graph

152 Commits

Author SHA1 Message Date
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
jbjohnso
0ecfd253eb Don't try changing listen parameters on getrvidparms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:10:54 +00:00
jbjohnso
279ab6c075 Stop updating vm table for now, data unusably instable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:09:24 +00:00
jbjohnso
6ce2f057cb Attempt to have a kvm VM protected from start by password on wvid
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:08:22 +00:00
jbjohnso
568137b2ca Attempt to secure wvid with temporary passwords
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:06:50 +00:00
jbjohnso
efa0d66e71 Add audio and autoport to KVM guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 18:11:00 +00:00
jbjohnso
3e9de10d4a Correct syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 15:06:16 +00:00
jbjohnso
539282a4d2 Fix offline update of optical media in KVM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 15:02:34 +00:00
jbjohnso
94925d7101 Work on chvm change of optical media
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 13:40:46 +00:00
jbjohnso
7a942ea926 Add empty optical drives to KVM guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 17:40:04 +00:00
jbjohnso
d729bbbab1 Correct parentheses balance in last feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-29 15:25:00 +00:00
jbjohnso
13e473d40d Allow specifying vidmodel/protocol in KVM guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-29 15:20:12 +00:00
jbjohnso
d696100009 Protect all calls to refresh storage pools with eval to avoid total failure when cloning or similar stuff blocks refresh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-15 14:37:57 +00:00
linggao
05364d326b common code for vlan configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-18 20:01:39 +00:00
jbjohnso
280759cf23 -Fix order of mounting datastores to allow for resolving linked dependencies that cross datastores
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-28 19:32:12 +00:00
jbjohnso
0c53211ec0 -First pass of basic arbitrary directory uri support for vm.storage in kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-16 22:39:10 +00:00
jbjohnso
65c126eeed -Skip makedhcp on kvm and esx when dhcpsetup suggests it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-20 18:41:08 +00:00
jbjohnso
92ebc7a796 Handle mac address generation for clonevm more similarly to mkvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-27 19:08:15 +00:00
jbjohnso
0fe24d95bd -Port 2.5 fixes for kvm plugin forward
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-27 17:56:50 +00:00
jbjohnso
6f8c254883 -Fix broken clones
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-24 14:24:05 +00:00
jbjohnso
c9933c75e8 Fix getNodeUUID in kvm plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-24 14:09:32 +00:00
jbjohnso
702aaacec9 -Fix for clonevm when a master has never been given a uuid
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-22 19:16:08 +00:00
jbjohnso
22ba7a0f7c -kvm plugin add missing --cpus and --mem processing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-21 19:35:36 +00:00
jbjohnso
835481f675 -Have kvm plugin also support mkvm --cpus and --mem
-Update chvm syntax on kvm to match vmware
-Add link to vmmaster table to man page, it should work..


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 14:37:20 +00:00
jbjohnso
cce0debccf Make bootorder fixup on rpower work in kvm again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-02 18:46:35 +00:00
jbjohnso
9a45c6177c -Fix typo in kvm plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 12:58:47 +00:00
jbjohnso
4325e273c7 -Backout nodetype.os hinting for KVM hypervisor detection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7333 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 12:42:08 +00:00
jbjohnso
9eed4ac10f -Assure that the vm.master field is set after clonevm tethers a vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-31 20:02:12 +00:00
jbjohnso
80bcccc1eb -Implement detach in clonevm -b for kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-31 16:11:36 +00:00
jbjohnso
149e7eeae6 -Chase down master storage prereqs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-31 15:01:24 +00:00
jbjohnso
efb2a9b5a4 -Working clonevm for both directiors for kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-30 21:01:35 +00:00
jbjohnso
f6b9fc6a5f -Switch to common getMacAddress code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-30 19:45:10 +00:00
jbjohnso
c128792e1f -Refactor clonevm a tad, start clone_vm_from_master, fix get_storage_pool_by_path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-30 19:41:37 +00:00