[Bugs] [Bug 1283509] [WORM] Rename operation succeeds on a WORM enabled volume after one brick is added

bugzilla at redhat.com bugzilla at redhat.com
Sun Nov 29 05:46:06 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1283509



--- Comment #4 from Fang Huang <fanghuang.data at yahoo.com> ---
brick /data/br0 log:
cat /var/log/glusterfs/bricks/data-br0.log 
[2015-11-29 04:04:08.021460] I [MSGID: 100030] [glusterfsd.c:2318:main]
0-/usr/local/sbin/glusterfsd: Started running /usr/local/sbin/glusterfsd
version 3.7.6 (args: /usr/local/sbin/glusterfsd -s bdfs-node1 --volfile-id
worm-test.bdfs-node1.data-br0 -p
/var/lib/glusterd/vols/worm-test/run/bdfs-node1-data-br0.pid -S
/var/run/gluster/c75a848207b61e8e7a7a7f92accda3ca.socket --brick-name /data/br0
-l /var/log/glusterfs/bricks/data-br0.log --xlator-option
*-posix.glusterd-uuid=615f2a8a-d501-4ee2-a2b6-4113933e472a --brick-port 49153
--xlator-option worm-test-server.listen-port=49153)
[2015-11-29 04:04:08.026274] I [MSGID: 101190]
[event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll: Started thread with
index 1
[2015-11-29 04:04:08.033794] I [graph.c:269:gf_add_cmdline_options]
0-worm-test-server: adding option 'listen-port' for volume 'worm-test-server'
with value '49153'
[2015-11-29 04:04:08.033853] I [graph.c:269:gf_add_cmdline_options]
0-worm-test-posix: adding option 'glusterd-uuid' for volume 'worm-test-posix'
with value '615f2a8a-d501-4ee2-a2b6-4113933e472a'
[2015-11-29 04:04:08.034205] I [MSGID: 115034]
[server.c:403:_check_for_auth_option] 0-/data/br0: skip format check for
non-addr auth option auth.login./data/br0.allow
[2015-11-29 04:04:08.034229] I [MSGID: 115034]
[server.c:403:_check_for_auth_option] 0-/data/br0: skip format check for
non-addr auth option auth.login.f5c71cc1-e15e-450d-8a0f-9bb0b65bf9c2.password
[2015-11-29 04:04:08.034388] I [MSGID: 101190]
[event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll: Started thread with
index 2
[2015-11-29 04:04:08.035748] I [rpcsvc.c:2215:rpcsvc_set_outstanding_rpc_limit]
0-rpc-service: Configured rpc.outstanding-rpc-limit with value 64
[2015-11-29 04:04:08.035894] W [MSGID: 101002] [options.c:957:xl_opt_validate]
0-worm-test-server: option 'listen-port' is deprecated, preferred is
'transport.socket.listen-port', continuing with correction
[2015-11-29 04:04:08.037941] I [MSGID: 121050]
[ctr-helper.c:256:extract_ctr_options] 0-gfdbdatastore: CTR Xlator is disabled.
[2015-11-29 04:04:08.037983] W [MSGID: 101105]
[gfdb_sqlite3.h:239:gfdb_set_sql_params] 0-worm-test-changetimerecorder: Failed
to retrieve sql-db-pagesize from params.Assigning default value: 4096
[2015-11-29 04:04:08.038007] W [MSGID: 101105]
[gfdb_sqlite3.h:239:gfdb_set_sql_params] 0-worm-test-changetimerecorder: Failed
to retrieve sql-db-cachesize from params.Assigning default value: 1000
[2015-11-29 04:04:08.038029] W [MSGID: 101105]
[gfdb_sqlite3.h:239:gfdb_set_sql_params] 0-worm-test-changetimerecorder: Failed
to retrieve sql-db-journalmode from params.Assigning default value: wal
[2015-11-29 04:04:08.038050] W [MSGID: 101105]
[gfdb_sqlite3.h:239:gfdb_set_sql_params] 0-worm-test-changetimerecorder: Failed
to retrieve sql-db-wal-autocheckpoint from params.Assigning default value: 1000
[2015-11-29 04:04:08.038071] W [MSGID: 101105]
[gfdb_sqlite3.h:239:gfdb_set_sql_params] 0-worm-test-changetimerecorder: Failed
to retrieve sql-db-sync from params.Assigning default value: normal
[2015-11-29 04:04:08.038091] W [MSGID: 101105]
[gfdb_sqlite3.h:239:gfdb_set_sql_params] 0-worm-test-changetimerecorder: Failed
to retrieve sql-db-autovacuum from params.Assigning default value: none
[2015-11-29 04:04:08.045369] I [trash.c:2366:init] 0-worm-test-trash: no option
specified for 'eliminate', using NULL
[2015-11-29 04:04:08.046135] W [graph.c:357:_log_if_unknown_option]
0-worm-test-server: option 'rpc-auth.auth-glusterfs' is not recognized
[2015-11-29 04:04:08.046192] W [graph.c:357:_log_if_unknown_option]
0-worm-test-server: option 'rpc-auth.auth-unix' is not recognized
[2015-11-29 04:04:08.046239] W [graph.c:357:_log_if_unknown_option]
0-worm-test-server: option 'rpc-auth.auth-null' is not recognized
[2015-11-29 04:04:08.046316] W [graph.c:357:_log_if_unknown_option]
0-worm-test-quota: option 'timeout' is not recognized
[2015-11-29 04:04:08.046343] W [graph.c:357:_log_if_unknown_option]
0-worm-test-marker: option 'quota-version' is not recognized
[2015-11-29 04:04:08.046409] W [graph.c:357:_log_if_unknown_option]
0-worm-test-trash: option 'brick-path' is not recognized
Final graph:
+------------------------------------------------------------------------------+
  1: volume worm-test-posix
  2:     type storage/posix
  3:     option glusterd-uuid 615f2a8a-d501-4ee2-a2b6-4113933e472a
  4:     option directory /data/br0
  5:     option volume-id efd32766-94b2-4284-ae65-acdaf4b899b9
  6: end-volume
  7:  
  8: volume worm-test-trash
  9:     type features/trash
 10:     option trash-dir .trashcan
 11:     option brick-path /data/br0
 12:     option trash-internal-op off
 13:     subvolumes worm-test-posix
 14: end-volume
 15:  
 16: volume worm-test-changetimerecorder
 17:     type features/changetimerecorder
 18:     option db-type sqlite3
 19:     option hot-brick off
 20:     option db-name br0.db
 21:     option db-path /data/br0/.glusterfs/
 22:     option record-exit off
 23:     option ctr_link_consistency off
 24:     option ctr_hardlink_heal_expire_period 300
 25:     option ctr_inode_heal_expire_period 300
 26:     option record-entry on
 27:     option ctr-enabled off
 28:     option record-counters off
 29:     subvolumes worm-test-trash
 30: end-volume
 31:  
 32: volume worm-test-changelog
 33:     type features/changelog
 34:     option changelog-brick /data/br0
 35:     option changelog-dir /data/br0/.glusterfs/changelogs
 36:     option changelog-barrier-timeout 120
 37:     subvolumes worm-test-changetimerecorder
 38: end-volume
 39:  
 40: volume worm-test-bitrot-stub
 41:     type features/bitrot-stub
 42:     option export /data/br0
 43:     subvolumes worm-test-changelog
 44: end-volume
 45:  
 46: volume worm-test-access-control
 47:     type features/access-control
 48:     subvolumes worm-test-bitrot-stub
 49: end-volume
 50:  
 51: volume worm-test-locks
 52:     type features/locks
 53:     subvolumes worm-test-access-control
 54: end-volume
 55:  
 56: volume worm-test-upcall
 57:     type features/upcall
 58:     option cache-invalidation off
 59:     subvolumes worm-test-locks
 60: end-volume
 61:  
 62: volume worm-test-io-threads
 63:     type performance/io-threads
 64:     subvolumes worm-test-upcall
 65: end-volume
 66:  
 67: volume worm-test-marker
 68:     type features/marker
 69:     option volume-uuid efd32766-94b2-4284-ae65-acdaf4b899b9
 70:     option timestamp-file /var/lib/glusterd/vols/worm-test/marker.tstamp
 71:     option quota-version 0
 72:     option xtime off
 73:     option gsync-force-xtime off
 74:     option quota off
 75:     option inode-quota off
 76:     subvolumes worm-test-io-threads
 77: end-volume
 78:  
 79: volume worm-test-barrier
 80:     type features/barrier
 81:     option barrier disable
 82:     option barrier-timeout 120
 83:     subvolumes worm-test-marker
 84: end-volume
 85:  
 86: volume worm-test-index
 87:     type features/index
 88:     option index-base /data/br0/.glusterfs/indices
 89:     subvolumes worm-test-barrier
 90: end-volume
 91:  
 92: volume worm-test-quota
 93:     type features/quota
 94:     option volume-uuid worm-test
 95:     option server-quota off
 96:     option timeout 0
 97:     option deem-statfs off
 98:     subvolumes worm-test-index
 99: end-volume
100:  
101: volume worm-test-worm
102:     type features/worm
103:     option worm on
104:     subvolumes worm-test-quota
105: end-volume
106:  
107: volume worm-test-read-only
108:     type features/read-only
109:     option read-only off
110:     subvolumes worm-test-worm
111: end-volume
112:  
113: volume /data/br0
114:     type debug/io-stats
115:     option latency-measurement off
116:     option count-fop-hits off
117:     subvolumes worm-test-read-only
118: end-volume
119:  
120: volume worm-test-server
121:     type protocol/server
122:     option transport.socket.listen-port 49153
123:     option rpc-auth.auth-glusterfs on
124:     option rpc-auth.auth-unix on
125:     option rpc-auth.auth-null on
126:     option rpc-auth-allow-insecure on
127:     option transport-type tcp
128:     option auth.login./data/br0.allow f5c71cc1-e15e-450d-8a0f-9bb0b65bf9c2
129:     option auth.login.f5c71cc1-e15e-450d-8a0f-9bb0b65bf9c2.password
6df9bdfe-b597-4cbb-a640-34e8915f1f66
130:     option auth.addr./data/br0.allow *
131:     subvolumes /data/br0
132: end-volume
133:  
+------------------------------------------------------------------------------+
[2015-11-29 04:04:48.817212] I [login.c:81:gf_auth] 0-auth/login: allowed user
names: f5c71cc1-e15e-450d-8a0f-9bb0b65bf9c2
[2015-11-29 04:04:48.817277] I [MSGID: 115029]
[server-handshake.c:612:server_setvolume] 0-worm-test-server: accepted client
from bdfs-node1-13919-2015/11/29-04:04:48:784141-worm-test-client-0-0-0
(version: 3.7.6)
[2015-11-29 04:07:05.064299] I [glusterfsd-mgmt.c:57:mgmt_cbk_spec] 0-mgmt:
Volume file changed
[2015-11-29 04:07:05.069809] I [glusterfsd-mgmt.c:1513:mgmt_getspec_cbk]
0-glusterfs: No change in volfile, continuing
[2015-11-29 04:07:05.078577] I [login.c:81:gf_auth] 0-auth/login: allowed user
names: f5c71cc1-e15e-450d-8a0f-9bb0b65bf9c2
[2015-11-29 04:07:05.078599] I [MSGID: 115029]
[server-handshake.c:612:server_setvolume] 0-worm-test-server: accepted client
from bdfs-node1-13919-2015/11/29-04:04:48:784141-worm-test-client-0-2-0
(version: 3.7.6)
[2015-11-29 04:07:05.221231] I [MSGID: 115036] [server.c:552:server_rpc_notify]
0-worm-test-server: disconnecting connection from
bdfs-node1-13919-2015/11/29-04:04:48:784141-worm-test-client-0-0-0
[2015-11-29 04:07:05.221301] I [MSGID: 101055] [client_t.c:419:gf_client_unref]
0-worm-test-server: Shutting down connection
bdfs-node1-13919-2015/11/29-04:04:48:784141-worm-test-client-0-0-0
[2015-11-29 04:07:39.569252] I [login.c:81:gf_auth] 0-auth/login: allowed user
names: f5c71cc1-e15e-450d-8a0f-9bb0b65bf9c2
[2015-11-29 04:07:39.569318] I [MSGID: 115029]
[server-handshake.c:612:server_setvolume] 0-worm-test-server: accepted client
from bdfs-node1-14545-2015/11/29-04:07:34:551062-worm-test-client-0-0-0
(version: 3.7.6)
[2015-11-29 04:07:39.596869] E [MSGID: 115070]
[server-rpc-fops.c:1555:server_open_cbk] 0-worm-test-server: 43: OPEN /dummy_5
(443047b0-83cb-40ef-ad8c-c8120de0043a) ==> (Read-only file system) [Read-only
file system]
[2015-11-29 04:07:39.620850] I [MSGID: 115036] [server.c:552:server_rpc_notify]
0-worm-test-server: disconnecting connection from
bdfs-node1-14545-2015/11/29-04:07:34:551062-worm-test-client-0-0-0
[2015-11-29 04:07:39.620933] I [MSGID: 101055] [client_t.c:419:gf_client_unref]
0-worm-test-server: Shutting down connection
bdfs-node1-14545-2015/11/29-04:07:34:551062-worm-test-client-0-0-0
[2015-11-29 04:09:12.329897] I [login.c:81:gf_auth] 0-auth/login: allowed user
names: f5c71cc1-e15e-450d-8a0f-9bb0b65bf9c2
[2015-11-29 04:09:12.329957] I [MSGID: 115029]
[server-handshake.c:612:server_setvolume] 0-worm-test-server: accepted client
from bdfs-node1-14832-2015/11/29-04:09:07:314727-worm-test-client-0-0-0
(version: 3.7.6)
[2015-11-29 04:09:12.362482] E [MSGID: 115070]
[server-rpc-fops.c:1555:server_open_cbk] 0-worm-test-server: 55: OPEN /dummy_5
(443047b0-83cb-40ef-ad8c-c8120de0043a) ==> (Read-only file system) [Read-only
file system]
[2015-11-29 04:09:12.390323] I [MSGID: 115036] [server.c:552:server_rpc_notify]
0-worm-test-server: disconnecting connection from
bdfs-node1-14832-2015/11/29-04:09:07:314727-worm-test-client-0-0-0
[2015-11-29 04:09:12.390403] I [MSGID: 101055] [client_t.c:419:gf_client_unref]
0-worm-test-server: Shutting down connection
bdfs-node1-14832-2015/11/29-04:09:07:314727-worm-test-client-0-0-0
[2015-11-29 04:13:01.109471] I [login.c:81:gf_auth] 0-auth/login: allowed user
names: f5c71cc1-e15e-450d-8a0f-9bb0b65bf9c2
[2015-11-29 04:13:01.109519] I [MSGID: 115029]
[server-handshake.c:612:server_setvolume] 0-worm-test-server: accepted client
from bdfs-node1-15539-2015/11/29-04:12:56:94646-worm-test-client-0-0-0
(version: 3.7.6)
[2015-11-29 04:13:01.139488] I [MSGID: 115036] [server.c:552:server_rpc_notify]
0-worm-test-server: disconnecting connection from
bdfs-node1-15539-2015/11/29-04:12:56:94646-worm-test-client-0-0-0
[2015-11-29 04:13:01.139567] I [MSGID: 101055] [client_t.c:419:gf_client_unref]
0-worm-test-server: Shutting down connection
bdfs-node1-15539-2015/11/29-04:12:56:94646-worm-test-client-0-0-0
[2015-11-29 04:15:08.835453] I [MSGID: 115061]
[server-rpc-fops.c:1024:server_rename_cbk] 0-worm-test-server: 2057: RENAME
/dummy_0 (00000000-0000-0000-0000-000000000000/dummy_0) -> /a.out
(00000000-0000-0000-0000-000000000000/a.out) ==> (Read-only file system)
[Read-only file system]
[2015-11-29 04:15:24.537004] I [MSGID: 115061]
[server-rpc-fops.c:1024:server_rename_cbk] 0-worm-test-server: 2196: RENAME
/dummy_5 (00000000-0000-0000-0000-000000000000/dummy_5) -> /dummy_bk
(00000000-0000-0000-0000-000000000000/dummy_bk) ==> (Read-only file system)
[Read-only file system]
[2015-11-29 04:16:08.248810] I [MSGID: 115061]
[server-rpc-fops.c:1024:server_rename_cbk] 0-worm-test-server: 3687: RENAME
/dummy_61 (00000000-0000-0000-0000-000000000000/dummy_61) -> /dummy_bk
(00000000-0000-0000-0000-000000000000/dummy_bk) ==> (Read-only file system)
[Read-only file system]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=9rFljjAYbO&a=cc_unsubscribe


More information about the Bugs mailing list