Commit Graph

1478 Commits

Author SHA1 Message Date
jbjohnso
88b03ab604 -Record clonevm results in vmmaster table for vmware cloning
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 19:43:09 +00:00
jbjohnso
056876860a -Support switching models on the VM nics in vmware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7339 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 18:12:41 +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
daniceexi
507590ec10 fix an issue that get averageDC has problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 06:02:08 +00:00
jbjohnso
881bce3117 -Implement clonevm -t for vmware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7328 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-31 20:53:55 +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
phamt
45dc77072e Add cloning support for FBA (9336) volumes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-31 19:51:06 +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
sjing
4998097d67 support -?
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-31 06:43:23 +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
xq2005
245bf447ab delete the dependence on xcat-rmc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-27 01:45:43 +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
078f3fbce1 -Have rinv provide more contextual data in the in-band cross reference key
-have chvm support specification via new key
-have chvm more cleanly handle out of drive conditions (TODO: support adding more scsi controllers if someone asks)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 19:23:25 +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
ligc
366020edfa fix for bug 3052910: add more info when can not get template file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 06:04:23 +00:00
xq2005
3182bfe12e rmc monitor page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 05:16:31 +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
nott
7a4945e149 fix mknimimage -i option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 17:16:04 +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
nott
b4d8b134b2 fix the mkdsklsnode -n option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 13:37:00 +00:00
nott
cc4286dc26 fix the mkdsklsnode -n option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 13:24:36 +00:00
jbjohnso
4b9b522470 -Add a '-d' argument to ddns makedns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 13:13:44 +00:00
phamt
fa40678943 Changed arguments sent to zHCP for adding 9336.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 01:03:40 +00:00
phamt
e3e408a171 Changed arguments sent to zHCP for adding 9336.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-24 20:24:29 +00:00
mellor
e34a6d10c5 added prescript processing to rmdsklsnode for remove action
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-24 17:23:25 +00:00