Bug 1021935 - RHS-C: "Optimize for Virt Store" is always enabled even if the profile is already set for a volume
Summary: RHS-C: "Optimize for Virt Store" is always enabled even if the profile is alr...
Keywords:
Status: CLOSED DUPLICATE of bug 979286
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: 2.1
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Timothy Asir
QA Contact: RHS-C QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-22 11:05 UTC by Prasanth
Modified: 2015-01-23 12:31 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-23 12:31:05 UTC
Embargoed:


Attachments (Terms of Use)

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 ***


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