Bug 1414887

Summary: Suspending role in diagnostics Error caught: [ActiveRecord::RecordNotFound] Couldn't find MiqServer with 'id'=0
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: high    
Version: 5.7.0CC: abellott, hkataria, jhardy, jrafanie, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: configuration:appliance
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1404280 Environment:
Last Closed: 2017-02-27 19:29:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1404280    
Bug Blocks:    

Comment 2 CFME Bot 2017-01-19 16:40:58 UTC
New commit detected on ManageIQ/manageiq/euwe:

commit 3b704a60b9cd68bec99ffcfca0bb625c9363adee
Author:     Dan Clarizio <dclarizi@redhat.com>
AuthorDate: Mon Dec 19 06:59:44 2016 -0800
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Thu Jan 19 11:35:04 2017 -0500

    Merge pull request #13234 from h-kataria/diagnostics_tree_record_find_error_fix
    Fixed code that sets selected_server record to be used by view.
    (cherry picked from commit 0287ec1aad916b6d5095779eecf0eb241f249be7)

 app/controllers/ops_controller/diagnostics.rb      |  3 +-
 .../controllers/ops_controller/diagnostics_spec.rb | 34 ++++++++++++++++++++++
 2 files changed, 35 insertions(+), 2 deletions(-)

Comment 3 Matouš Mojžíš 2017-01-25 12:36:26 UTC
Verified in No error appeared after suspending a role.

Comment 5 errata-xmlrpc 2017-02-27 19:29:20 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.