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
jbjohnso
3d0b3847f7
-Storage pool rework:
...
-Avoid explicit mkdir -p
-Be less picky about directory schemes and names (check underlying info rather than name)
-Avoid '/' in names when xCAT generates name so as not to be problematic with filenames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-30 15:54:22 +00:00
jbjohnso
6bf308338e
-Implement VM rebase after clone to master
...
-Put some notes about prereq resolution and vmclone in two TODO places (denoted by VMCLONE)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-28 14:42:45 +00:00
jbjohnso
e51c984380
-Clear mac addresses when creating a master
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-28 13:54:23 +00:00
jbjohnso
e018ef2e6b
note to remind myself about the rebase feature
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-28 01:48:57 +00:00
jbjohnso
241d47f88d
Change to make the first passing test of clonevm -t
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-28 01:46:50 +00:00
jbjohnso
83ee8fa5db
Small formatting omission fixed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-28 01:38:02 +00:00
jbjohnso
ea176ba3f5
-KVM clonevm actual pass1 or part 1, making a master
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-28 01:31:51 +00:00
jbjohnso
1d4fb98157
remove stray statement from last checkin
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-28 00:07:14 +00:00
jbjohnso
99c824e2f9
-Starting the clonevm implementation in earnest
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-27 23:46:06 +00:00
vallard
133bdbea44
added old method back to handle legacy storage syntax
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7283 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-27 17:27:54 +00:00
jbjohnso
4b02344cfc
-Restore behavior of bootorder updates having an effect at rpower boot/reset/on time
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-27 15:49:11 +00:00
jbjohnso
6e1debe8cd
document TODOs in kvm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-27 13:58:40 +00:00
jbjohnso
09a3d22e62
-Use a more direct approach for getting a storage volume object from a pathname
...
-Have rinv fallback to printing the full pathname in the event the pool relationship cannot be determined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-27 13:27:17 +00:00
jbjohnso
418c08f5a4
-check in some hints on how to do the clonevm stuff in kvm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7269 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 20:46:39 +00:00
jbjohnso
91571216cc
-Add rinv to KVM guests
...
-Have chvm honor more specific rinv output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 18:32:44 +00:00
jbjohnso
67286c7f41
-Expand number of supported disks to add
...
-More cleanly handle adding too many disks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 15:24:48 +00:00
jbjohnso
43ded5fd6b
-Have mkvm populate kvm_nodedata xml for reference
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 14:45:12 +00:00
jbjohnso
b598842e90
Implement rmvm for KVM nodes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 14:01:54 +00:00
jbjohnso
1c1d272a02
-Modify kvm_nodedata table to allow empty xml column
...
-Implement chvm for offline modifications
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 13:16:24 +00:00
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