terraform-provider-bigip-version0.12 icon indicating copy to clipboard operation
terraform-provider-bigip-version0.12 copied to clipboard

[Feature Request] Acceptance test to support Single NIC VE

Open nmenant opened this issue 5 years ago • 0 comments

Right now our acceptance tests will generate some error messages when working on a single NIC VE:

--- FAIL: TestAccBigipNetroute_create (2.20s) testing.go:569: Step 0 error: errors during apply: Error: Error creating VLAN /Common/test-vlan: HTTP 400 :: {"code":400,"message":"01071b91:3: /Common/test-vlan: Internal VLAN can't be modified manually while DHCP is true. Within tmsh run 'modify sys global-settings mgmt-dhcp disabled' before manually changing the internal VLAN.","errorStack":[],"apiError":3} on /var/folders/rx/nbj6n5_92s33ll40tp3xcpx13pnf4t/T/tf-test104006878/main.tf line 3: (source code not available) === RUN TestAccBigipNetroute_import --- FAIL: TestAccBigipNetroute_import (1.98s) testing.go:569: Step 0 error: errors during apply: Error: Error creating VLAN /Common/test-vlan: HTTP 400 :: {"code":400,"message":"01071b91:3: /Common/test-vlan: Internal VLAN can't be modified manually while DHCP is true. Within tmsh run 'modify sys global-settings mgmt-dhcp disabled' before manually changing the internal VLAN.","errorStack":[],"apiError":3} on /var/folders/rx/nbj6n5_92s33ll40tp3xcpx13pnf4t/T/tf-test883176896/main.tf line 3: (source code not available) === RUN TestAccBigipNetselfip_create --- FAIL: TestAccBigipNetselfip_create (1.39s) testing.go:569: Step 0 error: errors during apply: Error: Error creating VLAN /Common/test-vlan: HTTP 400 :: {"code":400,"message":"01071b91:3: /Common/test-vlan: Internal VLAN can't be modified manually while DHCP is true. Within tmsh run 'modify sys global-settings mgmt-dhcp disabled' before manually changing the internal VLAN.","errorStack":[],"apiError":3} on /var/folders/rx/nbj6n5_92s33ll40tp3xcpx13pnf4t/T/tf-test218670322/main.tf line 2: (source code not available) === RUN TestAccBigipNetselfip_import --- FAIL: TestAccBigipNetselfip_import (3.65s) testing.go:569: Step 0 error: errors during apply: Error: Error creating VLAN /Common/test-vlan: HTTP 400 :: {"code":400,"message":"01071b91:3: /Common/test-vlan: Internal VLAN can't be modified manually while DHCP is true. Within tmsh run 'modify sys global-settings mgmt-dhcp disabled' before manually changing the internal VLAN.","errorStack":[],"apiError":3} on /var/folders/rx/nbj6n5_92s33ll40tp3xcpx13pnf4t/T/tf-test493594356/main.tf line 2: (source code not available) testing.go:569: Step 0 error: errors during apply: Error: Error creating VLAN /Common/test-vlan: HTTP 400 :: {"code":400,"message":"01071b91:3: /Common/test-vlan: Internal VLAN can't be modified manually while DHCP is true. Within tmsh run 'modify sys global-settings mgmt-dhcp disabled' before manually changing the internal VLAN.","errorStack":[],"apiError":3} on /var/folders/rx/nbj6n5_92s33ll40tp3xcpx13pnf4t/T/tf-test377246790/main.tf line 2: (source code not available) === RUN TestAccBigipNetvlan_create --- FAIL: TestAccBigipNetvlan_create (3.21s) testing.go:569: Step 0 error: errors during apply: Error: Error creating VLAN /Common/test-vlan: HTTP 400 :: {"code":400,"message":"01071b91:3: /Common/test-vlan: Internal VLAN can't be modified manually while DHCP is true. Within tmsh run 'modify sys global-settings mgmt-dhcp disabled' before manually changing the internal VLAN.","errorStack":[],"apiError":3 on /var/folders/rx/nbj6n5_92s33ll40tp3xcpx13pnf4t/T/tf-test965654888/main.tf line 2: (source code not available) === RUN TestAccBigipNetvlan_import --- FAIL: TestAccBigipNetvlan_import (2.31s) testing.go:569: Step 0 error: errors during apply Error: Error creating VLAN /Common/test-vlan: HTTP 400 :: {"code":400,"message":"01071b91:3: /Common/test-vlan: Internal VLAN can't be modified manually while DHCP is true. Within tmsh run 'modify sys global-settings mgmt-dhcp disabled' before manually changing the internal VLAN.","errorStack":[],"apiError":3} on /var/folders/rx/nbj6n5_92s33ll40tp3xcpx13pnf4t/T/tf-test413680858/main.tf line 2: (source code not available)

With a single NIC VE. You can't really manipulate interface 1.1 and the tests fails.

If we can't support both config by default, we should document how to update the test plan to work with multi nic or single NIC ve

nmenant avatar Dec 26 '19 14:12 nmenant