Bug 1206285 - CFME allows deletion of default compute and storage chargeback rates
Summary: CFME allows deletion of default compute and storage chargeback rates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: 5.6.0
Assignee: Greg Piatigorski
QA Contact: Nandini Chandra
URL:
Whiteboard: chargeback
Depends On:
Blocks: 1291757
TreeView+ depends on / blocked
 
Reported: 2015-03-26 17:34 UTC by Nandini Chandra
Modified: 2019-07-11 08:51 UTC (History)
13 users (show)

Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1291757 (view as bug list)
Environment:
Last Closed: 2016-06-29 14:53:34 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:
nachandr: automate_bug? (nachandr)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1284014 0 medium CLOSED Don't have ability to add a new chargeback rate 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Internal Links: 1284014

Description Nandini Chandra 2015-03-26 17:34:16 UTC
Description of problem:
---------------------------
CFME allows the deletion of default compute and storage chargeback rates.The deletion of default chargeback rates shouldn't be allowed and a relevant message should be displayed.


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


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


Steps to Reproduce:
------------------
1.Navigate to the Cloud Intelligence-> Chargeback page
2.Attempt to remove the default Compute and Storage chargeback rates.


Actual results:
--------------


Expected results:
----------------


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

Comment 2 Greg Piatigorski 2015-06-17 14:33:52 UTC
PR created: https://github.com/ManageIQ/manageiq/pull/3191

Comment 3 tim.moor 2015-07-10 03:53:56 UTC
I have a customer that has delete there default rates cards and would like to understand how they can be recovered. 

Case: # 01474839

Comment 5 Greg Piatigorski 2015-07-13 15:48:00 UTC
Tim, in (Terminal) Console, run: ChargebackRate.seed 

It will restore defaults for both Compute and Storage default rates if they are missing.

Comment 8 Greg Piatigorski 2015-10-16 23:52:26 UTC
PR created to disallow deletes of Assigned Chargeback Rates:
https://github.com/ManageIQ/manageiq/pull/4717

PR created to replace Default rates with Sample:
https://github.com/ManageIQ/manageiq/pull/4944

Comment 13 Satoe Imaishi 2016-06-27 18:02:01 UTC
Never mind.. found PR for 5.6.0: https://github.com/ManageIQ/manageiq/pull/6525

Comment 14 Nandini Chandra 2016-06-28 10:25:29 UTC
Verified in 5.6.0.13.

Verified the following:
1)Unassigned rates can be deleted.
2)Assigned rates cannot be deleted.

Comment 16 errata-xmlrpc 2016-06-29 14:53:34 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


Note You need to log in before you can comment on or make changes to this bug.