Bug #2152
rbd: first monitor address is passed to kernel n times in rbd map
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Using rbd map with mon0 (addr 10.10.10.4:6789) down, this happened:
(02:32:14 PM) stxShadow: [417877.894082] libceph: mon1 10.10.10.4:6789 connection failed (02:32:14 PM) stxShadow: [417887.905142] libceph: mon0 10.10.10.4:6789 connection failed (02:32:14 PM) stxShadow: [417897.906446] libceph: mon2 10.10.10.4:6789 connection failed
mon0's address is being passed three times to /sys/bus/rbd/add, instead of the right addresses.
Associated revisions
rbd: pass all mon addrs when mapping devices
Previously this repeated the address of the first monitor.
Fixes: #2152
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Reviewed-by: Sage Weil <sage@newdream.net>
History
#1 Updated by Sage Weil about 12 years ago
- Category set to librbd
- Status changed from New to Resolved
- Target version set to v0.44