Bug 1021935

Summary: RHS-C: "Optimize for Virt Store" is always enabled even if the profile is already set for a volume
Product: Red Hat Gluster Storage Reporter: Prasanth <pprakash>
Component: rhscAssignee: Timothy Asir <tjeyasin>
Status: CLOSED DUPLICATE QA Contact: RHS-C QE <rhsc-qe-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 2.1CC: dpati, dtsang, knarra, mmahoney, rhs-bugs, sabose, ssampat
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-23 12:31:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Prasanth 2013-10-22 11:05:08 UTC
Description of problem:

"Optimize for Virt Store" is always enabled even if the profile is already set for a volume.

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

[root@vm07 /]# rpm -qa |grep rhsc
rhsc-restapi-2.1.2-0.0.scratch.beta1.el6_4.noarch
rhsc-lib-2.1.2-0.0.scratch.beta1.el6_4.noarch
rhsc-cli-2.1.0.0-0.bb3a.el6rhs.noarch
rhsc-webadmin-portal-2.1.2-0.0.scratch.beta1.el6_4.noarch
rhsc-sdk-2.1.0.0-0.bb3a.el6rhs.noarch
rhsc-branding-rhs-3.3.0-1.0.master.201309200500.fc18.noarch
rhsc-backend-2.1.2-0.0.scratch.beta1.el6_4.noarch
rhsc-tools-2.1.2-0.0.scratch.beta1.el6_4.noarch
rhsc-dbscripts-2.1.2-0.0.scratch.beta1.el6_4.noarch
rhsc-setup-2.1.2-0.0.scratch.beta1.el6_4.noarch
rhsc-2.1.2-0.0.scratch.beta1.el6_4.noarch
rhsc-log-collector-2.1-0.1.el6rhs.noarch


How reproducible: Always


Steps to Reproduce:
1. While creating a new volume, ensure that "Optimize for Virt Store" option is checked and click on Ok
2. Start the volume and see the "Volume Options" that's been set
3. Now select the same volume and click on "Optimize for Virt Store" again.

Actual results: Since "Optimize for Virt Store" is always enabled, we can still click on the option again and again and everytime the corresponding event messages are also generated.

-------
2013-Oct-22, 16:28 Volume Option storage.owner-gid=36 set on vol1.	
2013-Oct-22, 16:28 Volume Option storage.owner-uid=36 set on vol1.	
2013-Oct-22, 16:28 Volume Option group=virt set on vol1.	
2013-Oct-22, 16:28 Volume Option storage.owner-gid=36 set on vol1.	
2013-Oct-22, 16:27 Volume Option storage.owner-uid=36 set on vol1.	
2013-Oct-22, 16:27 Volume Option group=virt set on vol1.	
2013-Oct-22, 16:24 Volume Option storage.owner-gid=36 set on vol1.	
2013-Oct-22, 16:24 Volume Option storage.owner-uid=36 set on vol1.	
2013-Oct-22, 16:24 Volume Option group=virt set on vol1.	
2013-Oct-22, 16:22 Volume Option storage.owner-gid=36 set on vol1.
--------


Expected results: If the volume profile, "Optimize for Virt Store", is already set for a given volume during volume creation or later, disable the option to set the profile again. Enable it again only if the volume options are Reset on the volume.


Additional info:

Comment 2 Dusmant 2013-10-24 03:18:20 UTC
This is good to have, but not impacting any functionality. Not taking in Corbett release.

Comment 5 Sahina Bose 2015-01-23 12:31:05 UTC

*** This bug has been marked as a duplicate of bug 979286 ***