Tempo not starting due to s3 storage permission issue

while installing the tempo service we are getting below error, when checked all the permission is there for that role.

and checked there is no ListObjects action only for aws s3 role.

Attaching to tempo
tempo | level=info ts=2023-07-24T07:59:16.967853292Z caller=main.go:221 msg=“initialising OpenTracing tracer”
tempo | level=info ts=2023-07-24T07:59:16.974292532Z caller=main.go:108 msg=“Starting Tempo” version=“(version=r105-5132d08, branch=r105, revision=5132d0808)”
tempo | level=error ts=2023-07-24T07:59:18.003974575Z caller=main.go:111 msg=“error running Tempo” err=“failed to init module services error initialising module: store: failed to create store unexpected error from ListObjects on dev: Access Denied”
tempo exited with code 1

Hi @rajasudha225. You need to configure the following permissions in S3: Amazon S3 permissions | Grafana Tempo documentation. I hope that helps.

thank you for reply, i tried that also not worked. try below policy also but not working.

{
“Version”: “2012-10-17”,
“Id”: “Policy”,
“Statement”: [
{
“Sid”: “TempoPermissions”,
“Effect”: “Allow”,
“Principal”: {
“AWS”: “arn:aws:iam::xxxxxx:root”
},
“Action”: “s3:",
“Resource”: [
“arn:aws:s3:::dev”,
"arn:aws:s3:::dev/

]
}
]
}

You need to add the following actions to your policy

            "Action": [
                "s3:PutObject",
                "s3:GetObject",
                "s3:ListBucket",
                "s3:DeleteObject",
                "s3:GetObjectTagging",
                "s3:PutObjectTagging"
            ],

Also, are you correctly passing the authentication? There are a few methods supported.

in that policy i have added

“Action”: “s3:*”,

authentication method i am using ec2 role based with s3 full access.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.