Bug 1459261 - vmreconfigure allows circumvention of quota and approval mechanisms
Summary: vmreconfigure allows circumvention of quota and approval mechanisms
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.1
Assignee: William Fitzgerald
QA Contact: Vatsal Parekh
URL:
Whiteboard: reconfigure:quota
Depends On: 1393552
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-06 16:21 UTC by Satoe Imaishi
Modified: 2022-07-09 08:38 UTC (History)
11 users (show)

Fixed In Version: 5.8.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1393552
Environment:
Last Closed: 2017-08-02 17:26:33 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1758 0 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-08-02 21:23:43 UTC

Comment 2 CFME Bot 2017-06-06 16:23:57 UTC
New commit detected on ManageIQ/manageiq-content/fine:
https://github.com/ManageIQ/manageiq-content/commit/901889ea13ed813ec39b851873162460834f9cbd

commit 901889ea13ed813ec39b851873162460834f9cbd
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Thu May 4 17:32:59 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Jun 6 12:21:59 2017 -0400

    Merge pull request #56 from billfitzgerald0120/quota_reconfig
    
    Add quota checking for VMReconfigure tests.
    (cherry picked from commit 321e0437581853f1b7667439ca6b25c74de41046)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1459261

 .../QuotaMethods.class/__methods__/requested.rb    | 70 +++++++++++++++++++++-
 .../__methods__/validate_quota.rb                  |  8 +++
 .../vmreconfigurerequest_starting.yaml             | 12 ++++
 .../method_validation/calculate_requested_spec.rb  | 35 ++++++++++-
 .../unit/method_validation/validate_quota_spec.rb  | 50 ++++++++++------
 5 files changed, 154 insertions(+), 21 deletions(-)
 create mode 100644 content/automate/ManageIQ/System/Policy.class/vmreconfigurerequest_starting.yaml

Comment 3 Aziza Karol 2017-07-06 07:59:09 UTC
Tested Vmreconfigure quotas for tenant, group and user as quota source.
Verified reconfiguring the vm over the set limits, under the set limit  and with the same limits. 


Verified:5.8.1.0.20170623170756_3ed4411

Comment 5 errata-xmlrpc 2017-08-02 17:26:33 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-2017:1758


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