Skip to content

[v14] [aws] exclude session recordings from S3 sync in teleport-renew-cert#47623

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

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

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Oct 16, 2024

Backport #47610 to branch/v14

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
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 16, 2024
@tigrato tigrato added this pull request to the merge queue Oct 16, 2024
Merged via the queue into branch/v14 with commit ff0d651 Oct 16, 2024
@tigrato tigrato deleted the bot/backport-47610-branch/v14 branch October 16, 2024 15:18
@camscale camscale mentioned this pull request Oct 30, 2024
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