Bug 1671330

Summary: [RFE] Support for disk resize on RHV
Product: Red Hat CloudForms Management Engine Reporter: Sigbjorn Lie <sigbjorn>
Component: ProvidersAssignee: Roberto Ciatti <rciatti>
Status: CLOSED ERRATA QA Contact: Jaroslav Henner <jhenner>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.9.6CC: dmetzger, fdewaley, guillaume.pavese, jfrey, jhardy, jocarter, lavenel, mperina, mshriver, obarenbo, rciatti, sigbjorn.lie, simaishi
Target Milestone: GAKeywords: FutureFeature, Reopened, RFE, ZStream
Target Release: 5.11.7Flags: pm-rhel: cfme-5.11.z+
mfeifer: mirror+
Hardware: All   
OS: All   
Whiteboard: RFE
Fixed In Version: 5.11.7.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-06 14:32:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:

Description Sigbjorn Lie 2019-01-31 12:19:47 UTC
Description of problem:
Under VM -> Reconfigure VM: At the moment it's only possible to add/remove disks, not extend the existing VM disks in CFME. 

Resize of an existing disk is supported in RHV and it's the normal workflow to avoid having many disks attached to a VM.

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


How reproducible:
Everytime

Steps to Reproduce:
1. Go to VM -> Reconfigure VM
2. No option to select resize
3.

Actual results:


Expected results:
Ability to resize an existing disk

Additional info:

Comment 11 Satoe Imaishi 2020-06-18 19:50:26 UTC
ivanchuk PR: https://github.com/ManageIQ/manageiq-providers-ovirt/pull/496

Comment 12 Jaroslav Henner 2020-07-21 10:04:31 UTC
I have checked whether the RHV reports the size I grew the disk to. It does. The action though didn't seem to trigger refresh of the VM. I am not sure this is an intention.

Comment 13 Roberto Ciatti 2020-07-21 12:49:59 UTC
If I'm not wrong RHV should fires two events if a VM's disk was updated.
In case of a successful size update the first event should be the one with code 371 and the next event should be with code 88.

https://github.com/ManageIQ/manageiq-providers-ovirt/blob/6cbb4ddc7f9414254d6c6d0ea817663fa991373b/app/models/manageiq/providers/redhat/infra_manager/event_fetcher.rb

I'd need to check with a test if the event with code 88 (that contains the reference to the VM involved) is triggering the target refresh.
This behavior is any case not related to this RFE itself, but to the target refresh.

Comment 16 errata-xmlrpc 2020-08-06 14:32:52 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 (Critical: CloudForms 5.0.7 bug fix and enhancement update), 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-2020:3358