You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
I have script which can successfully build a vApp, add multiple VMs in and update CPU/RAM and Guest OS Customization. However, I am unable to update the existing NIC of the VMs to Manual mode with a static IP. I receive the following error: "HTTP 400 Bad Request - cvc-complex-type.2.4.d: Invalid content was found starting with element 'IpAddress'. No child element is expected at this point"
I have tested out adding a new NIC and then deleting the old one which does seem to work. However, it just adds extra steps in my script which begins to add up as this may end up deploying 7 or more servers at a time. I also wanted to see if I am doing something wrong or if this is a known issue before committing to that path.
My code for adding the building the vapp through updating the NIC is below:
Describe the bug
I have script which can successfully build a vApp, add multiple VMs in and update CPU/RAM and Guest OS Customization. However, I am unable to update the existing NIC of the VMs to Manual mode with a static IP. I receive the following error:
"HTTP 400 Bad Request - cvc-complex-type.2.4.d: Invalid content was found starting with element 'IpAddress'. No child element is expected at this point"
I have tested out adding a new NIC and then deleting the old one which does seem to work. However, it just adds extra steps in my script which begins to add up as this may end up deploying 7 or more servers at a time. I also wanted to see if I am doing something wrong or if this is a known issue before committing to that path.
My code for adding the building the vapp through updating the NIC is below:
Reproduction steps
Expected behavior
NIC updates successfully.
Additional context
My vCloud Director build is 10.2.2.18686238 and I am using API 35.0 when the script is run. pyvcloud version is Version: 23.0.3.
The text was updated successfully, but these errors were encountered: