Azure / Azure/azure-quickstart-templates
Issue with Azure SQL VM - Machine is not joined to expected domain
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
### Issue Details
I am trying to setup the AlwaysON AG using Azure SQL VMs and following below link and sing same templates to build.
https://docs.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/availability-group-quickstart-template-configure
Step 1:
Installed two Azure SQL VM using ARM.
Step 2:
Joined both the nodes to ADDS manually and tested. Able to ping from each and every node.
step 3:
Identified that SQLIaaSExtension is failed for both the nodes, So we removed old extension and updated with new extension on both the nodes.
step 4:
Again redeployed ARM template(azuredeploy.json) file and checked. I observed that join cluster is failing.
Error:-
{
"status": "Failed",
"error": {
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"code": "Conflict",
"message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"Ext_MachineNotJoinedToExpectedDomain\",\r\n \"message\": \"Machine is not joined to expected domain.\"\r\n }\r\n ]\r\n }\r\n}"
},
{
"code": "Conflict",
"message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"Ext_MachineNotJoinedToExpectedDomain\",\r\n \"message\": \"Machine is not joined to expected domain.\"\r\n }\r\n ]\r\n }\r\n}"
}
]
}
}
Could you please provide me the resolution?. Is there any issues with Code? Please assist.
Thanks...
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Azure SQL VM availability-group quickstart and its azuredeploy.json template, then review the SQLIaaSExtension deployment operations associated with Ext_MachineNotJoinedToExpectedDomain. The issue is resolved when both VM deployments complete successfully and the nodes join the expected domain and cluster.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100