Troubleshooting
If you use OpenStack Terraform Provider for migration, an issue with the default security group name may occur.
In a project with two SDNs (Neutron and Sprut), networks have a default security group named default.
OpenStack Terraform Provider works only with security group names, not IDs. This causes a conflict because the provider cannot uniquely determine which default security group to use.
-
Use the VK Cloud terraform-provider as it allows using IDs for security groups.
-
Change the security group name in the Terraform code:
- When creating a VM, specify the
defaultsecurity group in the manifest. The VM will be created successfully, but when executing theterraform plancommand, thedefault-sprutsecurity group will be returned, and the state file will not be able to update. - Manually change the security group to
default-sprutin the manifest.
- When creating a VM, specify the
-
Fully migrate the project to the Sprut SDN, then disable the Neutron SDN in the project by contacting technical support.
-
If virtual machines are rarely created, change the state file manually. Specify
security group = "default-sprut"in the state file and save it. -
Do not use default security groups.