Commit Graph

69 Commits

Author SHA1 Message Date
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
jbjohnso
8d04e4c953 -Change revacuate command to use hypervisor attribute instead of vm guest attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-19 18:16:07 +00:00
jbjohnso
c9ae7831ad -Allow mkvm to proceed without guests having to be allocated to hypervisors for KVM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-04 16:17:12 +00:00
lissav
d2d77a54c8 remove linux check around ::Simple::PREFERRED_PARSER='XML::Parser'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-30 19:42:29 +00:00
lissav
01bec082cc update with use of _xcatpreprocessed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 15:10:54 +00:00
jbjohnso
078aca4c5c -Correct typo in a SLES11 template.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-17 16:35:54 +00:00
jbjohnso
640f050de6 -Fix problems where destroyed domains would be queried incorrectly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-13 13:16:58 +00:00
jbjohnso
dfec5246f8 -Fix extraneous output on power request that does no change for kvm guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-13 13:14:46 +00:00
jbjohnso
7b67891f42 -Enable virt-viewer usage for KVM guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-10 14:09:03 +00:00
jbjohnso
c7eef76b48 -Be more specific about libvirt URI
-Return the URI to getrvidparms for different rvid approach


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-10 13:53:39 +00:00
jbjohnso
0c090a4e69 -Remove some debug output
-Use Sys::Virt to execute migration now that it is implemented, catching and displaying more error conditions


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-10 13:39:57 +00:00
jbjohnso
1b798c9b39 -Ensure that kvm has Sys::Virt 0.2.0 module installed, will start using features only in 0.2.0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-09 14:10:38 +00:00
jbjohnso
21e2d129ad -Fix child handler order of operations in child reaper that caused hangs on management commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-07 18:42:57 +00:00
jbjohnso
39a82b35b2 -Make analagous fixes to virtualization plugins that were made to ipmi and blade plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 19:12:56 +00:00
linggao
2779f579e1 performance tuning for node status updating for ipmi, blade,PPC, xen and kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 02:56:58 +00:00