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
Cluster deployment documentation can be viewed at:
36
+
https://aka.ms/bdc-deploy
37
+
38
+
NOTE: Cluster creation can take a significant amount of time depending on
39
+
configuration, network speed, and the number of nodes in the cluster.
40
+
41
+
Starting cluster deployment.
42
+
Cluster controller endpoint is available at bdc-control.contoso.com:30080, 193.168.5.14:30080.
43
+
Waiting for control plane to be ready after 5 minutes.
44
+
Waiting for control plane to be ready after 10 minutes.
45
+
Waiting for control plane to be ready after 15 minutes.
46
+
Waiting for control plane to be ready after 20 minutes.
47
+
Waiting for control plane to be ready after 25 minutes.
28
48
```
29
49
30
-
Verify that the list of pods returned includes:
50
+
Check the current deployed pods.
31
51
32
-
-`compute-`$
33
-
-`data-`
34
-
-`storage-`
52
+
```bash
53
+
kubectl get pods -n mssql-cluster
54
+
```
35
55
36
-
If the compute, data, and storage pods are not created, check the logs to identify why.
56
+
The following list shows only pods that belong to the controller have been deployed. No Compute, data or storage pool pods are being created.
57
+
58
+
```
59
+
NAME READY STATUS RESTARTS AGE
60
+
appproxy-6q4rm 2/2 Running 0 32m
61
+
compute-0-0 3/3 Running 0 32m
62
+
control-n8jqh 3/3 Running 0 35m
63
+
controldb-0 2/2 Running 0 35m
64
+
controlwd-fgpj8 1/1 Running 0 34m
65
+
data-0-0 3/3 Running 0 32m
66
+
data-0-1 3/3 Running 0 32m
67
+
dns-fjp7n 2/2 Running 0 34m
68
+
gateway-0 2/2 Running 0 32m
69
+
logsdb-0 1/1 Running 0 34m
70
+
logsui-d26c5 1/1 Running 0 34m
71
+
master-0 3/4 Running 0 32m
72
+
master-1 3/4 Running 0 32m
73
+
master-2 3/4 Running 0 32m
74
+
metricsdb-0 1/1 Running 0 34m
75
+
metricsdc-c2kbh 1/1 Running 0 34m
76
+
metricsdc-lmqzx 1/1 Running 0 34m
77
+
metricsdc-r6499 1/1 Running 0 34m
78
+
metricsdc-tj99w 1/1 Running 0 34m
79
+
metricsui-dg8rz 1/1 Running 0 34m
80
+
mgmtproxy-dvzpc 2/2 Running 0 34m
81
+
nmnode-0-0 2/2 Running 0 32m
82
+
nmnode-0-1 2/2 Running 0 32m
83
+
operator-27gt9 1/1 Running 0 32m
84
+
sparkhead-0 4/4 Running 0 31m
85
+
sparkhead-1 4/4 Running 0 31m
86
+
storage-0-0 4/4 Running 0 31m
87
+
storage-0-1 4/4 Running 0 31m
88
+
storage-0-2 4/4 Running 0 31m
89
+
zookeeper-0 2/2 Running 0 32m
90
+
zookeeper-1 2/2 Running 0 32m
91
+
zookeeper-2 2/2 Running 0 32m
92
+
```
37
93
38
-
## Check logs
94
+
###Check logs
39
95
40
96
To identify why deployment quit without creating compute, data, or storage pods, check the following logs:
41
97
@@ -60,9 +116,11 @@ To identify why deployment quit without creating compute, data, or storage pods,
60
116
WARNING | Retrying.
61
117
```
62
118
63
-
In the example above, the deployment fails to create a login for the domain user because the domain group is scoped as domain local. Use domain global or domain universal scoped groups. [Deploy [!INCLUDE[big-data-clusters-2019](../includes/ssbigdataclusters-ss-nover.md)] in Active Directory mode](deploy-active-directory.md) explains AD group scope requirements.
119
+
## Cause
64
120
65
-
## Check the scope of domain groups.
121
+
In the example above, the deployment fails to create a login for the domain user because the domain group is scoped as domain local. Use domain global or domain universal scoped groups. [Deploy [!INCLUDE[big-data-clusters-2019](../includes/ssbigdataclusters-ss-nover.md)] in Active Directory mode](deploy-active-directory.md) explains AD group scope requirements.
122
+
123
+
## Resolution
66
124
67
125
Check the scope of the domain group (<`domain-group`>). Use [get-adgroup](/powershell/module/addsadministration/get-adgroup/).
68
126
@@ -112,56 +170,7 @@ catch {
112
170
$ClusterUsersGroupScope_Result
113
171
```
114
172
115
-
## Check security-support container
116
-
117
-
Review the security-support container logs.
118
-
119
-
The following command collects the security-support logs in a cluster at namespace `mssql-cluster`.
Extract the logs and locate `\mssql-cluster\control-<identifier>\controller\control-rts5t-controller-stdout.log`.
173
+
## Resolution
126
174
127
-
Look for the following entries in the log:
128
-
129
-
```
130
-
ERROR | Failed to create AD user account 'cntrl-controller'. Error code: 53. Message: Failed to create user object: Failed to add object 'CN=cntrl-controller,OU=bdc, DC=CONTOSO, DC=com' to ' <domain>.<top-level-domain> ': Server is unwilling to perform.
131
-
ERROR | Failed to create AD user account 'ldap-user'. Error code: 53. Message: Failed to create user object: Failed to add object 'CN=ldap-user,OU=bdc, DC=CONTOSO, DC=com' to ' <domain>.<top-level-domain> ': Server is unwilling to perform.
132
-
ERROR | Failed to create AD user account 'nginx-mgmtproxy'. Error code: 53. Message: Failed to create user object: Failed to add object 'CN=nginx-mgmtproxy,OU=bdc, DC=CONTOSO, DC=com' to ' <domain>.<top-level-domain> ': Server is unwilling to perform.
133
-
```
134
-
135
-
These entries can happen when the domain controller DNS server is missing reverse DNS entry (PTR record).
136
-
137
-
## Verify reverse lookup (PTR record)
138
-
139
-
Run the following PowerShell script to confirm if you have reverse DNS entry (PTR record) configured.
$Domain_controller_DNS_Record = Resolve-DnsName $Domain_controller_FQDN -Type A -Server $Domain_DNS_IP_address -ErrorAction Stop
149
-
foreach ($ip in $Domain_controller_DNS_Record.IPAddress) {
150
-
#resolving hostname by IP address to make sure we have reverse PTR record
151
-
if ((Resolve-DnsName $ip).NameHost -eq $Domain_controller_FQDN) {
152
-
[void]$DcControllerDnsPtr_Result.add("OK - $Domain_controller_FQDN has an A record with an IP $ip, Reverse PTR record is in place")
153
-
}
154
-
else {
155
-
[void]$DcControllerDnsPtr_Result.add("Missing - $Domain_controller_FQDN has an A record with an IP $ip, But no reverse PTR record was found for the host")
title: AD mode deployment stopped - missing reverse lookup zone entry for DC
3
+
titleSuffix: SQL Server Big Data Cluster
4
+
description: Deployment of BDC with AD mode stuck due to missing reverse lookup zone entry for the domain controller in the domain controller DNS server.
5
+
author: MikeRayMSFT
6
+
ms.author: mikeray
7
+
ms.reviewer: mikeray
8
+
ms.date: 04/21/2020
9
+
ms.topic: how-to
10
+
ms.prod: sql
11
+
ms.technology: big-data-cluster
12
+
---
13
+
14
+
# AD mode deployment stopped - missing reverse lookup zone entry for DC
15
+
16
+
Deployment in Active Directory (AD) mode freezes. Check symptoms to see if cause is the domain controller DNS server is missing reverse lookup zone entry.
17
+
18
+
## Symptom
19
+
20
+
You started deploying BDC with AD mode however the deployment is stuck and not moving forward.
21
+
22
+
The following example shows the deployment results in a bash shell.
23
+
24
+
```
25
+
The privacy statement can be viewed at:
26
+
https://go.microsoft.com/fwlink/?LinkId=853010
27
+
28
+
The license terms for SQL Server Big Data Cluster can be viewed at:
Cluster deployment documentation can be viewed at:
34
+
https://aka.ms/bdc-deploy
35
+
36
+
NOTE: Cluster creation can take a significant amount of time depending on
37
+
configuration, network speed, and the number of nodes in the cluster.
38
+
39
+
Starting cluster deployment.
40
+
Cluster controller endpoint is available at bdc-control.contoso.com:30080, 193.168.5.14:30080.
41
+
Waiting for control plane to be ready after 5 minutes.
42
+
Waiting for control plane to be ready after 10 minutes.
43
+
Waiting for control plane to be ready after 15 minutes.
44
+
Waiting for control plane to be ready after 20 minutes.
45
+
Waiting for control plane to be ready after 25 minutes.
46
+
```
47
+
48
+
Check the current deployed pods.
49
+
50
+
```bash
51
+
kubectl get pods -n mssql-cluster
52
+
```
53
+
54
+
The results below indicate that only pods belonging to the controller have been deployed. The pods for compute, data, or storage are not being created.
55
+
56
+
```
57
+
NAME READY STATUS RESTARTS AGE
58
+
control-rts5t 3/3 Running 0 18m
59
+
controldb-0 2/2 Running 0 18m
60
+
controlwd-csgst 1/1 Running 0 16m
61
+
dns-7kfnz 2/2 Running 0 16m
62
+
logsdb-0 1/1 Running 0 16m
63
+
logsui-2pc29 1/1 Running 0 16m
64
+
metricsdb-0 1/1 Running 0 16m
65
+
metricsdc-4rtm4 1/1 Running 0 16m
66
+
metricsdc-6lr2t 1/1 Running 0 16m
67
+
metricsdc-ftx9m 1/1 Running 0 16m
68
+
metricsdc-h59jb 1/1 Running 0 16m
69
+
metricsui-lvdpt 1/1 Running 0 16m
70
+
mgmtproxy-mkmxp 2/2 Running 0 16m
71
+
```
72
+
73
+
Inspect the security support container logs. Look for LDAP errors.
74
+
75
+
## Check security-support container
76
+
77
+
Review the security-support container logs.
78
+
79
+
The following command collects the security-support logs in a cluster at namespace `mssql-cluster`.
YYYY-MM-DD HH:MM:SS.ms | ERROR | Failed to create AD user account 'cntrl-controller'. Error code: 53. Message: Failed to create user object: Failed to add object 'CN=cntrl-controller,OU=bdc, DC=CONTOSO, DC=com' to 'CONTOSO.COM': Server is unwilling to perform.
104
+
YYYY-MM-DD HH:MM:SS.ms | ERROR | Failed to create AD user account 'ldap-user'. Error code: 53. Message: Failed to create user object: Failed to add object 'CN=ldap-user,OU=bdc, DC=CONTOSO, DC=com' to 'CONTOSO.COM': Server is unwilling to perform.
105
+
YYYY-MM-DD HH:MM:SS.ms | ERROR | Failed to create AD user account 'nginx-mgmtproxy'. Error code: 53. Message: Failed to create user object: Failed to add object 'CN=nginx-mgmtproxy,OU=bdc, DC=CONTOSO, DC=com' to 'CONTOSO.COM': Server is unwilling to perform.
106
+
```
107
+
108
+
## Cause
109
+
110
+
The reverse lookup zone entry for the domain controller in the domain controller DNS entry is missing.
111
+
112
+
## Resolution
113
+
114
+
Run the following PowerShell script to confirm if you have reverse DNS entry (PTR record) configured.
$Domain_controller_DNS_Record = Resolve-DnsName $Domain_controller_FQDN -Type A -Server $Domain_DNS_IP_address -ErrorAction Stop
124
+
foreach ($ip in $Domain_controller_DNS_Record.IPAddress) {
125
+
#resolving hostname by IP address to make sure we have reverse PTR record
126
+
if ((Resolve-DnsName $ip).NameHost -eq $Domain_controller_FQDN) {
127
+
[void]$DcControllerDnsPtr_Result.add("OK - $Domain_controller_FQDN has an A record with an IP $ip, Reverse PTR record is in place")
128
+
}
129
+
else {
130
+
[void]$DcControllerDnsPtr_Result.add("Missing - $Domain_controller_FQDN has an A record with an IP $ip, But no reverse PTR record was found for the host")
0 commit comments