Created attachment 1349612 [details]
base_class error trace
Description of problem:
we are getting refresh ems refresh error:
(EmsRefresh.update_relats_by_ids) An error occurred while disconnecting id : undefined method `base_class' for NilClass:Class
Version-Release number of selected component (if applicable):
CloudForms Version 220.127.116.11.20170725160636_e433fc0
VM was provisioned cca 1 hour before error and was retired cca 30 min before error.
We are getting several errors of the same kind.
Attached is part of log with error trace.
Steps to Reproduce:
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.
Which provider is this for?
It is VMware vCenter (although managed by vCloud Director. But vCD is not enabled at Cloudforms as provider)
Is the VM getting deleted?
VM was provisioned approximately one hour before error.
VM was terminated approximately 30 minutes before error appeared.
I remember we looked at this before and it was caused by deleted folders and didn't have any negative impact.
If you have having issues I doubt it is caused by this exception, can you attach the full log set and describe any negative behavior you are seeing?
James can you see if there is anything we can do to prevent this exception? Check for nil before removing children maybe?
Created attachment 1375841 [details]
Attaching current fresh logs.
Although it may look like this bug does not have impact, it exist in current code base and may be misleading in identification of another issues.
Any progress on this case?
New commit detected on ManageIQ/manageiq/master:
Author: James Wong <email@example.com>
AuthorDate: Thu Feb 22 22:33:01 2018 -0500
Commit: James Wong <firstname.lastname@example.org>
CommitDate: Fri Mar 2 16:14:05 2018 -0500
removal of nil before remove_children
app/models/mixins/relationship_mixin.rb | 2 +-
spec/models/mixins/relationship_mixin_spec.rb | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
On Build, 18.104.22.168, After trying to provision and retire VM, I reviewed logs and did not find any errors like in https://bugzilla.redhat.com/attachment.cgi?id=1349612
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.