Project

General

Profile

Bug #2152

rbd: first monitor address is passed to kernel n times in rbd map

Added by Josh Durgin about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librbd
Target version:
% 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

Revision b0c9d58c (diff)
Added by Josh Durgin about 12 years ago

rbd: pass all mon addrs when mapping devices

Previously this repeated the address of the first monitor.

Fixes: #2152
Signed-off-by: Josh Durgin <>
Reviewed-by: Sage Weil <>

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

Also available in: Atom PDF