Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove-brick commit, open XXX file failed, subvol not update #4382

Open
WKu5 opened this issue Jun 25, 2024 · 0 comments
Open

Remove-brick commit, open XXX file failed, subvol not update #4382

WKu5 opened this issue Jun 25, 2024 · 0 comments

Comments

@WKu5
Copy link

WKu5 commented Jun 25, 2024

hello, recently I remove-brick from the 1×3 DHT volume. Using vdbench, which is io test tool,It was terminated because the file could not be found when remove-brick is commited at the nfsv3 mountpoint

client: nfs-ganesha v3
From /var/log/ganesha/ganesha-gfapi.log, I found some info as follow:
[2024-06-22 17:54:56.929693] D [MSGID: 0] [dht-common.c:3381:dht_do_revalidate] 164-wkvol03-dht: path = /dir10/new07/vdb.1_1.dir/vdb_f9054.file. Calling revalidate lookup on wkvol03-client-18
[2024-06-22 17:54:56.929762] W [MSGID: 114031] [client-rpc-fops_v2.c:2657:client4_0_lookup_cbk] 164-wkvol03-client-18: remote operation failed. Path: /dir10/new07/vdb.1_1.dir/vdb_f9054.file (fe6cc4c6-33c1-496b-ba7c-12e6add127c7) [Transport endpoint is not connected]
[2024-06-22 17:54:56.929796] D [MSGID: 0] [dht-common.c:1568:dht_revalidate_cbk] 164-wkvol03-dht: /dir10/new07/vdb.1_1.dir/vdb_f9054.file: revalidate lookup on wkvol03-client-18 returned op_ret -1 [Transport endpoint is not connected]
[2024-06-22 17:54:56.929999] D [MSGID: 0] [dht-common.c:3476:dht_do_fresh_lookup] 164-wkvol03-dht: /dir10/new07/vdb.1_1.dir/vdb_f9054.file: Calling fresh lookup on wkvol03-client-18
[2024-06-22 17:54:56.930048] W [MSGID: 114031] [client-rpc-fops_v2.c:2657:client4_0_lookup_cbk] 164-wkvol03-client-18: remote operation failed. Path: /dir10/new07/vdb.1_1.dir/vdb_f9054.file (00000000-0000-0000-0000-000000000000) [Transport endpoint is not connected]

From rebalance log, I found some info as follow:
[2024-06-22 17:53:49.797293] D [MSGID: 0] [dht-common.c:2621:dht_lookup_everywhere_cbk] 0-wkvol03-dht: found cached file on wkvol03-client-17 for /dir10/new07/vdb.1_1.dir/vdb_f9054.file
[2024-06-22 17:53:49.797299] D [MSGID: 0] [dht-common.c:2633:dht_lookup_everywhere_cbk] 0-wkvol03-dht: storing cached on wkvol03-client-17 file /dir10/new07/vdb.1_1.dir/vdb_f9054.file
[2024-06-22 17:53:49.797330] I [MSGID: 109022] [dht-rebalance.c:2243:dht_migrate_file] 0-wkvol03-dht: completed migration of /dir10/new07/vdb.1_1.dir/vdb_f9054.file from subvolume wkvol03-client-18 to wkvol03-client-17

A problem has arisen, At 17:53:49, f9054.file'rebalance has completed, it should update the cache subvol from wkvol03-client-18 to wkvol03-client-17.
But after rebalance, at ganesha-gfapi.log it still lookup use the old subvol name wkvol03-client-18. As the result, wkvol03-client-18 has been removed, lookup occurs problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant