Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 bucket errors on creation (region) #52481

Open
DanielCastronovo opened this issue Feb 25, 2025 · 0 comments
Open

S3 bucket errors on creation (region) #52481

DanielCastronovo opened this issue Feb 25, 2025 · 0 comments
Labels
aws Used for AWS Related Issues. bug c-vo Internal Customer Reference

Comments

@DanielCastronovo
Copy link

Expected behavior:
S3 bucket created

Current behavior:
Errors on auth pods :

 2025-02-25T17:51:11.454Z INFO [S3]        Setting up S3 bucket bucket:teleport-records-555555 path: region:eu-west-1 s3sessions/s3handler.go:273                                                                                                                                                                                                                                    │
│ 2025-02-25T17:51:11.454Z INFO [S3]        resolved endpoint for aws service service.id:S3 service.api_version:2006-03-01 uri:https://teleport-records-555555.s3.eu-west-1.amazonaws.com endpoint/resolver.go:71                                                                                                                                                                     │
│ ERROR: initialization failed                                                                                                                                                                                                                                                                                                                                                               │
│     operation error S3: CreateBucket, https response error StatusCode: 400, RequestID: XXXXXX, HostID: XXXX==, api error IllegalLocationConstraintException: The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.  

Bug details:

  • Teleport version : Helm chart 17.2.8
chartMode: aws
               clusterName: teleport.xxxxx.tld
               proxyListenerMode: multiplex
               serviceAccount:
                 annotations:
                   eks.amazonaws.com/role-arn: arn:aws:iam::XXXXX:role/teleport-XXXXXX
                 name: teleport
               service:
                 type: ClusterIP
               aws:
                 region: eu-west-1
                 backendTable: teleport-helm-backend
                 auditLogTable: teleport-helm-events
                 sessionRecordingBucket: teleport-records-555555
                 auditLogMirrorOnStdout: false
                 backups: true
                 dynamoAutoScaling: false
               highAvailability:
                 replicaCount: 2
               enterprise: false
               ingress:
                 enabled: true
                 spec:
                   ingressClassName: alb
               annotations:
                 ingress:
                   alb.ingress.kubernetes.io/target-type: ip
                   alb.ingress.kubernetes.io/backend-protocol: HTTPS
                   alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'
                   alb.ingress.kubernetes.io/scheme: internet-facing
                   alb.ingress.kubernetes.io/ssl-redirect: "443"
               podSecurityPolicy:
                 enabled: false
               auth:
                 annotations:
                   serviceAccount:
                     eks.amazonaws.com/role-arn: arn:aws:iam::XXXXX:role/teleport-XXXXXX
               service:
                 type: ClusterIP
@zmb3 zmb3 added the aws Used for AWS Related Issues. label Feb 25, 2025
@zmb3 zmb3 changed the title [HELM] S3 bucket errors on creation (region) S3 bucket errors on creation (region) Feb 25, 2025
@TeleLos TeleLos added the c-vo Internal Customer Reference label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws Used for AWS Related Issues. bug c-vo Internal Customer Reference
Projects
None yet
Development

No branches or pull requests

3 participants