You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "apareekkhoros (via GitHub)" <gi...@apache.org> on 2024/09/17 15:25:37 UTC

[I] s3:DeleteObject giving because no session policy allows the s3:DeleteObject action [iceberg]

apareekkhoros opened a new issue, #11153:
URL: https://github.com/apache/iceberg/issues/11153

   ### Query engine
   
   _No response_
   
   ### Question
   
   I am using Iceberg with flink on AWS. I keep getting error as below: 
   `AccessDenied: bf4a3c0f5d241f5f59a2dae4dd4dc61b-642760139656-1717669206233/: User: arn:aws:sts::340686679554:assumed-role/AWSKinesisAnalyticsKubern-S3CustomerAppStateAccess-1DK4LG9JOK6RM/FlinkApplicationStateSession is not authorized to perform: s3:DeleteObject on resource: \"arn:aws:s3:::7bfe006b0420e57867507672221ef03fd067eaa6/bf4a3c0f5d241f5f59a2dae4dd4dc61b-642760139656-1717669206233/\" because no session policy allows the s3:DeleteObject action\n`
   
   I cannot find above role/bucket in my account so I am unsure why I keep getting this error


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] s3:DeleteObject giving because no session policy allows the s3:DeleteObject action [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #11153: s3:DeleteObject giving because no session policy allows the s3:DeleteObject action
URL: https://github.com/apache/iceberg/issues/11153


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] s3:DeleteObject giving because no session policy allows the s3:DeleteObject action [iceberg]

Posted by "steveloughran (via GitHub)" <gi...@apache.org>.
steveloughran commented on issue #11153:
URL: https://github.com/apache/iceberg/issues/11153#issuecomment-2592934434

   @apareekkhoros no, not my code.
   
   All I can see is it is being done by an assumed role `arn:aws:sts::340686679554:assumed-role/AWSKinesisAnalyticsKubern-S3CustomerAppStateAccess-...`, implying it's some kinesis role hitting the problem


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] s3:DeleteObject giving because no session policy allows the s3:DeleteObject action [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11153:
URL: https://github.com/apache/iceberg/issues/11153#issuecomment-3071402186

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] s3:DeleteObject giving because no session policy allows the s3:DeleteObject action [iceberg]

Posted by "steveloughran (via GitHub)" <gi...@apache.org>.
steveloughran commented on issue #11153:
URL: https://github.com/apache/iceberg/issues/11153#issuecomment-2426410493

   This is kinesis related; nothing to do with Iceberg.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] s3:DeleteObject giving because no session policy allows the s3:DeleteObject action [iceberg]

Posted by "apareekkhoros (via GitHub)" <gi...@apache.org>.
apareekkhoros commented on issue #11153:
URL: https://github.com/apache/iceberg/issues/11153#issuecomment-2426486059

   Hey @steveloughran thanks for the reply. Why do you say it's kinesis related? Isn't iceberg the one responsible for deleting files? 
   Can you pls assist or direct me to a documentation around it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] s3:DeleteObject giving because no session policy allows the s3:DeleteObject action [iceberg]

Posted by "apareekkhoros (via GitHub)" <gi...@apache.org>.
apareekkhoros commented on issue #11153:
URL: https://github.com/apache/iceberg/issues/11153#issuecomment-2356238551

    <java.version>1.11</java.version>
           <flink.version>1.20.0</flink.version>
           <iceberg.version>1.6.1</iceberg.version>
           <hadoop.version>3.3.6</hadoop.version>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] s3:DeleteObject giving because no session policy allows the s3:DeleteObject action [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11153:
URL: https://github.com/apache/iceberg/issues/11153#issuecomment-3130187608

   This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org