Bug 1533263

Summary: [RFE] Add Quota calculations for reconfigure resize disks
Product: Red Hat CloudForms Management Engine Reporter: Tina Fitzgerald <tfitzger>
Component: AutomateAssignee: William Fitzgerald <wfitzger>
Status: CLOSED ERRATA QA Contact: Ganesh Hubale <ghubale>
Severity: low Docs Contact:
Priority: low    
Version: 5.10.0CC: ghubale, greartes, mkanoor, obarenbo, simaishi, tfitzger, vparekh
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 13:33:21 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:
Attachments:
Description Flags
disk resize screen shot none

Description Tina Fitzgerald 2018-01-10 22:13:53 UTC
Created attachment 1379735 [details]
disk resize screen shot

VMWare enhancement to allow for disk resize:
https://github.com/ManageIQ/manageiq/pull/16711

See screenshot 

Quota currently handles options[:disk_add] and options[:disk_remove].
Quota needs to also look for: options[:disk_resize]

Comment 2 Dave Johnson 2018-01-10 22:44:48 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 4 CFME Bot 2018-12-17 16:06:40 UTC
New commit detected on ManageIQ/manageiq-content/master:

https://github.com/ManageIQ/manageiq-content/commit/0031d918edbb412d3fba1faae90335e641a6255a
commit 0031d918edbb412d3fba1faae90335e641a6255a
Author:     william fitzgerald <wfitzger>
AuthorDate: Fri Sep 28 16:35:45 2018 -0400
Commit:     william fitzgerald <wfitzger>
CommitDate: Fri Sep 28 16:35:45 2018 -0400

    Add Quota calculations for reconfigure resize disks

    Added test for disk_resize

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1533263
    Made 2 changes as requested

    Added log_and_raise for disk_names that are not found.
    Added a test case where the disk_name doesn't exist

    Modified error text to be generic
    Removed embedded method
    Included the disk name when we raise the exception

 content/automate/ManageIQ/System/CommonMethods/QuotaMethods.class/__methods__/requested.rb | 9 +-
 spec/automation/unit/method_validation/requested_spec.rb | 16 +
 2 files changed, 24 insertions(+), 1 deletion(-)

Comment 7 errata-xmlrpc 2019-12-12 13:33:21 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-2019:4199