R5.0.1 - multicloud :: Azure :: other than US West 2, resource creation fails in all other regions.

Bug #1784824 reported by Ritam Gangopadhyay on 2018-08-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Critical
Sanju Abraham
Trunk
Fix Committed
Critical
Sanju Abraham

Bug Description

15adb58bab88:~/multicloud# terraform apply -auto-approve

Error: Error asking for user input: 1 error(s) occurred:

* azurerm_network_security_group.allow_all_WestUS2: configuration for provider.azurerm.WestUS2 is not present; a provider configuration block is required for all operations

15adb58bab88:~/multicloud#

topology file:-

- provider: azure
  organization: Juniper
  project: multicloud
  regions:
    - name: WestIndia <<<<<<<<<<
      resource_group: contrail-test-west-india <<<<<<<<<<
      clouds:
        - name: rg-vpc-1
          cidr_block: 192.169.100.0/24
          subnets:

Seems US WEST 2 is hardcoded for security group rules.

information type: Proprietary → Public
tags: added: beta-blocker
tags: removed: beta-blocker
Ritam Gangopadhyay (ritam) wrote :

Workaround :-

delete the objects under the resource_group of the region and generate tfstate file and do terraform apply. This will cleanup everything under that region.

tags: added: releasenote
Ritam Gangopadhyay (ritam) wrote :

The workaround mentioned in this bug is actually the right way to delete any resource_group / region.

Sanju Abraham (asanju) wrote :

This was fixed as part of the commit https://github.com/Juniper/contrail-multi-cloud/pull/167.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers