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
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