Bug 1673143
| Summary: | system_context requester for retirement returns RecordNotFound if evm_owner_id points to user that's been deleted | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Tina Fitzgerald <tfitzger> | |
| Component: | Automate | Assignee: | drew uhlmann <duhlmann> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Niyaz Akhtar Ansari <nansari> | |
| Severity: | medium | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> | |
| Priority: | medium | |||
| Version: | 5.10.0 | CC: | dmetzger, duhlmann, gekis, mkanoor, mshriver, obarenbo, simaishi, tfitzger | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.11.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.11.0.1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1678474 1678476 (view as bug list) | Environment: | ||
| Last Closed: | 2019-12-13 15:09:42 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | Bug | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | CFME Core | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1678476 | |||
|
Description
Tina Fitzgerald
2019-02-06 18:36:27 UTC
This issue was opened as a result of log messages included here: https://bugzilla.redhat.com/show_bug.cgi?id=1672338 Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition. If it's something like a tracker bug where it doesn't matter, please set the severity to Low. Sure, sorry Gellert. You can do all that through logs, unless you're meaning something else? I'm not quite sure what you're looking for, but for a system_context retirement the logging should look like this: We run the retirement check at https://github.com/ManageIQ/manageiq/blob/master/app/models/mixins/retirement_mixin.rb#L124 which raises the retirement event, which should show ```Raising Retirement Event for [#{name}] with queue options: #{q_options.inspect}")``` which then raises the evm_event, there's a log message associated with that, too. You should also see it hitting the system_context_requester log line https://github.com/ManageIQ/manageiq/blob/master/app/models/mixins/retirement_mixin.rb#L257. Verified in Version 5.11.0.8.20190611155126_01e077e |