ā04-05-2023 05:19 AM
HI Team,
we have created new premium workspace with custom managed vpc, workspace deployed successfully in AWS. we are trying to create folder in dbfs, we are getting below error. we have compared cross account custom managed role (Customer-managed VPC with custom policy restrictions), but still we are getting "GetObjectMetadataRequest" forbidden. i am not seeing issue in terms of permissions, did anything had been updated from databricks metastore end .
Caused by: java.nio.file.AccessDeniedException: s3a://xxxxx/nvirginia-prod/xxxx.meta/mounts:
getFileStatus on s3a://xxxxx nvirginia-prod/xxxx.meta/mounts:
com.amazonaws.services.s3.model.AmazonS3Exception:
Forbidden; request: HEAD https://xxxx nvirginia-prod/xxxxx.meta/mounts {} Hadoop 2.7.7, aws-sdk-java/1.12.261 Linux/5.4.0-1096-aws OpenJDK_64-Bit_Server_VM/25.342-b07 java/1.8.0_342 scala/2.12.15 kotlin/1.6.21 vendor/Private_Build cfg/retry-mode/legacy com.amazonaws.services.s3.model.GetObjectMetadataRequest; Request ID: xxxx, Extended Request ID: xxxxx, Cloud Provider: AWS, Instance ID: i-xxxx
(Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: xxxxx; S3 Extended Request ID: xxxxx=; Proxy: null)
, S3 Extended Request ID: xxxxxxx=:403 Forbidden
ā04-05-2023 10:48 PM
Hi, The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it. Could you please check the S3 permissions and other related permissions in IAM?
Also, please tag @Debayanā with your next response which will notify me. Thank you!
ā04-06-2023 05:44 AM
@Debayan Mukherjeeā yes, we have compared IAM cross account role and bucket permissions, everything looks good as per databricks recommendations . we have picket custom vpc policy and applied that
ā04-07-2023 07:31 AM
@Debayan Mukherjeeā client is still in free version, within 3 days it will be converted to premium. Is above issue because of free tier
ā04-10-2023 10:04 PM
@karthik pā Can you please check and confirm now?
ā04-17-2023 01:45 PM
@Debayan Mukherjeeā Issue resolved, looks cloud team have not updated required security groups that has been shared, after revisiting them we are able to find missing security groups and added them
ā04-17-2023 10:02 PM
@karthik pā , Thanks for the confirmation. Glad to know!
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