Project

General

Profile

Bug #23528

rbd-nbd: EBUSY when do map

Added by Li Wang about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/30/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous,jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

Copied to rbd - Backport #23542: luminous: rbd-nbd: EBUSY when do map Resolved
Copied to rbd - Backport #23543: jewel: rbd-nbd: EBUSY when do map Resolved

History

#1 Updated by Jason Dillaman about 1 year ago

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

#3 Updated by Nathan Cutler about 1 year ago

#4 Updated by Nathan Cutler about 1 year ago

#5 Updated by Nathan Cutler about 1 year ago

  • Project changed from Ceph to rbd

#6 Updated by Nathan Cutler about 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF