gluster / glusterd2

[DEPRECATED] Glusterd2 is the distributed management framework to be used for GlusterFS.
GNU General Public License v2.0
167 stars 82 forks source link

default options exposed in volume info #1435

Open ksandha opened 5 years ago

ksandha commented 5 years ago

Performance and other volume options exposed in volume info in gd2

Observed behavior

Volume Name: pvc-ffdff841-075d-11e9-b5d2-525400242e67
Type: Replicate
Volume ID: 6fad1401-7bb3-4d3d-964d-eb60eee0e694
State: Started
Capacity: 50.0 MiB
Transport-type: tcp
Options:
    performance/read-ahead.read-ahead: off
    debug/io-stats.count-fop-hits: on
    debug/io-stats.latency-measurement: on
    performance/md-cache.md-cache: off
    performance/quick-read.quick-read: off
    performance/write-behind.write-behind: off
    cluster/replicate.self-heal-daemon: on
    performance/io-cache.io-cache: off
    performance/open-behind.open-behind: off
    performance/readdir-ahead.readdir-ahead: off
Number of Bricks: 3
Brick1: gluster-kube3-0.glusterd2.gcs:/var/run/glusterd2/bricks/pvc-ffdff841-075d-11e9-b5d2-525400242e67/subvol1/brick1/brick
Brick2: gluster-kube2-0.glusterd2.gcs:/var/run/glusterd2/bricks/pvc-ffdff841-075d-11e9-b5d2-525400242e67/subvol1/brick2/brick
Brick3: gluster-kube1-0.glusterd2.gcs:/var/run/glusterd2/bricks/pvc-ffdff841-075d-11e9-b5d2-525400242e67/subvol1/brick3/brick

Expected/desired behavior

Default options shouldn't be exposed

Details on how to reproduce (minimal and precise)

create a PVC without brick mux enabled.

Information about the environment:

Other useful information

Useful commands

aravindavk commented 5 years ago

Options shown here are the options which are explicitly set on the Volume when a Volume is created. This may change wrt Volume type.

atinmu commented 5 years ago

@aravindavk can we please close this considering this is an expected behavior?