Project

General

Profile

Actions

Bug #23528

closed

rbd-nbd: EBUSY when do map

Added by Li Wang about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous,jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When doing rbd-nbd map, if the Ceph service is not available,
the codes will wait on rados.connect(), unless killing the process.
In that case, the close_nbd logic is skipped with NBD_CLEAR_SOCK ioctl
not called. On the CentOS 7 kernel, it leaves nbd->file not cleared, which
causes the subsequent map requests return EBUSY


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #23542: luminous: rbd-nbd: EBUSY when do mapResolvedPrashant DActions
Copied to rbd - Backport #23543: jewel: rbd-nbd: EBUSY when do mapResolvedPrashant DActions
Actions #1

Updated by Jason Dillaman about 6 years ago

  • Status changed from New to Pending Backport
  • Backport set to luminous,jewel
Actions #2

Updated by Jason Dillaman about 6 years ago

Actions #3

Updated by Nathan Cutler about 6 years ago

Actions #4

Updated by Nathan Cutler about 6 years ago

Actions #5

Updated by Nathan Cutler about 6 years ago

  • Project changed from Ceph to rbd
Actions #6

Updated by Nathan Cutler about 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF