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

Issue 643: Pravega cluster upgrade is failing intermittently #644

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

anishakj
Copy link
Contributor

Signed-off-by: anisha.kj [email protected]

Change log description

Pravega cluster upgrade is failing in certain cases. In failed scenarios, while deleting the pod, we are getting error pod not found. Due to that error upgrade status is set to failure and due to that subsequent upgrade of pods is not happening

Purpose of the change

Fixes #643

What the code does

Made changes to not return error in the case of pod deletion fails with pod not found error. This ensures that remaining pods can be upgraded successfully.

How to verify it

Verified upgrade of pravega cluster multiple times and is successful

@anishakj anishakj requested a review from jkhalack October 28, 2022 11:51
Copy link

@jkhalack jkhalack left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

Codecov Report

Base: 82.87% // Head: 82.75% // Decreases project coverage by -0.12% ⚠️

Coverage data is based on head (eb5d671) compared to base (4d2f367).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #644      +/-   ##
==========================================
- Coverage   82.87%   82.75%   -0.13%     
==========================================
  Files          17       17              
  Lines        4077     4083       +6     
==========================================
  Hits         3379     3379              
- Misses        564      567       +3     
- Partials      134      137       +3     
Impacted Files Coverage Δ
api/v1beta1/pravega.go 98.88% <ø> (ø)
controllers/pravega_segmentstore.go 98.70% <0.00%> (-1.30%) ⬇️
controllers/upgrade.go 72.81% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link

@ShwethaSNayak ShwethaSNayak left a comment

Choose a reason for hiding this comment

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

LGTM

@derekm derekm merged commit 6866e3c into master Oct 31, 2022
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.

pravega cluster upgrade is failing intermittently
5 participants