k8s offload access denied
See original GitHub issuehello
I have a issue with the s3 tiered offload two exact configurations, using different buckets, one works and the other one doesn’t i got this when i try to check the offload status after trying to trigger it manually with topics offload (the one that doesnt work isnt a fresh start so it has some previous data)
Error in offload
null
Reason: Error offloading: org.apache.bookkeeper.mledger.ManagedLedgerException: java.util.concurrent.CompletionException: org.jclouds.rest.AuthorizationException: Access Denied
I am using pulsar 2.6.1 i have set the following configuration in the brokers
managedLedgerOffloadDriver: "aws-s3"
s3ManagedLedgerOffloadRegion: "us-east-1"
s3ManagedLedgerOffloadBucket: bucketname
s3ManagedLedgerOffloadRole: rolename
s3ManagedLedgerOffloadRoleSessionName: sessioname
the role name has the following perms both have the same the only difference its the bucket name, i even tried with s3 full access and no luck
{
"Statement": [
{
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject",
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::bucketname",
"arn:aws:s3:::bucktname/*"
],
"Effect": "Allow"
}
]
}
is there something else i can check between the two?
appreciate any feedback
thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Acces Denied to bucket | WordPress.org
WP Offload Media needs to be able to change the permissions on objects (not buckets), so “Public access settings” needs to be disabled....
Read more >Cannot access to Kubernetes NodePort from other worker ...
When offloading is enabled on a flannel device, NodePort accesses ... (7) Failed to connect to GKE_NodeIP port 30050: Connection refused.
Read more >All CI jobs fail with HTTP Basic: Access denied error. - GitLab
Hi I am running Gitlab 13.4.4 on a VPS and a Gitlab runner 13.4.1 on another VPS through Omnibus install. Have been for...
Read more >11 Ways (Not) to Get Hacked | Kubernetes
7. Statically Analyse YAML. Where PodSecurityPolicies deny access to the API server, static analysis can also be used in the development ...
Read more >Kubernetes mount.nfs: access denied by server while mounting
It's probably because the uid used in your pod/container has not enough rights on the NFS server. You can runAsUser as mentioned by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@joncashe I am closing this issue for now. If you have any other questions, feel free to reopen it or create a new one.
The namespace policy is stored in zookeeper.