From nobody Fri Oct 07 05:56:18 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MkHcM3vQxz4fQld for ; Fri, 7 Oct 2022 05:56:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MkHcL6v9Mz3D7S for ; Fri, 7 Oct 2022 05:56:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MkHcL5dZTzW8n for ; Fri, 7 Oct 2022 05:56:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2975uImO089283 for ; Fri, 7 Oct 2022 05:56:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2975uISe089282 for ports-bugs@FreeBSD.org; Fri, 7 Oct 2022 05:56:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266879] Gluster mount not handled as expected Date: Fri, 07 Oct 2022 05:56:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: david@aitch2o.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665122179; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o7GbbjZpX2Kd60xQtSW7QwUIjH6XjSSB3/vDt9xnpok=; b=x4gIGoPR0jUX6xJ0IKM9rC5MfVApJ9DL52i7GZZzSOQg49635aALA1su1FypXA/7pJCpVb dI+5WrtZJXxnygro9lHuafQimYm4Z0fyPyNtlEgiN0I+TdGVsCNlYvzR7cotM8LvBam79p QSgf5qF6FESZ5LOjoCrylW+pFkmdnUc35WGE0ba0uED5RbMAmOWlrcxrm7TUvmqLj352my jDp+NE25zmmgrUtj2Nxqry069Uh7PaJbgyeCL/cioizGNXrHg/GOrKGBbdkefGEqIcaUB5 0TnuZo3GCFIfOGiSEwb0wUNlKZRdj+/HAFuvx3IVs0rwkiUcxmcWzHAFNjBTpg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665122179; a=rsa-sha256; cv=none; b=ffsnR687yUUBvpuR/7hbCBiFym6X9O4Fj8WTSCezvdvGK3ECQYN8oomWq7kCimnCvivB2W 8NYNr2nyUyrcS9rowpvGxO7Z5ywooHqMEbXWrmC8JwkW4UZIamGv/kTTRITZkZYKjC3nrG oG4KgKpbtH6kaf9DOpr4DOn2o7cF3Dfa2nTFwjslPxBOpXwx6NkCfBPTLYIINaOnd+IAE/ IIvgzJV1hAXyJWIjMpeivLDWizFQnRFGOQdpghyDKfrdxro9ZtctSAj7xGfKY5+W1O9Ekw wbd9OK3pFIprkHSQhsukoyVYWasUT4Q7mMx0zB2M7QQXXy1FdHU7gwZazLOKcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266879 Bug ID: 266879 Summary: Gluster mount not handled as expected Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: david@aitch2o.com CC: daniel@morante.net Flags: maintainer-feedback?(daniel@morante.net) CC: daniel@morante.net I have two identical app servers root@au-syd01-qa-app01:~ # uname -a FreeBSD au-syd01-qa-app01.net.local 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 GENERIC amd64 root@au-syd01-qa-app01:~ # mount /dev/ufs/rootfs on / (ufs, local, soft-updates, journaled soft-updates) devfs on /dev (devfs) /dev/fuse on /attachments (fusefs) /dev/fuse on /codebase (fusefs) root@au-syd01-qa-app01:~ # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ufs/rootfs / ufs rw 1 1 au-syd01-qa-brick01.net.local:/attachments /attachments fusefs rw,acl,transport=3Dtcp,_netdev,backup-volfile-servers=3Dau-syd01-qa-brick02= .net.local:au-syd01-qa-brick03.net.local,mountprog=3D/usr/local/sbin/mount_= glusterfs,late 0 0 au-syd01-qa-brick01.net.local:/codebase /codebase fusefs rw,acl,transport=3Dtcp,_netdev,backup-volfile-servers=3Dau-syd01-qa-brick02= .net.local:au-syd01-qa-brick03.net.local,mountprog=3D/usr/local/sbin/mount_= glusterfs,late 0 0 root@au-syd01-qa-app01:~ #=20 root@au-syd01-qa-app01:~ #=20 root@au-syd01-qa-app01:~ #=20 root@au-syd01-qa-app01:~ # pkg info glusterfs glusterfs-8.4_2 Name : glusterfs Version : 8.4_2 Installed on : Fri Sep 16 18:39:31 2022 AEST Origin : net/glusterfs Architecture : FreeBSD:13:amd64 Prefix : /usr/local Categories : net Licenses : LGPL3+ or GPLv2 Maintainer : daniel@morante.net WWW : https://www.gluster.org Comment : GlusterFS distributed file system Options : DOCS : on Shared Libs required: libxml2.so.2 libuuid.so.1 liburcu-common.so.8 liburcu-cds.so.8 liburcu-bp.so.8 libreadline.so.8 libintl.so.8 libcurl.so.4 libargp.so.0 Shared Libs provided: libglusterfs.so.0 libglusterd.so.0 libgfxdr.so.0 libgfrpc.so.0 libgfchangelog.so.0 libgfapi.so.0 Annotations : FreeBSD_version: 1301000 cpe : cpe:2.3:a:gluster:glusterfs:8.4:::::freebsd13:x64:2 repo_type : binary repository : FreeBSD Flat size : 13.8MiB Description : GlusterFS is an open source, distributed file system capable of scaling to several petabytes and handling thousands of clients. GlusterFS clusters together storage building blocks over Infiniband RDMA or TCP/IP interconnect, aggregating disk and memory resources and managing data in a single global namespace. GlusterFS is based on a stackable user space design and can deliver exceptional performance for diverse workloads. WWW: https://www.gluster.org root@au-syd01-qa-app01:~ #=20 from app01 if I touch /codebase/test the test file is created on the gluster mount and both app01 and app02 can see it if I delete /codebase/test the test file is deleted on the gluster mount and both app01 and app02 can't list it if I echo app1 > /codebase/test the file is created with the content of app1 and both app01 and app02 can see the content if I cat the file if I echo app2 > /codebase/test on app02 then only app02 has the content of app2, app01 still has app1 as the content it seems file create, rename, remove is working as expected but when conten= ts of a file changes it's not replicated the bricks are on Rocky Linux, and if I mount /codebase on Linux servers the problem above can't be replicated , I've initially thought this could be an issue with Glutester but I can't replicate the=20 problem described above on Linux Brick info=20 [root@au-syd01-qa-brick01 ~]# gluster volume info codebase=20 Volume Name: codebase Type: Replicate Volume ID: c9d939fe-a29b-4b04-987a-81658e7b68a2 Status: Started Snapshot Count: 0 Number of Bricks: 1 x 3 =3D 3 Transport-type: tcp Bricks: Brick1: au-syd01-qa-brick01.net.local:/brick2/brick Brick2: au-syd01-qa-brick02.net.local:/brick2/brick Brick3: au-syd01-qa-brick03.net.local:/brick2/brick Options Reconfigured: cluster.consistent-metadata: on performance.readdir-ahead: off performance.strict-o-direct: off performance.quick-read: off performance.open-behind: off performance.write-behind: off cluster.granular-entry-heal: on storage.fips-mode-rchecksum: on transport.address-family: inet nfs.disable: on performance.client-io-threads: off storage.owner-gid: 1200 client.event-threads: 8 cluster.lookup-optimize: off cluster.readdir-optimize: off features.cache-invalidation: off performance.io-thread-count: 16 performance.parallel-readdir: off performance.stat-prefetch: off server.event-threads: 8 performance.cache-size: 32MB performance.cache-max-file-size: 2MB performance.io-cache: off performance.read-ahead: off network.inode-lru-limit: 500000 performance.nl-cache-positive-entry: off performance.cache-samba-metadata: off performance.cache-invalidation: on performance.qr-cache-timeout: 0 features.cache-invalidation-timeout: 0 storage.owner-uid: 80 performance.md-cache-timeout: 0 I have deleted the volume and tested with a vanilla brick config and I see = the same issue, looking at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D= 215519 it's an identical issue, looks like this bug was re-introduced --=20 You are receiving this mail because: You are the assignee for the bug.=