Actions
Bug #36626
opencouldn't rewatch after network was blocked and client blacklisted
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
ceph version: v12.2.9
reproduceļ¼
1. map an image in client A
[root@client_A ~]# rbd nbd map pool_test/image_test /dev/nbd0
2. map an image in client B
[root@client_B ~]# rbd nbd map pool_test/image_test /dev/nbd0
3. write data in client B and press Ctrl+C to break (client B own the lock)
[root@client_B ~]# dd if=/dev/zero of=/dev/nbd0 bs=4K count=100000 oflag=direct ^C314+0 records in 314+0 records out 1286144 bytes (1.3 MB) copied, 3.87275 s, 332 kB/s
4. down client B's public network
[root@client_B ~]# ifconfig enp3s0f0 down;sleep 40;ifconfig enp3s0f0 up;
5. write data in client A before client B' network up (client B blacklisted)
[root@client_A ~]# dd if=/dev/zero of=/dev/nbd0 bs=4K count=100 oflag=direct 100+0 records in 100+0 records out 409600 bytes (410 kB) copied, 0.000626715 s, 654 MB/s
6. write data in client B
[root@client_B ~]# dd if=/dev/zero of=/dev/nbd0 bs=4K count=1000 oflag=direct // hung ^C^C
Files
Actions