Bug 1631448 - CloudForms allow user to submit disk size change when snapshots are attached
Summary: CloudForms allow user to submit disk size change when snapshots are attached
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Brian McLaughlin
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1679295 1692488 1696841
TreeView+ depends on / blocked
 
Reported: 2018-09-20 15:27 UTC by David Luong
Modified: 2019-12-13 14:58 UTC (History)
12 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1696841 (view as bug list)
Environment:
Last Closed: 2019-12-13 14:58:06 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3739571 0 None None None 2018-12-05 20:55:01 UTC

Description David Luong 2018-09-20 15:27:54 UTC
Description of problem:
Resize disk in reconfigure VM allows user to submit a disk size change despite it being an inoperable action when snapshots are attached in vCenter

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

How reproducible:
Always

Steps to Reproduce:
1.  Attach snapshots to VM
2.  Change disk size in cloudforms
3.

Actual results:
Fails due to "Invalid config for device '0'"

Expected results:
Disable disk size change or alert user they need to delete snapshots attached to VM first

Additional info:

Comment 15 CFME Bot 2019-04-01 16:16:13 UTC
New commit detected on ManageIQ/manageiq-providers-vmware/master:

https://github.com/ManageIQ/manageiq-providers-vmware/commit/d27a8ea0c20aea46fd32cc23e3fe48c958c10c41
commit d27a8ea0c20aea46fd32cc23e3fe48c958c10c41
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Thu Mar 28 13:16:55 2019 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Thu Mar 28 13:16:55 2019 -0400

    Added unsupported reason for reconfiguring disksize when VM has snapshots.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1631448

 app/models/manageiq/providers/vmware/infra_manager/vm.rb | 4 +-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comment 17 Antonin Pagac 2019-04-29 12:40:51 UTC
Verified with 5.11.0.1.


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