Cohesity Cloud Scale Technology Deployment Guide Using Terraform for Microsoft Azure
- Introduction
- Getting started steps for deployment
- Prerequisites for setting up Azure environment
- Prerequisities for Terraform scripts
- Deploying Cloud Scale Technology using Terraform scripts
- Accessing the Cloud Scale environment
- Troubleshooting and cleanup environment steps
Troubleshooting issues
The following table lists some of the issues that you may come across while deploying Terraform on Azure.
Table: List of troubleshooting issues
Sr.No | Issue | Description / Resolution |
---|---|---|
1 | Error: "psql: error: connection to server at "smveritas1-postgres.postgres.database.azure.com" (10.119.74.36), port 5432 failed: FATAL: no pg_hba.conf entry for host "10.119.72.151", user "nbdbadmin", database "postgres", no encryption" | The deployment scripts request the db password to encrypt the password using SCRAM_SHA-256 method but Azure encrypts it using MD5. Resolution: You may have to re-encrypt the passwords after deploying the AKS and DBaaS infrastructure. |
2 | The Terraform supports the podman-based Cloud Scale Technology deployments which will not support the docker implemented nbbuilder script for engineering binary installations. | Resolution: The Podman does not support engineering binary installation as the nbbuilder script supports only docker installation. |
3 | Even after executing the destroy command, execute the manual steps provided in the resolution if there are any folders that are not removed from the en4vironment. | If you want to delete the entire infrastructure, using the Azure Portal:
For the clean deployment next time, ensure that you have also deleted the following:
|
4 | Error: Azure API returned the following Error: updating Flexible Server (Subscription: "1afb8748-7dc0-4ddc-8faf-e453dccb7ca3" │ Resource Group Name: "rg-ananmainldbrem" │ Flexible Server Name: "anshadbrem-postgres"): polling after Update: polling failed: the Azure API returned the following error: │ │ Status: "Failed" │ Code: "Failed" │ Message: "Server anshadbrem-postgres is busy with other operations. Please try later" │ | Resolution: Retry the base deployment. |
5 | Before executing the terraform destroy command, execute the following command: "TOKEN=$(az acr login --name acr_name --expose-token --output tsv --query accessToken);helm registry login acr_name --username 00000000-0000-0000-0000-000000000000 --password $TOKEN"" | Reason:As per official documentation from Microsoft, it is recommended to run the az acr login command before executing any docker command as the acr login expires after 3 hours. |