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

Fix alertmanager /data contain /data/tsdb #4921

Conversation

colega
Copy link
Contributor

@colega colega commented May 4, 2023

What this PR does

The default alertmanager data dir /data contains /data/tsdb, when running mimir-backend, both modules run, and alertmanager deletes the /data/tsdb continuously (and complains about the tokens file).

The validation was missing the Backend module when adding Alertmanager paths.

Which issue(s) this PR fixes or relates to

Follow up on: #4907

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

colega added 2 commits May 4, 2023 09:45
Follow up on: #4907

The default alertmanager data dir `/data` contains `/data/tsdb`, when
running mimir-backend, both modules run, and alertmanager deletes the
`/data/tsdb` continuously (and complains about the `tokens` file).

The validation was missing the `Backend` module when adding
`Alertmanager` paths.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
@colega colega requested review from 56quarters and pracucci May 4, 2023 07:50
@colega colega marked this pull request as ready for review May 4, 2023 07:50
@colega colega requested a review from a team as a code owner May 4, 2023 07:50
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, thanks for fixing it!

@colega colega enabled auto-merge (squash) May 4, 2023 08:07
@colega colega merged commit 0514b7a into main May 4, 2023
@colega colega deleted the ensure-that-alertmanager-data-doesnt-overlap-mimir-backend-bucket-sync branch May 4, 2023 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants