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
Performance and other volume options exposed in volume info in gd2
Observed behavior
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:
Glusterd2 version used (e.g. v4.1.0 or master):
Operating system used: Centos 7.4
Glusterd2 compiled from sources, as a package (rpm/deb), or container: Container
Using External ETCD: (yes/no, if yes ETCD version): external etcd
If container, which container image:
Using kubernetes, openshift, or direct install: Kubernetes
If kubernetes/openshift, is gluster running inside kubernetes/openshift or outside:
Other useful information
uuid.toml
from all nodes (default /var/lib/glusterd2/uuid.toml)statedump
from any one of the nodeUseful commands
To get ETCD version