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

vm will be down when active snapshot does not have memory #653

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

ahadas
Copy link
Member

@ahadas ahadas commented Sep 13, 2022

Previously, when trying-back/restoring a snapshot that doesn't have memory while the client requested to restore memory, the VM would have switched to Suspended state.

Now, the VM is set to Suspended only when the active snapshot, the snapshot that was created by the trying-back/restore operation, is set with memory volumes. Otherwise, the VM is set to Down.

See: oVirt/ovirt-web-ui#1629

Signed-off-by: Arik Hadas ahadas@redhat.com

@ahadas ahadas requested a review from bennyz as a code owner September 13, 2022 19:50
Previously, when trying-back/restoring a snapshot that doesn't have
memory while the client requested to restore memory, the VM would
have switched to Suspended state.

Now, the VM is set to Suspended only when the active snapshot, the
snapshot that was created by the trying-back/restore operation, is
set with memory volumes. Otherwise, the VM is set to Down.

See: oVirt/ovirt-web-ui#1629

Signed-off-by: Arik Hadas <ahadas@redhat.com>
@ahadas
Copy link
Member Author

ahadas commented Sep 14, 2022

/ost

Copy link
Member

@sgratch sgratch left a comment

Choose a reason for hiding this comment

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

A post merge comment since i saw it only now.

@ahadas ahadas deleted the restore_memory branch September 18, 2022 07:03
sgratch added a commit to sgratch/ovirt-engine that referenced this pull request Sep 21, 2022
…ring purpose

This is a followup fix for
oVirt#653 (based on a comment review).
by including the metadata volumes (in addition to memory ones) when checking if
an active snapshot is set with memory for restoring.
ahadas pushed a commit that referenced this pull request Sep 21, 2022
…ring purpose

This is a followup fix for
#653 (based on a comment review).
by including the metadata volumes (in addition to memory ones) when checking if
an active snapshot is set with memory for restoring.
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

3 participants