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

core: fail unmonitored backups #615

Merged
merged 2 commits into from
Aug 28, 2022
Merged

Conversation

bennyz
Copy link
Member

@bennyz bennyz commented Aug 24, 2022

If the command monitoring a VM backup is no longer present in the command_entities table, it will be impossible to finalize the backup and it will be stuck in the finalizing phase.

This patch checks periodically for backups that are active but are no longer monitored and fails them, notifying the user a cleanup may be required.

Bug-Url: https://bugzilla.redhat.com/2107590

@bennyz bennyz force-pushed the fail-unmonitored-backups branch 2 times, most recently from fb8f6a9 to 0d433ab Compare August 25, 2022 09:15
@bennyz
Copy link
Member Author

bennyz commented Aug 25, 2022

/ost

Copy link
Member

@ahadas ahadas left a comment

Choose a reason for hiding this comment

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

lgtm, really minor comment inside

@ahadas ahadas changed the title core: fail unomonitored backups core: fail unmonitored backups Aug 25, 2022
@ahadas
Copy link
Member

ahadas commented Aug 25, 2022

/ost

1 similar comment
@bennyz
Copy link
Member Author

bennyz commented Aug 25, 2022

/ost

bennyz and others added 2 commits August 26, 2022 12:58
If the command monitoring a VM backup is no longer present in the
command_entities table, it will be impossible to finalize the backup and
it will be stuck in the finalizing phase.

This patch checks periodically for backups that are active but are no
longer monitored and fails them, notifying the user a cleanup may be
required.

Bug-Url: https://bugzilla.redhat.com/2107590
Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
@ahadas
Copy link
Member

ahadas commented Aug 28, 2022

/ost

@ahadas ahadas merged commit 1658c0f into oVirt:master Aug 28, 2022
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

2 participants