You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| netapp_service_level | The target performance level of the file system. Valid values include Premium, Standard, or Ultra. | string | "Premium" ||
317
317
| netapp_size_in_tb | Provisioned size of the pool in TB. Value must be between 4 and 500 | number | 4 ||
318
-
| netapp_protocols | The target volume protocol expressed as a list. Supported single value include CIFS, NFSv3, or NFSv4.1. If argument is not defined, it defaults to NFSv3. Changing this forces a new resource to be created and data will be lost. | list of strings |["NFSv3"]||
318
+
| netapp_protocols | The target volume protocol expressed as a list. Supported single value include CIFS, NFSv3, or NFSv4.1. If argument is not defined, it defaults to NFSv4.1. Changing this forces a new resource to be created and data will be lost. | list of strings |["NFSv4.1"]||
319
319
| netapp_volume_path |A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created. | string | "export" ||
320
320
| netapp_network_features |Indicates which network feature to use, accepted values are `Basic` or `Standard`, it defaults to `Basic` if not defined. | string | "Basic" | This is a feature in public preview. For more information about it and how to register, please refer to [Configure network features for an Azure NetApp Files volume](https://docs.microsoft.com/en-us/azure/azure-netapp-files/configure-network-features)|
## Kubernetes Version is not supported in Azure region
4
12
```bash
5
13
Error: creating Managed Kubernetes Cluster "viya-tst-aks" (Resource Group "viya-tst-rg"): containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="AgentPoolK8sVersionNotSupported" Message="Version 1.18.14 is not supported in this region. Please use [az aks get-versions] command to get the supported version list in this region. For more information, please check https://aka.ms/supported-version-list"
6
14
7
15
on modules/azure_aks/main.tf line 2, in resource "azurerm_kubernetes_cluster""aks":
8
16
2: resource "azurerm_kubernetes_cluster""aks" {
9
17
```
10
-
**Resolution:**
18
+
### Resolution:
11
19
Run this Azure CLI command to get the supported Kubernetes versions in your Azure region and use value for`kubernetes_version` variablein input tfvars.
12
20
```bash
13
21
az aks get-versions --location <YOUR_AZURE_LOCATION> --output table
@@ -29,7 +37,7 @@ Error: waiting for the deletion of Node Pool "stateful" (Managed Kubernetes Clus
29
37
Error: A resource with the ID "/subscriptions/REDACTED/resourcegroups/viya-tst-rg/providers/Microsoft.ContainerService/managedClusters/viya-tst-aks/agentPools/stateless" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for"azurerm_kubernetes_cluster_node_pool"for more information.
Check your Azure Subscription has been granted access to Azure NetApp Files service: [Azure Netapp Quickstart](https://docs.microsoft.com/en-us/azure/azure-netapp-files/azure-netapp-files-quickstart-set-up-account-create-volumes?tabs=azure-portal#before-you-begin)
70
+
71
+
72
+
## Azure NetApp NFSv3 volume file lock issue
73
+
In event of SAS Viya Platform deployment shutdown on an AKS cluster with Azure NetApp NFSv3 volume, the file locks persist and `sas-consul-server` cannot access raft.db until the file locks are broken.
74
+
75
+
### Resolution:
76
+
There are two options to avoid this issue:
77
+
78
+
1. Break the file locks from Azure Portal. For details see [Troubleshoot file locks on an Azure NetApp Files volume](https://learn.microsoft.com/en-us/azure/azure-netapp-files/troubleshoot-file-locks).
79
+
80
+
2. Use Azure NetApp NFS volume version 4.1. Update to the latest version of `sassoftware/viya4-iac-azure` to use NFSv4.1 by default. If you are using sassoftware/viya4-iac-azure's release v7.2.0 or before, then add the variable `netapp_protocols` to your terraform.tfvars to switch to NFSv4.1.
81
+
82
+
**Note:** Changing this on existing cluster will result in data loss.
description="A prefix used in the name for all the Azure resources created by this script."
6
+
type=string
7
+
}
8
+
9
+
variable"resource_group_name" {
10
+
description="The name of the resource group in which to create the PostgreSQL Server. Changing this forces a new resource to be created."
11
+
type=string
12
+
}
13
+
14
+
variable"location" {
15
+
description="Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created."
16
+
type=string
17
+
}
18
+
19
+
variable"message_broker_sku" {
20
+
description="Defines which tier to use. Options are Basic, Standard or Premium. SAS Viya Platform recommends using 'Premium'."
21
+
type=string
22
+
default="Premium"
23
+
}
24
+
25
+
variable"message_broker_name" {
26
+
description="Specifies the name of the message broker, also specified for the ServiceBus Namespace Authorization Rule resource. Changing this forces a new resource to be created."
27
+
type=string
28
+
default="Arke"
29
+
}
30
+
31
+
variable"message_broker_capacity" {
32
+
description="Specifies the capacity. When sku is Premium, capacity can be 1, 2, 4, 8 or 16. When sku is Basic or Standard, capacity can be 0 only."
33
+
type=number
34
+
default=1
35
+
}
36
+
37
+
variable"tags" {
38
+
description="Map of common tags to be placed on the Resources"
Copy file name to clipboardExpand all lines: modules/azurerm_netapp/variables.tf
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -55,9 +55,9 @@ variable "volume_path" {
55
55
}
56
56
57
57
variable"protocols" {
58
-
description="The target volume protocol expressed as a list. Supported single value include CIFS, NFSv3, or NFSv4.1. If argument is not defined it will default to NFSv3. Changing this forces a new resource to be created and data will be lost."
58
+
description="The target volume protocol expressed as a list. Supported single value include CIFS, NFSv3, or NFSv4.1. If argument is not defined it will default to NFSv4.1. Changing this forces a new resource to be created and data will be lost."
0 commit comments