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
Address ranges can not parse fields with underscore correctly (ULA_PREFIX becomes ULAPREFIX as we're marshalling the go struct by field name as opposed to the XML fields here. Leading to the address range being created, but never read correctly, so the creation never completes.
Address ranges is setting ula_prefix to the global_prefix value here
Description
There are three issues with IPv6 support:
ULA_PREFIX
becomesULAPREFIX
as we're marshalling the go struct by field name as opposed to the XML fields here. Leading to the address range being created, but never read correctly, so the creation never completes.ula_prefix
to theglobal_prefix
value hereTerraform and Provider version
Terraform v1.9.4
on darwin_arm64
Affected resources and data sources
opennebula_virtual_network_address_range
opennebula_virtual_router_nic
Terraform configuration
Expected behavior
Setting an AR for IPv6 with SLAAC should work
It does not because:
ula_prefix
field is not parsed correctly upon reading the field on create (see here)ula_prexix
will always show as missing in the plan as currently it is set toglobal_prefix
upon read (see here)Setting Static IPV6 for Vrouter
Similarly to this issue, we should allow to set IPv6 static IPs via the vrouter nic
Actual behavior
Creating a
IP4_6
address range leads to the AR being created but terraform never acknowledge it so it keeps retrying (thus creating the AR many time).Steps to Reproduce
See added tests in PR.
Debug output
No response
Panic output
No response
Important factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: