Feature #3203
closed
- Category set to Compute resources
It seems we might switch to vCloud as well. Since I'm new to vCloud, it would be helpful to at least get some general idea what's what. Please correct me where I'm wrong.
- A VM is always part of a vApp.
- A vApp is a collection of one or more VMs
- vCloud can manage your IPs for you and be the DHCP server
To create a VM, you could do bare metal provisioning but I think there's also some image management using vApps. I'm having a hard time finding information (as always with VMware), so any additional information would be helpful.
- Assignee set to Adam Heinz
- Translation missing: en.field_release set to 2
I have fog 1.18 up and running on a CentOS 6 box using the ruby193 software collection. I've been experimenting with it from the command line, but haven't been able to instantiate anything smaller than a vApp. Inspecting
VcloudDirector.organizations.first.catalogs.first.catalog_items.first
in fog, the vApp template is opaque, preventing me from instantiating an individual VM. I am able to add virtual machines to a vApp from the web app, but this functionality might not be available in the API. Reading through the
vCloud API Programming Guide for vCloud Director 5.5 hasn't provided any enlightenment.
- Status changed from New to Closed
- Translation missing: en.field_release deleted (
2)
After thorough review of the documentation and experimentation, I don't think this integration is feasible. Perhaps the necessary functionality will be added to the vCloud API in some version after 5.5, but it is not currently possible to instantiate a single virtual machine without some sort of horrific clone+recompose+recompose daisy chain.
This would be almost hackish but would work for single-vm apps. It would be interesting to map an application definition to a 'vapp' equivalent in Foreman. We currently use 30+ different app/db servers (each with its own hostgroup/puppet classes/etc) and this constitutes a single application in line with what VMware calls a vapp. They are logically separated by a parent hostgroup. For us adding a VM to a 'vapp' means adding a new VM to a 'hostgroup' parent or parent's child (i.e. if we add a new cluster member to a 'prd/cluster' child it means adding a new vm to vapp 'prd'.
I don't know if this model can be extended onto a vapp via fog (or if any of the other compute resources have a similar definition on a application group like a vapp) or if this is even a feature that would be in line with what Foreman is trying to accomplish.
Also available in: Atom
PDF