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: produce successful event if backup finished successfully #467

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

bennyz
Copy link
Member

@bennyz bennyz commented Jun 15, 2022

Even if we were unable to remove the auto-generated snapshot, the backup will be considered successful. This patch produces the right audit log entry to indicate the backup did not fail.

@bennyz bennyz requested a review from ahadas as a code owner June 15, 2022 09:29
@bennyz bennyz requested a review from mkemel June 15, 2022 09:38
@ahadas
Copy link
Member

ahadas commented Jun 15, 2022

that's a good alternative, let's give a chance for wait-lock and use this approach as a fallback

@bennyz
Copy link
Member Author

bennyz commented Jun 15, 2022

that's a good alternative, let's give a chance for wait-lock and use this approach as a fallback

As discussed, this is relevant regardless for cases where snapshot removal fails for reasons other than validation

@bennyz bennyz added the storage label Jun 15, 2022
@bennyz
Copy link
Member Author

bennyz commented Jun 15, 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.

this approach looks good and as discussed offline, makes sense even if we'll add wait-lock

Even if we were unable to remove the auto-generated snapshot, the backup
will be considered successful. This patch produces the right audit log
entry to indicate the backup did not fail.

Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
@ahadas
Copy link
Member

ahadas commented Jun 21, 2022

/ost

@ahadas ahadas merged commit a44d239 into oVirt:master Jun 21, 2022
@bennyz bennyz deleted the backup-audit-log-success branch July 28, 2022 13:18
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