-
Notifications
You must be signed in to change notification settings - Fork 897
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
ProcessTasksMixinin.invoke_tasks_remote should not send AuditEvent(:success) if invocation failed #18565
ProcessTasksMixinin.invoke_tasks_remote should not send AuditEvent(:success) if invocation failed #18565
Conversation
@yrudman Cannot apply the following label because they are not recognized: bug. core |
41a17eb
to
953233a
Compare
@carbonin could you review |
953233a
to
ed5d8c0
Compare
31b0c5a
to
6227567
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the one comment. Looks good otherwise.
…e to it found on global region, after that object got deleted on remote region but global region attempting to use previously found reference for Centralized Administration. What happened is: attempt to execute queue item raising 'resource not found' and message requeud. Desired behavior: if resource not found then do not requeue message Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1689330
…separetly instead of one AuditEvent per region
6227567
to
65f48ce
Compare
65f48ce
to
5c8ceb2
Compare
Checked commits yrudman/manageiq@220d37e~...5c8ceb2 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@yrudman if this will be able to be backported, can you add the hammer/yes label |
@miq-bot add-label hammer/yes |
…send-success-if-invocation-failed ProcessTasksMixinin.invoke_tasks_remote should not send AuditEvent(:success) if invocation failed (cherry picked from commit 047ef4c) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1693817
Hammer backport details:
|
@miq-bot add-label changelog/yes |
ISSUE:
ProcessTasksMixinin.invoke_tasks_remote
always sending singleAuditEvent(:success)
. So, in case all operations failed -AuditEvent(:success)
would be send anywayFIX: send appropriate
AuditEvent
for each remote resource@miq-bot add-label bug. core
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1689330