Thank you for your question.
Based on the error and details you provided, it seems that your Databricks cluster is using public IPs rather than private IPs from the VNet, which causes the IP Access List (IP ACL) to block the traffic. Here’s how you can address this issue:
Cluster Networking and Private IP Configuration:
In a VNet-injected Databricks workspace, clusters should ideally use private IPs from the VNet. If clusters are using public IPs, it could mean that:
- The No Public IP for Clusters setting is not enabled.
- There might be an issue with the VNet subnet configuration.
Error When Enabling "No Public IP for Clusters":
The error Networking property update failed: Unexpected HTTP status code '412'
indicates a precondition failure. This generally occurs when:
- Active clusters or jobs are running in the workspace. Stop all clusters and ensure no jobs are running before making the change.
- There are missing permissions or dependencies related to the VNet or subnets, such as inadequate IP range or misconfigured Network Security Groups (NSGs).
IP ACL Configuration:
Ensure that the private IP range of your VNet subnets is included in the IP Access List. If the range is missing, even private IPs assigned to the clusters will be blocked.
Steps to Resolve
- Stop any running clusters in the workspace before attempting to enable the "No Public IP for Clusters" option.
- Ensure that the subnets associated with your workspace have enough private IPs available.
- Confirm that NSG rules allow communication between the workspace and clusters.
- After stopping all clusters, try enabling the "No Public IP for Clusters" option again.
- Ensure that the IP Access List includes the private IP range of your VNet subnets to prevent blocking traffic from clusters.
I hope this helps. Please let me know if you have any questions.