Bug 1758150

Summary: Expanded disk size field should be non-editable.
Product: [oVirt] cockpit-ovirt Reporter: Mugdha Soni <musoni>
Component: gluster-ansibleAssignee: Parth Dhanjal <dparth>
Status: CLOSED CURRENTRELEASE QA Contact: milind <mwaykole>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.13.8CC: bugs, cshao, dparth, gzaidman, lsvaty, mavital, nlevy, peyu, qiyuan, rhs-bugs, sabose, sasundar, sbonazzo, weiwang, yaniwang, yturgema
Target Milestone: ovirt-4.4.0Flags: sbonazzo: ovirt-4.4?
Target Release: 0.14.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.14.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1758148 Environment:
Last Closed: 2020-05-20 20:03:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1758148    
Attachments:
Description Flags
Screenshot of editable expanded disk size. none

Description Mugdha Soni 2019-10-03 12:19:52 UTC
+++ This bug was initially created as a clone of Bug #1758148 +++

Description of problem:
----------------------------------------
When user enables dedupe and compression , the expanded disk size is 10 times the lv size and this field should be non-editable.

Version-Release number of selected component:
------------------------------------------------
rhvh-4.3.6.2-0.20190924
glusterfs-server-3.12.2-47.5.el7rhgs
cockpit-ovirt-dashboard-0.13.8-1.el7ev



How reproducible:
-------------------------------------------------
Every time


Steps to Reproduce:
-------------------------------------------------
1.Log in to cockpit and start gluster deployment.
2.In bricks tab under brick configuration check mark dedupe and compression checkbox 

Actual results:
-------------------------------------------------
The expanded disk size field is editable.


Expected results:
--------------------------------------------------
The expanded disk size should be non editable .

--- Additional comment from RHEL Product and Program Management on 2019-10-03 12:16:17 UTC ---

This bug is automatically being proposed for RHHI-V 1.7 release at Red Hat Hyperconverged Infrastructure for Virtualization product, by setting the release flag 'rhiv‑1.7' to '?'.

If this bug should be proposed for a different release, please manually change the proposed release flag.

--- Additional comment from Mugdha Soni on 2019-10-03 12:17:09 UTC ---

Comment 1 Mugdha Soni 2019-10-03 12:21:00 UTC
Created attachment 1622290 [details]
Screenshot of editable expanded disk size.

Comment 2 Sahina Bose 2019-11-12 06:26:47 UTC
Is there any issue if the size field is editable?

Comment 3 SATHEESARAN 2019-12-03 13:47:59 UTC
(In reply to Sahina Bose from comment #2)
> Is there any issue if the size field is editable?

This was only against the expectation as the user should not be made to edit the size of the brick, as
that would be auto-computed.

Comment 4 Sandro Bonazzola 2020-01-23 12:19:30 UTC
All referenced patches have been merged, can this bug move to modified?
A build including referenced patches have been issued, can this move to ON_QA?

Comment 6 SATHEESARAN 2020-03-30 14:19:19 UTC
Tested with cockpit-ovirt-dashboard-0.14.3 with the following steps:

1. Start HC deployment with 3 nodes
2. Reach the bricks tab and select 'Enable dedupe and compression' on the bricks

Observation is that the logical size field is not displayed. Its hidden as its the read-only field

Comment 7 Sandro Bonazzola 2020-05-20 20:03:15 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.