Project

General

Profile

Actions

Bug #36626

open

couldn't rewatch after network was blocked and client blacklisted

Added by wb song over 5 years ago. Updated about 5 years ago.

Status:
Need More Info
Priority:
Normal
Assignee:
-
Target version:
% 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

client-rbd-337165.zip (546 KB) client-rbd-337165.zip wb song, 04/12/2019 09:08 AM
Actions

Also available in: Atom PDF