[Bugs] [Bug 1308414] New: AFR: cluster options like data-self-heal, metadata-self-heal and entry-self-heal should not be allowed to set, if volume is not distribute-replicate volume

bugzilla at redhat.com bugzilla at redhat.com
Mon Feb 15 06:43:42 UTC 2016


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

            Bug ID: 1308414
           Summary: AFR: cluster options like data-self-heal,
                    metadata-self-heal and entry-self-heal should not be
                    allowed to set, if volume is not distribute-replicate
                    volume
           Product: GlusterFS
           Version: 3.7.7
         Component: distribute
          Keywords: Triaged, ZStream
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: sabansal at redhat.com
                CC: ashah at redhat.com, bugs at gluster.org,
                    rhs-bugs at redhat.com, storage-qa-internal at redhat.com,
                    vmallika at redhat.com
        Depends On: 1234995, 1265479
            Blocks: 1223636



+++ This bug was initially created as a clone of Bug #1265479 +++

+++ This bug was initially created as a clone of Bug #1234995 +++

Description of problem:

When you have distribute or disperse volume, and you set data-self-heal,
metadata-self-heal and entry-self-heal options on/off  it succeeds. 

Since when you try to set self-heal-daemon off/on on distribute, disperse
volume , it give error self-heal-daemon can be set on distribute-replicate
volume. Same error should be displayed when user tries to set data-self-heal,
metadata-self-heal and entry-self-heal options on/off.


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

[root at darkknightrises ~]# rpm -qa | grep glusterfs
glusterfs-client-xlators-3.7.1-4.el6rhs.x86_64
glusterfs-cli-3.7.1-4.el6rhs.x86_64
samba-vfs-glusterfs-4.1.17-7.el6rhs.x86_64
glusterfs-libs-3.7.1-4.el6rhs.x86_64
glusterfs-3.7.1-4.el6rhs.x86_64
glusterfs-api-3.7.1-4.el6rhs.x86_64
glusterfs-server-3.7.1-4.el6rhs.x86_64
glusterfs-debuginfo-3.7.1-4.el6rhs.x86_64
glusterfs-fuse-3.7.1-4.el6rhs.x86_64
glusterfs-geo-replication-3.7.1-4.el6rhs.x86_64


How reproducible:

100%

Steps to Reproduce:
1. Create distribute volume
2. set data-self-heal, metadata-self-heal and entry-self-heal option on/off.
e.g gluster v set <vol-name> data-self-heal off
3. 

Actual results:

Commands succeeds 

Expected results:

Check should there, if there is distribute-replicate volume , then only
data-self-heal, metadata-self-heal and entry-self-heal option should be allowed
to set

--- Additional comment from Sakshi on 2015-11-02 01:07:02 EST ---

Patch upstream http://review.gluster.org/12215


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1223636
[Bug 1223636] 3.1 QE Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1234995
[Bug 1234995] AFR: cluster options like data-self-heal, metadata-self-heal
and entry-self-heal should not be allowed to set, if volume is not
distribute-replicate volume
https://bugzilla.redhat.com/show_bug.cgi?id=1265479
[Bug 1265479] AFR: cluster options like data-self-heal, metadata-self-heal
and entry-self-heal should not be allowed to set, if volume is not
distribute-replicate volume
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list