cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

PrivateLink AWS - Databricks, "Cluster terminated. Reason: Security Daemon Registration Exception"

MarSier
New Contributor

Hi FerArribas,

I struggle with PrivateLink connection between Databricks account and my AWS account. I have seen that you had a similar problem. I can create a workspace, but when I try to create a cluster I get an error: "Cluster terminated. Reason: Security Daemon Registration Exception". Can you give me hints and details on how you solved this problem?

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

Anonymous
Not applicable

@Marcin Sieradzanโ€‹ :

The "Security Daemon Registration Exception" error occurs when the Databricks Security Agent running on the VPC can't register itself with the Databricks Control Plane. This error can happen due to a variety of reasons, such as incorrect network configuration or firewall rules.

Here are some steps to troubleshoot and resolve this issue:

  1. Ensure that the Databricks Security Agent is running on the instances within the VPC that you want to connect to Databricks. You can check this by running the following command on an instance within the VPC: sudo systemctl status databricks-security-agent
  2. Make sure that your VPC is properly configured with the correct route tables and network access control lists (NACLs) to allow traffic to and from the Databricks Control Plane. Check that you have created and attached a PrivateLink endpoint to your VPC.
  3. Verify that the DNS resolution is working properly. You can do this by running the following command on an instance within the VPC: nslookup databricks-control-plane-aws-global.cloud.databricks.com. This command should return the Private IP address of the PrivateLink endpoint you have created.
  4. Ensure that you have properly configured the security group associated with the Databricks workspace to allow traffic from the VPC.
  5. Check that there are no firewall rules or network security rules that are blocking traffic from the VPC to the Databricks Control Plane.
  6. Verify that you have the correct IAM roles and permissions set up in your AWS account to allow the necessary actions for PrivateLink. Check that the VPC endpoint policy allows access from the IAM role.
  7. Finally, try creating the cluster again and monitor the logs for any error messages.

View solution in original post

2 REPLIES 2

Anonymous
Not applicable

@Marcin Sieradzanโ€‹ :

The "Security Daemon Registration Exception" error occurs when the Databricks Security Agent running on the VPC can't register itself with the Databricks Control Plane. This error can happen due to a variety of reasons, such as incorrect network configuration or firewall rules.

Here are some steps to troubleshoot and resolve this issue:

  1. Ensure that the Databricks Security Agent is running on the instances within the VPC that you want to connect to Databricks. You can check this by running the following command on an instance within the VPC: sudo systemctl status databricks-security-agent
  2. Make sure that your VPC is properly configured with the correct route tables and network access control lists (NACLs) to allow traffic to and from the Databricks Control Plane. Check that you have created and attached a PrivateLink endpoint to your VPC.
  3. Verify that the DNS resolution is working properly. You can do this by running the following command on an instance within the VPC: nslookup databricks-control-plane-aws-global.cloud.databricks.com. This command should return the Private IP address of the PrivateLink endpoint you have created.
  4. Ensure that you have properly configured the security group associated with the Databricks workspace to allow traffic from the VPC.
  5. Check that there are no firewall rules or network security rules that are blocking traffic from the VPC to the Databricks Control Plane.
  6. Verify that you have the correct IAM roles and permissions set up in your AWS account to allow the necessary actions for PrivateLink. Check that the VPC endpoint policy allows access from the IAM role.
  7. Finally, try creating the cluster again and monitor the logs for any error messages.

Anonymous
Not applicable

Hi @Marcin Sieradzanโ€‹ 

Thank you for posting your question in our community! We are happy to assist you.

To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?

This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance! 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group