Bug 1498447

Summary: "undefined method `persisted?' for nil:NilClass" when creating a RHEV host
Product: Red Hat Satellite Reporter: Lukáš Hellebrandt <lhellebr>
Component: Compute Resources - RHEVAssignee: orabin
Status: CLOSED ERRATA QA Contact: Sanket Jagtap <sjagtap>
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bbuckingham, ehelms, inecas, orabin, sjagtap
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-1.15.6.26-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:54:37 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 Flags
traceback none

Description Lukáš Hellebrandt 2017-10-04 11:06:01 UTC
Created attachment 1334192 [details]
traceback

Description of problem:
Sometimes, when creating a new RHEV host through a dialog, after clicking submit and long waiting (probably related to some timeout), the error message is shown:

"Oops, we're sorry but something went wrong undefined method `persisted?' for nil:NilClass"

With the attached traceback.


Version-Release number of selected component (if applicable):
Reproduced on Sat6.3 snap 18.

How reproducible:
Sometimes, probably after timeout

Steps to Reproduce:
1. Hosts -> Create Host
2. Fill in the form, using RHEV computing resource as "Deploy on"
3. Submit

Actual results:
Error, traceback, operation fails

Expected results:
New host created

Comment 2 orabin 2018-01-03 11:12:46 UTC
Created redmine issue http://projects.theforeman.org/issues/22131 from this bug

Comment 3 Satellite Program 2018-01-03 13:05:47 UTC
Upstream bug assigned to orabin

Comment 4 Satellite Program 2018-01-03 13:05:50 UTC
Upstream bug assigned to orabin

Comment 5 Satellite Program 2018-01-03 17:05:45 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/22131 has been resolved.

Comment 6 Satellite Program 2018-02-21 16:54:37 UTC
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