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(abort): fixing chaosresult annotation conflict while updating chaosresult for abort scenarios #567

Merged
merged 2 commits into from
Sep 20, 2022

Conversation

ispeakc0de
Copy link
Member

@ispeakc0de ispeakc0de commented Sep 19, 2022

What this PR does / why we need it:

PR to fix

  • chaosresult update conflicts for abort scenarios
  • remove the duplicate targets inside the chaosresult
  • fix experiment to failed if helper is evicted or manually deleted

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Issue:
In abort scenarios - helper pod keep annotating the chaos-result for targets and their revert status. At the same time experiment pod is updating the chaosresult for abort in parallel
Experiment pod get and update the chaosresult but in the mean-time helper pod updates the chaosresult for annotations, which cause the update function to fail.

Checklist:

  • Fixes #
  • PR messages has document related information
  • Labelled this PR & related issue with breaking-changes tag
  • PR messages has breaking changes related information
  • Labelled this PR & related issue with requires-upgrade tag
  • PR messages has upgrade related information
  • Commit has unit tests
  • Commit has integration tests
  • E2E run Required for the changes

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
@ispeakc0de ispeakc0de merged commit f196f76 into litmuschaos:master Sep 20, 2022
SaptarshiSarkar12 pushed a commit to SaptarshiSarkar12/litmus-go that referenced this pull request Sep 21, 2022
…osresult for abort scenarios (litmuschaos#567)

* fix(result): fix chaosresult update conflict issue

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
Signed-off-by: Saptarshi Sarkar <saptarshi.programmer@gmail.com>
chinmaym07 pushed a commit to chinmaym07/litmus-go that referenced this pull request Sep 24, 2022
…osresult for abort scenarios (litmuschaos#567)

* fix(result): fix chaosresult update conflict issue

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
chinmaym07 pushed a commit to chinmaym07/litmus-go that referenced this pull request Sep 24, 2022
…osresult for abort scenarios (litmuschaos#567)

* fix(result): fix chaosresult update conflict issue

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
Signed-off-by: chinmaym07 <b418020@iiit-bh.ac.in>
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.

3 participants