Bug 1581501

Summary: Expression methods can not access Flavor tags
Product: Red Hat CloudForms Management Engine Reporter: Jeff Warnica <jwarnica>
Component: ApplianceAssignee: Yuri Rudman <yrudman>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: abellott, cpelland, mkanoor, mmojzis, obarenbo, simaishi, tfitzger, yrudman
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:filter:flavor
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1591496 (view as bug list) Environment:
Last Closed: 2019-02-11 14:04:33 UTC Type: Bug
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:    
Bug Blocks: 1591496    

Description Jeff Warnica 2018-05-22 23:55:25 UTC
Description of problem:

Expression methods can not access Flavor tags


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

How reproducible:
100%

Steps to Reproduce:
1. Create new expression method. Select expression object "Flavor"
2. Create expression; select tag
3. Attempt to select Flavor.<corp>.<tag category>

Actual results:
Only Flavor.Build.<corp>.<tag category>, Flavor.Cluster/Deployment.<corp>.<tag category>, etc, (x10000) are available

Expected results:
Can filter on Flavor tags

Comment 2 Greg McCullough 2018-05-23 12:57:04 UTC
The same results are visible when using Advanced Search from Compute -> Clouds -> Flavors.

Sending to the Appliance team to review as this is a general expression issue and not specifically related to Automate Expression Methods.

Comment 4 CFME Bot 2018-06-07 15:36:30 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/110969f164c010e1ffe26f3ffee807f510a43c8e
commit 110969f164c010e1ffe26f3ffee807f510a43c8e
Author:     Yuri Rudman <yrudman>
AuthorDate: Wed Jun  6 10:17:13 2018 -0400
Commit:     Yuri Rudman <yrudman>
CommitDate: Wed Jun  6 10:17:13 2018 -0400

    add Flavor model to :tag_classes: sections in miq_expression.yml. It would allow to select Flavor.My Company Tags... when building expressions.
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1581501

 config/miq_expression.yml | 1 +
 1 file changed, 1 insertion(+)

Comment 6 Matouš Mojžíš 2018-07-24 14:10:44 UTC
Verified in 5.10.0.4. Flavor.MyCompany. expression items are available for tag filters.