Bug 1498447 - "undefined method `persisted?' for nil:NilClass" when creating a RHEV host
Summary: "undefined method `persisted?' for nil:NilClass" when creating a RHEV host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - RHEV
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: orabin
QA Contact: Sanket Jagtap
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-04 11:06 UTC by Lukáš Hellebrandt
Modified: 2019-08-12 14:02 UTC (History)
5 users (show)

Fixed In Version: foreman-1.15.6.26-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
traceback (28.72 KB, text/plain)
2017-10-04 11:06 UTC, Lukáš Hellebrandt
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 22131 0 'Normal' 'Closed' '"undefined method `persisted?'' for nil:NilClass" when creating a RHEV host' 2019-11-18 10:39:31 UTC

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


Note You need to log in before you can comment on or make changes to this bug.