-
Notifications
You must be signed in to change notification settings - Fork 69
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
Fix issue provisioning to a VM Network from a DVS #11
Conversation
When provisioning a VM from a template that has a NIC on a DV Portgroup to a regular VM network the NIC backing isn't reset, just the network name is set. This causes the new NIC to be put on the populated portgroup port and the provision will fail.
cc @gmcculloug I ran in to this while testing #10 and thought I broke something but its an issue on master also 😄 |
c446f6e
to
d0a8752
Compare
Without this change the new spec test will fail with:
because the backing wasn't actually getting reset, just the |
This changes the Are there any possible side effects to this change or should users not see any difference? |
The only side-effect I can imagine would be expecting some property of the backing to be inherited from the template where now it is getting overwritten. This shouldn't be an issue because the two backing types (VirtualEthernetCardDistributedVirtualPortBackingInfo and VirtualEthernetCardNetworkBackingInfo) share 0 common properties |
@blomquisg can you review? |
ping @blomquisg |
Automate - Notification for Quota Exceeded.
When provisioning a VM from a template that has a NIC on a DV Portgroup to a regular VM network the NIC backing isn't reset, just the network name is set but the rest of the dvportgroup settings are still there. This causes the new NIC to be put on the populated
portgroup port and the provision will fail.