Project

General

Profile

Actions

Bug #39945

open

RBD I/O error leads to ghost-mapped RBD

Added by Cliff Pajaro almost 5 years ago. Updated over 4 years ago.

Status:
Need More Info
Priority:
Low
Assignee:
Category:
rbd
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

I have attached a couple of kernel logs (same system) showing the IO errors.

On the system that had the RBDs mapped, the RBDs don't appear in "rbd showmapped" and are not inside "/sys/bus/rbd/devices". Attempting "echo # > /sys/bus/rbd/remove" doesn't work.

The RBDs do appear in /sys/kernel/debug/block/rbd7 and /sys/kernel/debug/block/rbd8.
The RBDs appear when calling "rbd status".

Watchers:
        watcher=10.10.4.63:0/876863094 client.44641389 cookie=18446462598732841001

Watchers:
        watcher=10.10.4.63:0/876863094 client.44641389 cookie=18446462598733070026

It seems the only way to release the RBDs is to reboot the system. The RBDs can be mapped, mounted, read, etc. with no problems (attempted on a different system and on the same system).

# ps aux | grep [r]bd
root     3011042  0.0  0.0      0     0 ?        I<   Apr20   0:00 [rbd]
root     3373133  0.0  0.0      0     0 ?        I<   May09   0:00 [rbd8-tasks]
root     3957315  0.0  0.0      0     0 ?        I<   Apr26   0:00 [rbd7-tasks]
# cat /proc/3011042/stack 
[<0>] rescuer_thread+0x2ef/0x330
[<0>] kthread+0x111/0x130
[<0>] ret_from_fork+0x1f/0x30
[<0>] 0xffffffffffffffff
# cat /proc/3373133/stack        
[<0>] rescuer_thread+0x2ef/0x330
[<0>] kthread+0x111/0x130
[<0>] ret_from_fork+0x1f/0x30
[<0>] 0xffffffffffffffff
# cat /proc/3957315/stack       
[<0>] rescuer_thread+0x2ef/0x330
[<0>] kthread+0x111/0x130
[<0>] ret_from_fork+0x1f/0x30
[<0>] 0xffffffffffffffff

Version information:

# ceph version
ceph version 12.2.12 (1436006594665279fe734b4c15d7e08c13ebd777) luminous (stable)
# ceph --version
ceph version 12.2.12 (1436006594665279fe734b4c15d7e08c13ebd777) luminous (stable)
# uname -r
4.19.34-vanilla-cephsb-2


Files

var_log_messages_rbd7.txt (7.98 KB) var_log_messages_rbd7.txt Cliff Pajaro, 05/15/2019 05:43 PM
var_log_messages_rbd8.txt (8.19 KB) var_log_messages_rbd8.txt Cliff Pajaro, 05/15/2019 05:43 PM
Actions

Also available in: Atom PDF