Bug #23528
rbd-nbd: EBUSY when do map
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
History
#1 Updated by Jason Dillaman almost 6 years ago
- Status changed from New to Pending Backport
- Backport set to luminous,jewel
#2 Updated by Jason Dillaman almost 6 years ago
#3 Updated by Nathan Cutler almost 6 years ago
- Copied to Backport #23542: luminous: rbd-nbd: EBUSY when do map added
#4 Updated by Nathan Cutler almost 6 years ago
- Copied to Backport #23543: jewel: rbd-nbd: EBUSY when do map added
#5 Updated by Nathan Cutler almost 6 years ago
- Project changed from Ceph to rbd
#6 Updated by Nathan Cutler almost 6 years ago
- Status changed from Pending Backport to Resolved