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

Optimize backup fails with ElasticsearchStatusException when retrieving snapshots #4627

Open
1 task done
PHWaechtler opened this issue Sep 18, 2024 · 4 comments
Open
1 task done
Assignees
Labels
scope:optimize Changes to Optimize. type:bug Issues that describe a user-facing bug in the project. version:optimize 3.14.0

Comments

@PHWaechtler
Copy link

PHWaechtler commented Sep 18, 2024

Environment (Required on creation)

Observed in SaaS, but affects 7 and CCSM too. Using most recent Optimize snapshot (/master).

Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)

When trying to check if a given backup exists, Optimize fails as it encounters an ES exception. It is quite possible that this is related to the recent ES client migration.

Steps to reproduce (Required on creation)

  1. Follow this guide to setup an environment for snapshot creation.
  2. Once everything is set up, attempt to take a backup and check logs

Observed Behavior (Required on creation)

When Optimize checks if a backup with the given ID exists, it encounters an ES exception that prevents it from proceeding with the snapshot taking.

Expected behavior (Required on creation)

Backup process should work without errors.

Root Cause (Required on prioritization)

Solution Ideas

Hints

Links

Slack thread here

Pull Requests

Dev2QA handover

  • Does this ticket need a QA test and the testing goals are not clear from the description? Add a Dev2QA handover comment
@PHWaechtler PHWaechtler added type:bug Issues that describe a user-facing bug in the project. scope:optimize Changes to Optimize. labels Sep 18, 2024
@tasso94
Copy link
Member

tasso94 commented Sep 19, 2024

Hey @PHWaechtler,

This went into the 3.14.0 release, right? Can you add the respective version label when you work on issues in the future? We use them to generate release notes and inform other stakeholders, like support or DevEx, what's included in new releases.

Best,
Tassilo

@PHWaechtler
Copy link
Author

Hey @PHWaechtler,

This went into the 3.14.0 release, right? Can you add the respective version label when you work on issues in the future? We use them to generate release notes and inform other stakeholders, like support or DevEx, what's included in new releases.

Best, Tassilo

Hey @tasso94 , thanks - do you always add the labels before QA? Once QA has confirmed the fix works I would consider this part of the upcoming release 🤞

@tasso94
Copy link
Member

tasso94 commented Sep 19, 2024

Hey @PHWaechtler, I see. The AP7 team assumes it will be part of a release before assigning it to QA, thus prematurely adding the version label. In practice, we rarely have to remove the version label again.

I added this topic as an open point to our Get ready for Optimize 7 document.

@PHWaechtler
Copy link
Author

Hey @PHWaechtler, I see. The AP7 team assumes it will be part of a release before assigning it to QA, thus prematurely adding the version label. In practice, we rarely have to remove the version label again.

I added this topic as an open point to our Get ready for Optimize 7 document.

Noted, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:optimize Changes to Optimize. type:bug Issues that describe a user-facing bug in the project. version:optimize 3.14.0
Projects
None yet
Development

No branches or pull requests

3 participants