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

Delete next-run snapshot in a compensation context #509

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

dupondje
Copy link
Member

@dupondje dupondje commented Jun 30, 2022

The next-run snapshot is created in a compensation context, which causes
it to be removed if something fails.
But the previous (if exists) next-run snapshot is removed outside the
compensation context.

This causes the VM's to lose its next-run snapshot if for example an
UpdateCluster fails.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=2094729
Signed-off-by: Jean-Louis Dupond jean-louis@dupond.be

@ahadas ahadas added the virt label Jun 30, 2022
The next-run snapshot is created in a compensation context, which causes
it to be removed if something fails.
But the previous (if exists) next-run snapshot is removed outside the
compensation context.

This causes the VM's to lose its next-run snapshot if for example an
UpdateCluster fails.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=2094729
Signed-off-by: Jean-Louis Dupond jean-louis@dupond.be
@dupondje dupondje force-pushed the fix_ccv_on_cluster_upgrade branch from d9c6d8c to 004a397 Compare July 4, 2022 13:34
@dupondje dupondje changed the title Don't set a CustomCompatibilityVersion on ClusterUpgrade Delete next-run snapshot in a compensation context Jul 4, 2022
@dupondje dupondje requested a review from ahadas July 4, 2022 13:36
@smelamud
Copy link
Member

smelamud commented Jul 5, 2022

It came into my mind that the first try to upgrade ClusterLevel failed because of some incompatible setting of 1 VM.
I fixed that VM, rebooted it, and did another try to update the clusterlevel, which then succeeded.

@dupondje, can you please describe the scenario in the bug, so QE will khow how to test it?

@ahadas ahadas merged commit b99c10c into oVirt:master Jul 6, 2022
@dupondje
Copy link
Member Author

dupondje commented Jul 6, 2022

It came into my mind that the first try to upgrade ClusterLevel failed because of some incompatible setting of 1 VM.
I fixed that VM, rebooted it, and did another try to update the clusterlevel, which then succeeded.

@dupondje, can you please describe the scenario in the bug, so QE will khow how to test it?

Done!

@smelamud
Copy link
Member

smelamud commented Jul 6, 2022

Done!

Thank you very much for you contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants