Bug 1331177

Summary: Hosts: Deleting a host shows error (first time only)
Product: Red Hat CloudForms Management Engine Reporter: Shveta <sshveta>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: hosts
Fixed In Version: 5.6.0.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:55:43 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:
Attachments:
Description Flags
add host
none
error none

Description Shveta 2016-04-27 21:31:41 UTC
Created attachment 1151629 [details]
add host

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Add a host with any data as shown in screenshot.
2. Select the host - configuration - Remove host - shows error . screenshot 2
3. Host gets deleted 

Actual results:


Expected results:


Additional info:
5.6.0.4-beta2.3.20160421172650_719e256

Comment 2 Shveta 2016-04-27 21:32:42 UTC
Created attachment 1151630 [details]
error

Comment 4 Milan Zázrivec 2016-05-02 15:27:26 UTC
https://github.com/ManageIQ/manageiq/pull/8383

Comment 5 CFME Bot 2016-05-04 05:25:53 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/ee49ec868b04c97c726969754dc509bc67f2bdae

commit ee49ec868b04c97c726969754dc509bc67f2bdae
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Mon May 2 17:24:36 2016 +0200
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Tue May 3 10:53:25 2016 +0200

    Fix infra host deletion error
    
    This is to address the following error shown when deleting infra host:
    
    undefined local variable or method 'id' for #<HostController...
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1331177

 app/controllers/application_controller/ci_processing.rb     |  6 +++++-
 .../application_controller/ci_processing_spec.rb            | 13 +++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

Comment 6 Shveta 2016-05-13 00:46:44 UTC
Fixed.
Verified in 5.6.0.6-beta2.5.20160511140943_ff75fb2

Comment 9 errata-xmlrpc 2016-06-29 15:55:43 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/RHBA-2016:1348