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 monitoring of RemoveVm #734

Merged
merged 1 commit into from Nov 3, 2022
Merged

Fix monitoring of RemoveVm #734

merged 1 commit into from Nov 3, 2022

Conversation

ahadas
Copy link
Member

@ahadas ahadas commented Nov 2, 2022

Previously, RemoveVm and RemoveAllVmImages didn't have a callback so they didn't wait for all instances of RemoveImage to finish before finishing RemoveVm and therefore the job of RemoveVm may have been completed while the images are still locked in the database.

Now, RemoveVm is completed after RemoveImage completes and the images are removed from the database.

Previously, RemoveVm and RemoveAllVmImages didn't have a callback so they
didn't wait for all instances of RemoveImage to finish before finishing
RemoveVm and therefore the job of RemoveVm may have been completed while
the images are still locked in the database.

Now, RemoveVm is completed after RemoveImage completes and the images are
removed from the database.

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

ahadas commented Nov 2, 2022

/ost

@ahadas ahadas merged commit c7b51e3 into oVirt:master Nov 3, 2022
@ahadas ahadas deleted the remove_vm_disks branch November 6, 2022 09:33
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.

None yet

3 participants