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

feat: add cloudstackhost chaos #82

Merged
merged 18 commits into from
Jul 19, 2024
Merged

Conversation

sshutovskyi-f3
Copy link

@sshutovskyi-f3 sshutovskyi-f3 commented Jun 3, 2024

What problem does this PR solve?

We want to add an automated DR test for failing Hypervisor https://github.com/form3tech/payport-plus/issues/18

What's changed and how it works?

A new action "host-stop" is added to CloudStackHostChaos that on application will send an "OFF" power action to a random host matching selectors, and on recover send an "ON" power action to all off hosts matching selectors and try to start vms that fail to recover.

Proof of work

Execution logs:

image

Related changes

  • This change also requires further updates to the website (e.g. docs)
  • This change also requires further updates to the UI interface

Cherry-pick to release branches (optional)

This PR should be cherry-picked to the following release branches:

  • release-2.6
  • release-2.5

Checklist

CHANGELOG

Must include at least one of them.

  • I have updated the CHANGELOG.md
  • I have labeled this PR with "no-need-update-changelog"

Tests

Must include at least one of them.

  • Unit test
  • E2E test
  • Manual test

Side effects

  • Breaking backward compatibility

DCO

If you find the DCO check fails, please run commands like below (Depends on the actual situations. For example, if the failed commit isn't the most recent) to fix it:

git commit --amend --signoff
git push --force

Copy link

github-actions bot commented Jun 3, 2024

Created new release based on commit 1ec644b

Release tag: v2.6.1-f3-1ec64-sergii-add-hostrestart-chaos

Link to release

Copy link

github-actions bot commented Jun 3, 2024

Created new release based on commit 6e770c9

Release tag: v2.6.1-f3-6e770-sergii-add-hostrestart-chaos

Link to release

Copy link

github-actions bot commented Jun 3, 2024

Created new release based on commit ea4e90f

Release tag: v2.6.1-f3-ea4e9-sergii-add-hostrestart-chaos

Link to release

Copy link

github-actions bot commented Jun 6, 2024

Created new release based on commit 299d372

Release tag: v2.6.1-f3-299d3-sergii-add-hostrestart-chaos

Link to release

Copy link

github-actions bot commented Jun 7, 2024

Created new release based on commit 5dec142

Release tag: v2.6.1-f3-5dec1-sergii-add-hostrestart-chaos

Link to release

@sshutovskyi-f3 sshutovskyi-f3 changed the title feat: add host-stop action to cloudstackvm chaos feat: add cloudstackhost chaos Jun 21, 2024
Copy link

Created new release based on commit afc1985

Release tag: v2.6.1-f3-afc19-sergii-add-hostrestart-chaos

Link to release

Copy link

Created new release based on commit 5186267

Release tag: v2.6.1-f3-51862-sergii-add-hostrestart-chaos

Link to release

Copy link

Created new release based on commit 688c68e

Release tag: v2.6.1-f3-688c6-sergii-add-hostrestart-chaos

Link to release

Copy link

Created new release based on commit d24b197

Release tag: v2.6.1-f3-d24b1-sergii-add-hostrestart-chaos

Link to release

Copy link

Created new release based on commit a5cdc43

Release tag: v2.6.1-f3-a5cdc-sergii-add-hostrestart-chaos

Link to release

Copy link

Created new release based on commit faa4387

Release tag: v2.6.1-f3-faa43-sergii-add-hostrestart-chaos

Link to release

@sshutovskyi-f3 sshutovskyi-f3 marked this pull request as ready for review July 18, 2024 12:56
@sshutovskyi-f3 sshutovskyi-f3 requested a review from a team as a code owner July 18, 2024 12:56
@sshutovskyi-f3 sshutovskyi-f3 merged commit 97d3a04 into master Jul 19, 2024
47 checks passed
@sshutovskyi-f3 sshutovskyi-f3 deleted the sergii-add-hostrestart-chaos branch July 19, 2024 11:49
@miketonks-form3 miketonks-form3 restored the sergii-add-hostrestart-chaos branch July 23, 2024 08:47
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