R5.0.1 - multicloud :: Azure :: multiple region Vnet bring-up fails.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
High
|
Sanju Abraham | |||
Trunk |
Fix Committed
|
High
|
Sanju Abraham |
Bug Description
topology file:-
*******
*******
- provider: azure
organization: contrail-test
project: contrail-
regions:
- name: WestIndia
resource_
clouds:
- name: ritam-test-1-a
subnets:
- name: subnet-
- name: allow_all_
- name: all_in-
- name: all_out-
- name: gw-ritam-test-1-a
- gateway
os: ubuntu16
- name: controller-
- controller
- k8s_master
os: ubuntu16
- name: compute-
- compute_node
os: ubuntu16
- name: SouthIndia
resource_
clouds:
- name: ritam-test-1-b
subnets:
- name: subnet-
- name: allow_all_
- name: all_in-
- name: all_out-
- name: gw-ritam-test-1-b
- gateway
os: ubuntu16
- name: compute-
- compute_node
os: ubuntu16
*******
*******
FAILURE
*******
*******
Error: Error applying plan:
1 error(s) occurred:
* azurerm_
* azurerm_
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
*******
*******
ATTACHED TERRAFORM LOGS FOR TOPOLOGY APPLY
*******
*******
tags: | added: fabric |
tags: | added: beta-blocker |
This is fixed in commit - https:/ /github. com/Juniper/ contrail- multi-cloud/ pull/167
When a ResourceGroup is created in Azure, it is linked to a Region. All Quota provisioning happens in that Region. There was a miscommunication from Azure stating that resources cannot be created across the regions that are not linked to the ResourceGroup.
After subsequence call with Azure, we made the change in the code to not derive the region from the associated ResourceGroup coz, it would always give only the linked Region.
We will not read valid regions from topology and generate corresponding terraform templates.