question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

k8s offload access denied

See original GitHub issue

hello

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:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sijiecommented, Jan 7, 2021

@joncashe I am closing this issue for now. If you have any other questions, feel free to reopen it or create a new one.

0reactions
sijiecommented, Jan 7, 2021

The namespace policy is stored in zookeeper.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found