-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vSphere vm_clone a template to another datacenter/resource pool #2233
Comments
@MarcGrimme - could you take a look? Thanks! |
From the documentation I read the following:
Looks like it doesn't work over datacenters. I don't know if it would be possible to use VSphere API to clone from one DC to another (might have some difficult requirements). I could check if this is possible anyways. Hope that helps |
Hi @MarcGrimme thanks for the info. In the vSphere web GUI, it's pretty trivial to clone a template to a VM in any cluster, regardless of DC, so I'd be surprised if it wasn't straightforward in the API, but you never know :). I think the datacenter option in https://github.com/fog/fog/blob/master/lib/fog/vsphere/requests/compute/vm_clone.rb#L97 ...so it could just be a matter of specifying a destination datacenter separately. I'll spend some time looking into it and will report back. |
I'm closing this due inactivity. @snobear Please comment here if you have more feedback about it. |
Thanks! On Fri, Nov 21, 2014 at 2:33 PM, Paulo Henrique Lopes Ribeiro <
|
+1 This would be a great feature to have! |
Is it possible to clone a template to a VM in another datacenter? I have a vm template that exists in datacenter "Foo" and I'd like to deploy a VM from that template to datacenter "Bar". I'm able to clone to datacenter "Foo", presumably because its the same datacenter where the template resides.
From reading the docs, it seems like
resource_pool
is the option to use for specifying the destination? Here's what I'm trying:This results in:
Leaving off the
resource_pool
option, it clones successfully to the same datacenter, so as I said no problem there.I'm sure that Bar and Bar Cluster exist, to I'm not sure what I'm doing wrong. Let me know if I can grab some debug info.
Great work on fog and thanks for the help.
The text was updated successfully, but these errors were encountered: