Bug 1515082
Summary: | Rerunning a ReX job with JobTemplate not in current Org/Loc shows undefined method `input_values' for nil:NilClass | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Nikhil Kathole <nkathole> | ||||||
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, inecas, mbacovsk, pcreech | ||||||
Target Milestone: | 6.5.0 | Keywords: | Triaged | ||||||
Target Release: | Unused | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2019-05-14 12:36:46 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: | |||||||||
Attachments: |
|
Description
Nikhil Kathole
2017-11-20 06:24:29 UTC
Created redmine issue http://projects.theforeman.org/issues/21704 from this bug The bug is caused by templates not being assigned to Organizations/Locations. This happens after upgrade from 6.2 to 6.3 and is already handled in another BZ[1]. Also rerunning a job with a template in another org/loc never worked, so it is not a regression. Moving it out of 6.3. How reproducible: always Steps to reproduce: 1) Run a job 2) Go to Hosts > Job Templates 3) Edit the template 4) Remove the template from current Organization and Location 5) Rerun the job from 1 6) (optional) notice the job form is malformed (missing some fields, displaying different values in Job category and Job template fields) 7) Click submit anyway [1] - https://bugzilla.redhat.com/show_bug.cgi?id=1522734 Upstream bug assigned to aruzicka Upstream bug assigned to aruzicka Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/21704 has been resolved. VERIFIED version tested: Satellite 6.5 snap 14 Rerunning a ReX job with JobTemplate not in current Org/Loc shows the correct error message as "Warning! Could not rerun job <id> because its template could not be found" Created attachment 1527773 [details]
screenshot of UI : error handled
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-2019:1222 |