glusterd2 icon indicating copy to clipboard operation
glusterd2 copied to clipboard

Volume info not showing self heal daemon status for newly created volumes on gcs setup

Open rmadaka opened this issue 6 years ago • 4 comments

Observed behavior


Volume Name: pvc-9e0f4b21-f162-11e8-86db-525400ba128f
Type: Replicate
Volume ID: b84f4c58-7b5a-4c40-9b59-014de1276781
State: Started
Capactiy:  10 PB
Transport-type: tcp
Options:
Number of Bricks: 3
Brick1: gluster-kube1-0.glusterd2.gcs:/var/run/glusterd2/bricks/pvc-9e0f4b21-f162-11e8-86db-525400ba128f/subvol1/brick1/brick
Brick2: gluster-kube3-0.glusterd2.gcs:/var/run/glusterd2/bricks/pvc-9e0f4b21-f162-11e8-86db-525400ba128f/subvol1/brick2/brick
Brick3: gluster-kube2-0.glusterd2.gcs:/var/run/glusterd2/bricks/pvc-9e0f4b21-f162-11e8-86db-525400ba128f/subvol1/brick3/brick

Note: Once we enable self-heal-daemon for first time, next time onward we are able to see the self-heal daemon status in volume info

Expected/desired behavior

Volume info should show the self-heal-daemon status for newly created volumes.

Details on how to reproduce (minimal and precise)

-> Create pvc -> Login to GD2 pod -> Then perform volume info. -> We will not able to see self-heal daemon status.

Information about the environment:

  • Glusterd2 version used (e.g. v4.1.0 or master): v6.0-dev.39.git65dafcd
  • Operating system used:
  • Glusterd2 compiled from sources, as a package (rpm/deb), or container: container
  • Using External ETCD: (yes/no, if yes ETCD version): yes
  • If container, which container image:
  • Using kubernetes, openshift, or direct install: kubernetes
  • If kubernetes/openshift, is gluster running inside kubernetes/openshift or outside: inside

Other useful information

  • glusterd2 config files from all nodes (default /etc/glusterd2/glusterd2.toml)
  • glusterd2 log files from all nodes (default /var/log/glusterd2/glusterd2.log)
  • ETCD configuration
  • Contents of uuid.toml from all nodes (default /var/lib/glusterd2/uuid.toml)
  • Output of statedump from any one of the node

Useful commands

  • To get glusterd2 version
    glusterd2 --version
    
  • To get ETCD version
    etcd --version
    
  • To get output of statedump
    curl http://glusterd2-IP:glusterd2-Port/statedump
    

rmadaka avatar Nov 26 '18 10:11 rmadaka

@rmadaka @atinmu I think GD1, shows similar behaviour for volume info. Although Volume Status should show the status of shd which is still not implemented in GD2.

vpandey-RH avatar Nov 27 '18 07:11 vpandey-RH

volume info doesn't need to however volume status has to. Please fix this.

@rmadaka did you actually mean volume status than info while filing the bug? If yes, then please change the title otherwise we don't need shd status in volume info apart from volume status.

atinmu avatar Nov 27 '18 09:11 atinmu

@atinmu Will make the changes.

vpandey-RH avatar Nov 27 '18 09:11 vpandey-RH

Moving it out of GCS/1.0 as glustershd will not be enabled by default with 1.0 version.

atinmu avatar Jan 17 '19 10:01 atinmu