Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1281597 - Automate | Quota exceeded, reason and log message values need formatting.
Automate | Quota exceeded, reason and log message values need formatting.
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate (Show other bugs)
5.5.0
Unspecified Unspecified
unspecified Severity low
: GA
: 5.6.0
Assigned To: Tina Fitzgerald
Jiri Stefanisin
: ZStream
Depends On:
Blocks: 1289278
  Show dependency treegraph
 
Reported: 2015-11-12 16:34 EST by Tina Fitzgerald
Modified: 2016-06-29 11:05 EDT (History)
8 users (show)

See Also:
Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1289278 (view as bug list)
Environment:
Last Closed: 2016-06-29 11:05:53 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Tina Fitzgerald 2015-11-12 16:34:01 EST
When a quota item is denied, the log message and the reason text displayed in the denied request shows memory and storage values in bytes for used, requested, and quota limits. Added formatting for readability.

Before:
Request exceeds maximum allowed for the following: (cpu - Used: 1719 plus requested: 4 exceeds quota: 1) (memory - Used: 3424520 plus requested: 16106127360 exceeds quota: 2147483648) (storage - Used: 5018504 plus requested: 85899345920 exceeds quota:

After:
Request exceeds maximum allowed for the following: (cpu - Used: 1719 plus requested: 4 exceeds quota: 1) (memory - Used: 3.27 MB plus requested: 15.00 GB exceeds quota: 2.00 GB) (storage - Used: 4.79 MB plus requested: 80.00 GB exceeds quota:
Comment 3 Tina Fitzgerald 2015-11-17 17:56:35 EST
Hi Satoe,

Sorry about that.

Here's the PR:
https://github.com/ManageIQ/manageiq/pull/5419

I don't have an MR.

Thanks,
Tina
Comment 5 Greg McCullough 2015-12-07 14:49:20 EST
commit d338efab36eaf6934f87b1d125d74de39c68ad7d
Author: Tina Fitzgerald <tfitzger@redhat.com>
Date:   Tue Nov 10 18:04:10 2015 -0500

    Changed exceeded reason and log message unit of measure for storage and
    memory and changed spec test.
    
    BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1281597
    
    Change spec test error messages.

db/fixtures/ae_datastore/ManageIQ/System/CommonMethods/QuotaMethods.class/__methods__/validate_quota.rb
spec/automation/unit/method_validation/validate_quota_spec.rb
Comment 6 Jiri Stefanisin 2016-04-25 10:30:45 EDT
Verified on 5.6.0.4-beta2.3.20160421172650_719e256 with no issues.
Comment 8 errata-xmlrpc 2016-06-29 11:05:53 EDT
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.