Skip to content

[v16] [aws] exclude session recordings from S3 sync in teleport-renew-cert#47622

Merged
tigrato merged 1 commit intobranch/v16from
bot/backport-47610-branch/v16
Oct 16, 2024
Merged

[v16] [aws] exclude session recordings from S3 sync in teleport-renew-cert#47622
tigrato merged 1 commit intobranch/v16from
bot/backport-47610-branch/v16

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Oct 16, 2024

Backport #47610 to branch/v16

changelog: Fixes a bug where Let's Encrypt certificate renewal failed in AMI and HA deployments due to insufficient disk space caused by syncing audit logs.

This PR excludes `records` directory from the sync when renewing the letsencrypt certificate.
When doing the wildcard sync, `aws sync` downloads the `records` folder which contains audit logs for the cluster which causes failures because of no space left on the disk.
The certbot hook `teleport-upload-cert` doesn't use the `--delete` flag so the records are never purged from S3 on upload

Fixes #27884

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from zmb3 October 16, 2024 14:17
@tigrato tigrato added this pull request to the merge queue Oct 16, 2024
Merged via the queue into branch/v16 with commit 2908d2a Oct 16, 2024
@tigrato tigrato deleted the bot/backport-47610-branch/v16 branch October 16, 2024 14:59
This was referenced Oct 22, 2024
@fheinecke fheinecke mentioned this pull request Apr 9, 2025
@fheinecke fheinecke mentioned this pull request Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants