pyvcloud
pyvcloud copied to clipboard
OperationNotSupportedException when create edge gateway
I'm trying to create en edge gateway with passing external network as the only argument (others are default). The call to vdc.create_gateway_api_version_32() throws OperationNotSupportedException. Debug the code, it seems the link for the operation cannot be retrieved in client.find_link() and result in MissingLinkException.
The account I used is the sys admin. And I can create an edge gateway in the vCloud portal successfully, however the vCloud portal seems to use OpenAPI instead of the Legacy (I saw that via the Chrome debugger tool).
The same result when I used vcd_cli (which uses pyvcloud underlying) with command: vcd gateway create gateway1 --external-network external-net1 --gateway-type NSXT_BACKED/NSXV_BACKED/NSXT_IMPORTED error: Operation is not supported
I am seeing same issue both with CLI and API call.
@tiendc I am experiencing same issue. Did you able to find fix or workaround?
I have the same issue :/