Bug 1583711

Summary: Unexpected Error when accessing SERVICE -> REQUESTS (undefined method find_tags_by_grouping)
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ApplianceAssignee: Yuri Rudman <yrudman>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: abellott, cpelland, dajohnso, fdewaley, gtanzill, hkataria, lavenel, mpovolny, ngupta, obarenbo, sshveta, yrudman
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.4   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 5.8.4.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1576129 Environment:
Last Closed: 2018-06-25 14:20:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1576129    
Bug Blocks:    

Comment 1 CFME Bot 2018-05-29 14:21:51 UTC
New commit detected on ManageIQ/manageiq/fine:

https://github.com/ManageIQ/manageiq/commit/fb18f4d2a3b33cd6edbb98ce0f277c791f11acfc
commit fb18f4d2a3b33cd6edbb98ce0f277c791f11acfc
Author:     Joe Rafaniello <jrafanie.github.com>
AuthorDate: Wed May 23 11:14:23 2018 -0400
Commit:     Joe Rafaniello <jrafanie.github.com>
CommitDate: Wed May 23 11:14:23 2018 -0400

    Merge pull request #17466 from yrudman/make-miq_request-act-as-taggable

    Added ActAsTaggable concern to MiqRequest model
    (cherry picked from commit 5923577ea5370b94c05efe74ce85b65982925593)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1583711

 app/models/miq_request.rb | 2 +
 1 file changed, 2 insertions(+)

Comment 2 Shveta 2018-06-13 00:15:38 UTC
Not seeing the error on clicking service - request as user .
But I have one doubt the group is assigned tag "Provisioning Scope = something " tag 
but it is not showing up under "Smart management" like in the "role_details" attachment .

Can you check the appliance once :
https://10.8.198.117/ 
group - custom1


user - shveta/redhat

Comment 3 Gregg Tanzillo 2018-06-14 18:44:51 UTC
I looked at that appliance and assigned the same tag to the group (under "Smart Management") but I still didn't see the error. 

I looked at the code on that appliance and it looks like Yuri's fix is already there. See line 15 of /var/www/miq/vmdb/app/models/miq_request.rb. That's the line he added.

Comment 4 Shveta 2018-06-14 19:30:56 UTC
Verified based on above comment .

Comment 6 errata-xmlrpc 2018-06-25 14:20:46 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:1972