Commit Graph

83 Commits

Author SHA1 Message Date
jbjohnso
df07aaaf2b -Do offline xml mods for chvm -p on kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 21:04:20 +00:00
jbjohnso
dea2dd3b59 -Correct get_disks_by_userspecs when VM only has one disk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 19:04:52 +00:00
jbjohnso
33551a0e53 -Fix syntax error in command handler registration in kvm plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 18:39:42 +00:00
jbjohnso
af99c0742b -For lsvm and revacuate and rmhypervisor, accept nodetype.os as a sufficient hint as how to proceed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 17:49:54 +00:00
jbjohnso
d88f3e1ffa Fix missing semicolon in last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 15:48:14 +00:00
jbjohnso
0395679e36 -Try to honor the now prefered nicmodel/storagemodel columns in vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 15:42:36 +00:00
jbjohnso
94ba8aedbc -Implement kvm plugin lsvm command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 13:23:19 +00:00
jbjohnso
d85478a0aa -Preserve and use saved XML in more contexts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 12:34:32 +00:00
jbjohnso
936e79a63d -Fix problem where last change was trying to write a processed data structure instead of unprocessed xml to db
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 12:26:17 +00:00
jbjohnso
b1f691433f -Be extra paranoid about data from table call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 18:55:38 +00:00
jbjohnso
4a086b277b -Fix syntax error in kvm plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 18:34:06 +00:00
jbjohnso
2c6d683048 -Start using kvm_nodedata to retain xml of vms when off
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 18:30:41 +00:00
jbjohnso
176aa07948 -Correct chvm behavior in wake of recent changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-30 19:12:45 +00:00
jbjohnso
6f231ccd9c -Fix unbalanced parentheses in last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-30 14:58:49 +00:00
jbjohnso
53e53629fa -Workaround changes in recent libvirt/qemu to not use autodetection for qcow2/raw determination
autodetect was intentionally disabled due to security concerns


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-30 14:53:45 +00:00
jbjohnso
3f6c71ca6d -Cope with libvirt's goofy netfs pool behavior where it won't notice volumes created/deleted behind its back
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-30 12:48:47 +00:00
jbjohnso
3ee15fcb62 -Use libvirt storage management for storage pool fixup on migrate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-22 13:55:50 +00:00
jbjohnso
3c36626195 -Add chvm -p support to kvm (can't do scsi here..)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-21 20:33:50 +00:00
jbjohnso
5c704e8550 -Change pool semantics, have chvm attempt to work, one day it will work live... one day..
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-21 15:23:37 +00:00
jbjohnso
9f4125089d -Have mkvm force adoption before trying to run due to new storage architecture allowed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 17:50:38 +00:00
jbjohnso
d30317d4ed -Have a connsistent UUID to go with url
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6795 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 17:43:15 +00:00
jbjohnso
aa4b378450 -Some code that may one day be chvm for real
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-06 20:52:24 +00:00
jbjohnso
903a7d3d3d -Pull in all known guest related images as disks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-06 14:51:19 +00:00
jbjohnso
dd6675bdab -Another phase of the storage management rework
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-02 20:41:29 +00:00
jbjohnso
e82d2d1f66 -Put in some early bailout on detectable missing storage devices
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-02 19:09:49 +00:00
jbjohnso
ff332dc5f0 -First, broken step to try to use libvirt storage management.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-01 21:03:00 +00:00
jbjohnso
a5182f5839 -Have KVM guests default to the more capable 'vga' adapter rather than cirrus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-17 19:04:36 +00:00
jbjohnso
ecadae75bf -Correct some mistakes in UUID persistence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-16 23:08:49 +00:00
jbjohnso
247849065d -Make persistent UUIDs for KVM guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-16 23:03:33 +00:00
jbjohnso
4499d18915 -Reminder to implement UUID v1 subtype of RFC UUID for enchanced uniqueness guarantee
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-16 18:54:46 +00:00
jbjohnso
c625ed1cac -Remove some debug output and syntax errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-17 15:40:13 +00:00
jbjohnso
f13dc5f225 -Fix bug where stale cached data was used in revacuate causing all vms to erroneously move to a single hypervisor
-document ways to better leverage advanced IO fabrics in evacuation
-reap stale TOD
-update vm.host pointers as migration occurs 


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-15 16:54:06 +00:00
jbjohnso
7e53e77017 -Fix migration in cases where we do not manage or know the IP identity of a guest VM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-11 22:13:54 +00:00
jbjohnso
a1833514d3 -Speed up at-scale VM placement decision making
-Fix possible infinite loop that blocked certain commands


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-02 00:37:04 +00:00
jbjohnso
93474b3a30 -Fix empty disc creation when nfs:// syntax is used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-30 19:51:33 +00:00
jbjohnso
171282e820 -Correct variable names in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-30 18:54:39 +00:00
jbjohnso
02756bea76 -Call makedhcp when mac addresses are generated by virtualization code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-30 18:37:01 +00:00
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
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
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
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
8530ddbb07 -Fix kvm plugin to accept 'net' as a bootorder entry
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-04 16:25:59 +00:00
jbjohnso
14e6023420 -Change memory selection semantics to cope with heterogenous node memory amount
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 23:56:40 +00:00
jbjohnso
b23b0fe66e -Spend less time trying to connect to dead hypervisors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 23:22:04 +00:00
jbjohnso
fa90949bd1 -fix bug where default memory usage in kvm caused imbalanced orphan vm adoption
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 04:30:08 +00:00
jbjohnso
fa59c39e4d -Add vmstatenotify command support to allow xVMA to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 01:45:04 +00:00
jbjohnso
a5529f02c0 -Allow kvm to use nfs uri and non-preconfigured bridges with xHRM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 01:02:01 +00:00
jbjohnso
f0ba078b0d -Allow mkvm to support nfs:// vm.storage directives
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4414 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 00:44:16 +00:00
jbjohnso
a4c1ebcbb2 -Implement KVM offline hypervisor evacuation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-19 22:47:48 +00:00