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
description: Various reasons for failed cluster creations with InvalidNetworkConfigurationErrorCode in Azure HDInsight
4
-
ms.service: hdinsight
5
-
ms.topic: troubleshooting
6
4
author: hrasheed-msft
7
5
ms.author: hrasheed
8
6
ms.reviewer: jasonh
9
-
ms.date: 08/05/2019
7
+
ms.service: hdinsight
8
+
ms.topic: troubleshooting
9
+
ms.date: 01/22/2020
10
10
---
11
11
12
12
# Cluster creation fails with InvalidNetworkConfigurationErrorCode in Azure HDInsight
13
13
14
14
This article describes troubleshooting steps and possible resolutions for issues when interacting with Azure HDInsight clusters.
15
15
16
-
If you see error code `InvalidNetworkConfigurationErrorCode` with the description "Virtual Network configuration is not compatible with HDInsight Requirement", it usually indicates a problem with the [virtual network configuration](../hdinsight-plan-virtual-network-deployment.md) for your cluster. Based on the rest of the error description, follow the below sections to resolve your problem.
16
+
If you see error code `InvalidNetworkConfigurationErrorCode` with the description "Virtual Network configuration isn't compatible with HDInsight Requirement", it usually indicates a problem with the [virtual network configuration](../hdinsight-plan-virtual-network-deployment.md) for your cluster. Based on the rest of the error description, follow the below sections to resolve your problem.
This error points to a problem with custom DNS configuration. DNS servers within a virtual network can forward DNS queries to Azure's recursive resolvers to resolve hostnames within that virtual network (see [Name Resolution in Virtual Networks](../../virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances.md) for details). Access to Azure's recursive resolvers is provided via the virtual IP 168.63.129.16. This IP is only accessible from the Azure VMs. So it will not work if you are using an OnPrem DNS server, or your DNS server is an Azure VM, which is not part of the cluster's vNet.
26
+
This error points to a problem with custom DNS configuration. DNS servers within a virtual network can forward DNS queries to Azure's recursive resolvers to resolve hostnames within that virtual network (see [Name Resolution in Virtual Networks](../../virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances.md) for details). Access to Azure's recursive resolvers is provided via the virtual IP 168.63.129.16. This IP is only accessible from the Azure VMs. So it won't work if you're using an OnPrem DNS server, or your DNS server is an Azure VM, which isn't part of the cluster's virtual network.
27
27
28
28
### Resolution
29
29
30
-
1. Ssh into the VM that is part of the cluster, and run the command `hostname -f`. This will return the host’s fully qualified domain name (referred to as `<host_fqdn>` in the below instructions).
30
+
1. Ssh into the VM that is part of the cluster, and run the command `hostname -f`. This will return the host's fully qualified domain name (referred to as `<host_fqdn>` in the below instructions).
31
31
32
-
1. Then, run the command `nslookup <host_fqdn>` (for example, `nslookup hn1-hditest.5h6lujo4xvoe1kprq3azvzmwsd.hx.internal.cloudapp.net`). If this command resolves the name to an IP address, it means your DNS server is working correctly. In this case, raise a support case with HDInsight, and we will investigate your issue. In your support case, include the troubleshooting steps you executed. This will help us resolve the issue faster.
32
+
1. Then, run the command `nslookup <host_fqdn>` (for example, `nslookup hn1-hditest.5h6lujo4xvoe1kprq3azvzmwsd.hx.internal.cloudapp.net`). If this command resolves the name to an IP address, it means your DNS server is working correctly. In this case, raise a support case with HDInsight, and we'll investigate your issue. In your support case, include the troubleshooting steps you executed. This will help us resolve the issue faster.
33
33
34
-
1. If the above command does not return an IP address, then run `nslookup <host_fqdn> 168.63.129.16` (for example, `nslookup hn1-hditest.5h6lujo4xvoe1kprq3azvzmwsd.hx.internal.cloudapp.net 168.63.129.16`). If this command is able to resolve the IP, it means that either your DNS server is not forwarding the query to Azure's DNS, or it is not a VM that is part of the same vNet as the cluster.
34
+
1. If the above command doesn't return an IP address, then run `nslookup <host_fqdn> 168.63.129.16` (for example, `nslookup hn1-hditest.5h6lujo4xvoe1kprq3azvzmwsd.hx.internal.cloudapp.net 168.63.129.16`). If this command is able to resolve the IP, it means that either your DNS server isn't forwarding the query to Azure's DNS, or it isn't a VM that is part of the same virtual network as the cluster.
35
35
36
-
1. If you do not have an Azure VM that can act as a custom DNS server in the cluster’s vNet, then you need to add this first. Create a VM in the vNet, which will be configured as DNS forwarder.
36
+
1. If you don't have an Azure VM that can act as a custom DNS server in the cluster’s virtual network, then you need to add this first. Create a VM in the virtual network, which will be configured as DNS forwarder.
37
37
38
-
1. Once you have a VM deployed in your vNet, configure the DNS forwarding rules on this VM. Forward all iDNS name resolution requests to 168.63.129.16, and the rest to your DNS server. [Here](../hdinsight-plan-virtual-network-deployment.md) is an example of this setup for a custom DNS server.
38
+
1. Once you have a VM deployed in your virtual network, configure the DNS forwarding rules on this VM. Forward all iDNS name resolution requests to 168.63.129.16, and the rest to your DNS server. [Here](../hdinsight-plan-virtual-network-deployment.md) is an example of this setup for a custom DNS server.
39
39
40
40
1. Add the IP Address of this VM as first DNS entry for the Virtual Network DNS configuration.
41
41
@@ -49,7 +49,7 @@ Error description contains "Failed to connect to Azure Storage Account” or “
49
49
50
50
### Cause
51
51
52
-
Azure Storage and SQL do not have fixed IP Addresses, so we need to allow outbound connections to all IPs to allow accessing these services. The exact resolution steps depend on whether you have set up a Network Security Group (NSG) or User-Defined Rules (UDR). Refer to the section on [controlling network traffic with HDInsight with network security groups and user-defined routes](../hdinsight-plan-virtual-network-deployment.md#hdinsight-ip) for details on these configurations.
52
+
Azure Storage and SQL don't have fixed IP Addresses, so we need to allow outbound connections to all IPs to allow accessing these services. The exact resolution steps depend on whether you have set up a Network Security Group (NSG) or User-Defined Rules (UDR). Refer to the section on [controlling network traffic with HDInsight with network security groups and user-defined routes](../hdinsight-plan-virtual-network-deployment.md#hdinsight-ip) for details on these configurations.
53
53
54
54
### Resolution
55
55
@@ -65,6 +65,73 @@ Azure Storage and SQL do not have fixed IP Addresses, so we need to allow outbou
65
65
66
66
---
67
67
68
+
## "Virtual network configuration is not compatible with HDInsight requirement"
69
+
70
+
### Issue
71
+
72
+
Error descriptions contain messages similar as follows:
73
+
74
+
```
75
+
ErrorCode: InvalidNetworkConfigurationErrorCode
76
+
ErrorDescription: Virtual Network configuration is not compatible with HDInsight Requirement. Error: 'Failed to connect to Azure Storage Account; Failed to connect to Azure SQL; HostName Resolution failed', Please follow https://go.microsoft.com/fwlink/?linkid=853974 to fix it.
77
+
```
78
+
79
+
### Cause
80
+
81
+
Likely an issue with the custom DNS setup.
82
+
83
+
### Resolution
84
+
85
+
Validate that 168.63.129.16 is in the custom DNS chain. DNS servers within a virtual network can forward DNS queries to Azure's recursive resolvers to resolve hostnames within that virtual network. For more information, see [Name Resolution in Virtual Networks](../../virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances.md#name-resolution-that-uses-your-own-dns-server). Access to Azure's recursive resolvers is provided via the virtual IP 168.63.129.16.
86
+
87
+
1. Use [ssh command](../hdinsight-hadoop-linux-use-ssh-unix.md) to connect to your cluster. Edit the command below by replacing CLUSTERNAME with the name of your cluster, and then enter the command:
Based on the result - choose one of the following steps to follow:
108
+
109
+
#### 168.63.129.16 is not in this list
110
+
111
+
**Option 1**
112
+
Add 168.63.129.16 as the first custom DNS for the virtual network using the steps described in [Plan a virtual network for Azure HDInsight](../hdinsight-plan-virtual-network-deployment.md). These steps are applicable only if your custom DNS server runs on Linux.
113
+
114
+
**Option 2**
115
+
Deploy a DNS server VM for the virtual network. This involves the following steps:
116
+
117
+
* Create a VM in the virtual network, which will be configured as DNS forwarder (it can be a Linux or windows VM).
118
+
* Configure DNS forwarding rules on this VM (forward all iDNS name resolution requests to 168.63.129.16, and the rest to your DNS server).
119
+
* Add the IP Address of this VM as first DNS entry for Virtual Network DNS configuration.
120
+
121
+
#### 168.63.129.16 is in the list
122
+
123
+
In this case, please create a support case with HDInsight, and we'll investigate your issue. Include the result of the below commands in your support case. This will help us investigate and resolve the issue quicker.
124
+
125
+
From an ssh session on the head node, edit and then run the following:
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
@@ -73,4 +140,4 @@ If you didn't see your problem or are unable to solve your issue, visit one of t
73
140
74
141
* Connect with [@AzureSupport](https://twitter.com/azuresupport) - the official Microsoft Azure account for improving customer experience by connecting the Azure community to the right resources: answers, support, and experts.
75
142
76
-
* If you need more help, you can submit a support request from the [Azure portal](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade/). Select **Support** from the menu bar or open the **Help + support** hub. For more detailed information, please review [How to create an Azure support request](https://docs.microsoft.com/azure/azure-portal/supportability/how-to-create-azure-support-request). Access to Subscription Management and billing support is included with your Microsoft Azure subscription, and Technical Support is provided through one of the [Azure Support Plans](https://azure.microsoft.com/support/plans/).
143
+
* If you need more help, you can submit a support request from the [Azure portal](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade/). Select **Support** from the menu bar or open the **Help + support** hub. For more detailed information, review [How to create an Azure support request](https://docs.microsoft.com/azure/azure-portal/supportability/how-to-create-azure-support-request). Access to Subscription Management and billing support is included with your Microsoft Azure subscription, and Technical Support is provided through one of the [Azure Support Plans](https://azure.microsoft.com/support/plans/).
0 commit comments