Hi,
I'm currently doing an evaluation of VMware vCloud Director, in order to see if we can use that for self managed full automatic deployments of vApps by our customers. What we have currently installed and running as proof of concept: VMware products vCenter 5.0 on top of ESXi 4.1, vCloud Director 1.5 and vShield Manager 5.0.
I'm quite surprised by the behaviour when deploying a vApp in an organization cloud, and a virtual machine within the vApp is configured to get its IP address from the defined External Network Static IP pool. I experimented with several combinations, and it looks like I simply get confronted here with a bug? So here is the story:
The use case is that we have made a vApp containing at least one virtual machine that is configured to connect to the organization external network, and must take a free IP address from the External Network Static IP pool. We power on the vApp to see if it is working. And yes, it gets its IP address from the static pool. So far so good, we check if our vApp is working, and we power off the vApp.
Now we want to put that vApp in the organization Catalog, so that the end-users of that organization can deploy by themselves the vApp in their cloud. We have two options when putting the vApp in the Catalog:
So to my perception we have here the following issues/bugs:
So what do you think? Do we have a bug here? Or is there something I overlooked (which is very well possible of course 🙂
Thanks already, with kind regards, Erik Raaijmakers
Bringing this up as there is no solution posted and I am running in to the same issue.
Has anyone come up with a work around or solution to Issue 1. I need to have the mac address reset and the IP address released back to the IP Pool when a vApp is added to the catalog when the "Make Identical Copy" option is selected.
This was fixed in VCD 5.1
Is this documented anywhere? I checked resolved issues in the release notes and did a knowledge base search and nothing turned up. If it is documented somewhere and you could point me to it, that would be helpful.
Thanks
I don't see this specific thing documented anywhere
I experience this behaviour in 5.1 as well.
Hi all,
I believe you're facing some design limitation of the "Customize VM settings" mode which was still the case for 5.1
"Make identical copy" works as expected, since the idea is that captured VM must be exactly the same such that two instances can't co-exist while both powered on. That has its own use-cases like backup. Say you run some DB and configured all clients to its IP. Now you accidentally format hard-drive. But thanks to "identical" copy you can fix that very quickly - just instantiate, power-on and it will reply on same IP as before.
If you don't want that, you should be ideally using "Customize VM settings" mode. The problem is that, as you correctly pointed out, it throws away all networking topology settings.
I'm not aware of any good "automatic" workaround. Thing you may consider are:
1) use REST API which will allow you to pass additional sections for the "instantiate" call where you can provide networking setup
2) export OVF in the so called "loss-less" mode (was added in 5.1) which will produce OVF with network sections describing all details of the setup including topology, IP and MAC addresses. You may need to manually remove IP addresses from it, but maybe you can do without it - needs to be tested. The idea is to import back into VCD and UI (and REST API) may actually repopulate some of the networking info. Again needs to be tested. If it works, maybe this will be a better solution for you.
Hope that helps.
/Andrii
Thanks for the response aneverov.
I work for a University and our use case is as follows:
A Faculty member creates a vApp to use in a lab for courses. We want this vApp to be as generic as possible so that students can log in to vCloud Director and deploy this vApp in as few steps as possible. We want to provide students access to the machines with as few steps as possible while also providing Facutly with the ability to create vApps and add them to the catalog for use by students.
I understand that we can use the API to automate some of this work, but in my use case, adding layers and customizations to our installation eliminates the self service features for Faculty and Student use.
This may be something to consider for enhancements for future releases.
Thanks!