-
Notifications
You must be signed in to change notification settings - Fork 77
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
[ECS][IMPORT] opentelekomcloud_compute_instance_v2 seams to not work with multiple Subnet in VPC #1039
Comments
@Moep90 We query ECSv2 instance and we have only |
@lego963 Then the OTC may would open an internal issue about it? |
@Moep90 sorry, I'm wrong and we will fix it |
[ECS] Add possibility to query NICs info What this PR does / why we need it Add possibility to query info about NICs Which issue this PR fixes Fixes: #149 Refers to: opentelekomcloud/terraform-provider-opentelekomcloud#1039 Acceptance tests === RUN TestServerList --- PASS: TestServerList (2.67s) === RUN TestServerLifecycle servers_test.go:37: Attempting to create ECSv2 servers_test.go:76: Created ECSv2: 4ba882dd-21fc-4755-b79b-24f5b365485c servers_test.go:108: Attempting to update ECSv2: 4ba882dd-21fc-4755-b79b-24f5b365485c servers_test.go:118: ECSv2 successfully updated: 4ba882dd-21fc-4755-b79b-24f5b365485c servers_test.go:87: Attempting to delete ECSv2: 4ba882dd-21fc-4755-b79b-24f5b365485c servers_test.go:105: ECSv2 instance deleted: 4ba882dd-21fc-4755-b79b-24f5b365485c --- PASS: TestServerLifecycle (149.57s) PASS Process finished with the exit code 0 Reviewed-by: None <None> Reviewed-by: Anton Sidelnikov <None>
[ECS] Fix issue with multiple networks Summary of the Pull Request Fix issue with reading networks in resource/opentelekomcloud_compute_instance_v2 Fixes: #1039 PR Checklist Refers to: #1039 Tests added/passed. Documentation updated. Schema updated. Acceptance Steps Performed === RUN TestAccComputeV2Instance_basic --- PASS: TestAccComputeV2Instance_basic (140.33s) === RUN TestAccComputeV2Instance_multiSecgroup --- PASS: TestAccComputeV2Instance_multiSecgroup (149.64s) === RUN TestAccComputeV2Instance_bootFromImage --- PASS: TestAccComputeV2Instance_bootFromImage (79.78s) === RUN TestAccComputeV2Instance_bootFromVolume --- PASS: TestAccComputeV2Instance_bootFromVolume (78.77s) === RUN TestAccComputeV2Instance_changeFixedIP --- PASS: TestAccComputeV2Instance_changeFixedIP (80.90s) === RUN TestAccComputeV2Instance_bootFromVolumeVolume --- PASS: TestAccComputeV2Instance_bootFromVolumeVolume (100.41s) === RUN TestAccComputeV2Instance_stopBeforeDestroy --- PASS: TestAccComputeV2Instance_stopBeforeDestroy (126.18s) === RUN TestAccComputeV2Instance_metadata --- PASS: TestAccComputeV2Instance_metadata (137.88s) === RUN TestAccComputeV2Instance_timeout --- PASS: TestAccComputeV2Instance_timeout (87.94s) === RUN TestAccComputeV2Instance_autoRecovery --- PASS: TestAccComputeV2Instance_autoRecovery (127.58s) === RUN TestAccComputeV2Instance_crazyNICs --- PASS: TestAccComputeV2Instance_crazyNICs (231.48s) === RUN TestAccComputeV2Instance_initialStateActive --- PASS: TestAccComputeV2Instance_initialStateActive (215.49s) === RUN TestAccComputeV2Instance_initialStateShutoff --- PASS: TestAccComputeV2Instance_initialStateShutoff (287.69s) PASS Process finished with the exit code 0 Reviewed-by: None <None> Reviewed-by: Anton Kachurin <katchuring@gmail.com> Reviewed-by: Rodion Gyrbu <fpsoff@outlook.com>
No testing regarding importing of resources? |
@Moep90 we've tested import with multiple networks and it was green. We will release soon new version. |
@lego963 manually I guess? |
ah ok, didn't found them...sorry! |
Version
Import doesnt work with having a SINGLE interface on the ECS but having multiple VPC-Subnet in the VPC where I try to import it.
Network
I have somethink like this as Network:
ECS Instance
The instance looks like:
I double checked that the Instances is (for real) only connected to ONE network...
Import try
@outcatcher
API
API Response is like:
Originally posted by @Moep90 in #1023 (comment)
The text was updated successfully, but these errors were encountered: