Bug 1500263
| Summary: | when upgraded from 6.2.12 to 6.3.0 snap 19.0, I can no longer show ReX job from before upgrade: undefined method `name' for nil:NilClass | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jan Hutař <jhutar> |
| Component: | Remote Execution | Assignee: | Adam Ruzicka <aruzicka> |
| Status: | CLOSED ERRATA | QA Contact: | Nikhil Kathole <nkathole> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.0 | CC: | aruzicka, bbuckingham, ehelms, inecas, nkathole |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-foreman_remote_execution-1.3.7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-21 16:59:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jan Hutař
2017-10-10 09:51:09 UTC
Created redmine issue http://projects.theforeman.org/issues/21272 from this bug Reproducer in rails console (needs at least one job invocation): template = JobInvocation.first.pattern_template_invocations.first.template template.name # Remove the template from any organization template.organizations = [] # Set current organization Organization.current = Organization.first # The next line raises undefined method `name' for nil:NilClass template.name Upstream bug assigned to aruzicka Upstream bug assigned to aruzicka Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21272 has been resolved. Not sure if this is same issue or something different, but when I have upgraded from snap 19 -> 20 -> 21, issue is still present and looks like that the remote execution template just ended in different org. I do not know why is that, but when I have added Default Organization to correct ReX template, it worked. (In reply to Jan Hutař from comment #8) yes, it should be this issue VERIFIED Version Tested: Satellite-6.3 Snap 25 steps: 1. Installed 6.2.12 2. Performed some remote execution job 3. Upgraded to satellite 6.3 snap 25 I was able to see https://<fqdn>/job_invocations/<id> page. But found an issue with rerunning/rerunning failed Rex job https://bugzilla.redhat.com/show_bug.cgi?id=1515082. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336 |