Fedora Account System
Red Hat Associate
Red Hat Customer
Describe the issue:(please be detailed as possible and provide log snippets) [Provide TimeStamp when the issue is seen] On enabling glusterd_shared_storage, volfile that is being generated has a typo. Is this issue reproducible? If yes, share more details.: Yes Steps to Reproduce: 1. Enable gluster_shared_storage on the gluster cluster 2. Perform `grep mount *` from `/var/lib/glusterd/vols/gluster_shared_storage/bricks` Actual results: `mount_dir=/ar/lib/glusterd/ss_brick` Expected results: `mount_dir=/var/lib/glusterd/ss_brick` Additional info: # rpm -qa | grep 'glusterfs-server' glusterfs-server-6.0-45.el8rhgs.x86_64 root@dhcp35-48 leela_s1 /var/lib/glusterd/vols > # ls | wc 0 0 0 # tail -n 1 /etc/fstab /dev/vg6/lv6 /bricks/brick6 xfs inode64,noatime,nodiratime 0 0 # g v list No volumes present in cluster # g v set all cluster.enable-shared-storage enable volume set: success # g v info Volume Name: gluster_shared_storage Type: Replicate Volume ID: 7836cedf-9f7b-4bfd-af66-e6b188341bfb Status: Started Snapshot Count: 0 Number of Bricks: 1 x 3 = 3 Transport-type: tcp Bricks: Brick1: 10.70.35.227:/var/lib/glusterd/ss_brick Brick2: 10.70.35.156:/var/lib/glusterd/ss_brick Brick3: dhcp35-48.lab.eng.blr.redhat.com:/var/lib/glusterd/ss_brick Options Reconfigured: storage.fips-mode-rchecksum: on transport.address-family: inet nfs.disable: on performance.client-io-threads: off cluster.enable-shared-storage: enable nfs-ganesha: enable root@dhcp35-48 leela_s1 /var/lib/glusterd/vols/gluster_shared_storage/bricks > # grep mount * 10.70.35.156:-var-lib-glusterd-ss_brick:mount_dir=/ar/lib/glusterd/ss_brick 10.70.35.227:-var-lib-glusterd-ss_brick:mount_dir=/ar/lib/glusterd/ss_brick dhcp35-48.lab.eng.blr.redhat.com:-var-lib-glusterd-ss_brick:mount_dir=/ar/lib/glusterd/ss_brick # tail -n 1 /etc/fstab dhcp35-48.lab.eng.blr.redhat.com:/gluster_shared_storage /var/run/gluster/shared_storage/ glusterfs defaults 0 0 Follow up from https://bugzilla.redhat.com/show_bug.cgi?id=1873469#c15
Hi All, The bug fix is successfully verified as below: # rpm -qa glusterfs-server glusterfs-server-6.0-51.el8rhgs.x86_64 # ls /var/lib/glusterd/vols/ | wc 0 0 0 # tail -n 1 /etc/fstab /dev/vg6/lv6 /bricks/brick6 xfs inode64,noatime,nodiratime 0 0 # g v list No volumes present in cluster # g v set all cluster.enable-shared-storage enable volume set: success # g v info Volume Name: gluster_shared_storage Type: Replicate Volume ID: e20df210-3098-4ed4-8a55-59ca9972f4a8 Status: Started Snapshot Count: 0 Number of Bricks: 1 x 3 = 3 Transport-type: tcp Bricks: Brick1: 10.70.47.81:/var/lib/glusterd/ss_brick Brick2: 10.70.47.38:/var/lib/glusterd/ss_brick Brick3: dhcp46-31.lab.eng.blr.redhat.com:/var/lib/glusterd/ss_brick Options Reconfigured: storage.fips-mode-rchecksum: on transport.address-family: inet nfs.disable: on performance.client-io-threads: off cluster.enable-shared-storage: enable # grep -r mount /var/lib/glusterd/vols/gluster_shared_storage/ /var/lib/glusterd/vols/gluster_shared_storage/bricks/10.70.47.81:-var-lib-glusterd-ss_brick:mount_dir=/var/lib/glusterd/ss_brick /var/lib/glusterd/vols/gluster_shared_storage/bricks/10.70.47.38:-var-lib-glusterd-ss_brick:mount_dir=/var/lib/glusterd/ss_brick /var/lib/glusterd/vols/gluster_shared_storage/bricks/dhcp46-31.lab.eng.blr.redhat.com:-var-lib-glusterd-ss_brick:mount_dir=/var/lib/glusterd/ss_brick # tail -n 1 /etc/fstab dhcp46-31.lab.eng.blr.redhat.com:/gluster_shared_storage /run/gluster/shared_storage/ glusterfs defaults 0 0 Moving this bug to Verified, please comment/change status accordingly if needed. Thanks, Leela.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (glusterfs bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:1462