Bug 1219730

Summary: Auto Approve - Max CPU * company tag lists wrong values
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: cpelland, hkataria, jhardy, jkrocil, jprause, mfeifer, mpovolny, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1242986 (view as bug list) Environment:
Last Closed: 2015-12-08 13:08:41 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1242986    

Description Nandini Chandra 2015-05-08 03:24:09 UTC
Description of problem:
--------------------------
While editing tags for VMs/Hosts,I noticed that the Auto Approve - Max CPU * company tag lists wrong values.


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


How reproducible:
----------------
Always


Steps to Reproduce:
------------------
1.Edit tags for a VM
2.Select the Auto Approve - Max CPU * company tag.
3.Observe that wrong values are listed in the drop down for this tag.


Actual results:
----------------
These values are incorrectly listed in the drop down for the Auto Approve - Max CPU * company tag :Cost Center 001,Cost Center 002.


Expected results:
----------------
Correct values should be listed in the drop down for the 
Auto Approve - Max CPU * company tag.



Additional info:
----------------

Comment 3 Milan Zázrivec 2015-05-12 16:31:47 UTC
https://github.com/ManageIQ/manageiq/pull/2901

Comment 4 CFME Bot 2015-05-13 17:31:02 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/9294474dca95997b4aa4d19d55b31a3f95b74d5b

commit 9294474dca95997b4aa4d19d55b31a3f95b74d5b
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Tue May 12 18:29:27 2015 +0200
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Tue May 12 18:52:16 2015 +0200

    Fix value of initial tag assignments
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1219730

 vmdb/app/controllers/application_controller/tags.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comment 5 John Prause 2015-05-14 18:34:36 UTC
This needs to be cherry-picked to 5.4.z, since the commit made was after the 5.4.z was created yesterday.

Comment 6 Harpreet Kataria 2015-07-14 13:59:28 UTC
*** Bug 1241867 has been marked as a duplicate of this bug. ***

Comment 7 Nandini Chandra 2015-09-15 19:16:26 UTC
Verified in master.20150915141925_58436ca

Comment 8 Nandini Chandra 2015-09-29 16:51:44 UTC
Verified in 5.5.0.1

Comment 10 errata-xmlrpc 2015-12-08 13:08:41 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-2015:2551