Project

General

Profile

Actions

Bug #24106

closed

fail to create rbd device when the clusters' health is ok

Added by yi li almost 6 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
Ceph-deploy - 1.5.29
ceph-qa-suite:
samba
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

First, thanks for watching my problem.

My problem is that I cannot create rdb device when the clusters' health is ok. The specific sitiuation is blew.

Creating rbd device but get stunk in pipe fault error.

[root@node1 ceph]# rbd create disk01 --size 512
2018-05-12 23:24:16.035846 7fd64673a700 0 -- 192.168.159.138:0/419279829 >> 192.168.159.140:6800/15923 pipe(0x56398af200e0 sd=5 :0 s=1 pgs=0 cs=0 l=1 c=0x56398af1f900).fault

The clusters' health is ok.

[root@node1 ceph]# ceph status
cluster 439c14be-3279-4b43-9110-fa8a2214feeb
health HEALTH_OK
monmap e1: 1 mons at {node1=192.168.159.138:6789/0}
election epoch 7, quorum 0 node1
osdmap e156: 3 osds: 3 up, 3 in
flags sortbitwise,require_jewel_osds
pgmap v434: 128 pgs, 1 pools, 0 bytes data, 0 objects
117 MB used, 45929 MB / 46046 MB avail
128 active+clean

There is no down osd.


[root@node1 ceph]# ceph osd tree
ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY
-1 0.04376 root default
-2 0.01459 host node1
0 0.01459 osd.0 up 1.00000 1.00000
-3 0.01459 host node2
2 0.01459 osd.2 up 1.00000 1.00000
-4 0.01459 host node3
4 0.01459 osd.4 up 1.00000 1.00000

This is my ceph.conf

@
[root@node1 ceph]# cat ceph.conf
[global]
fsid = 16f49636-d2d3-43a7-9685-aa7a22e895b7
mon_initial_members = node1
mon_host = 192.168.159.138
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
public network = 192.168.159.0/24

@

The ip addresses of node1, node2, node3 are 192.168.159.138, 192.168.159.139, 192.168.159.140.

The version informations are blew.

[root@node1 ceph]# uname -r
3.10.0-693.el7.x86_64
[root@node1 ceph]# ceph -v
ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe)
[root@node1 ceph]# ceph-deploy --version
1.5.39
[root@node1 ceph]# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.4.1708 (Core)
Release: 7.4.1708
Codename: Core

Looking forward to your reply!!!

Actions #1

Updated by Alfredo Deza almost 6 years ago

  • Project changed from 18 to rbd
  • Target version deleted (1.5.29)
Actions #2

Updated by Jason Dillaman almost 6 years ago

  • Status changed from New to Need More Info
  • Priority changed from Normal to Low

It appears your client cannot connect to host 192.168.159.140, port 6800. If you run 'rbd create disk01 --size 512 --debug-ms 20', what do you see?

Actions #3

Updated by Jason Dillaman about 5 years ago

  • Status changed from Need More Info to Closed

Closing due to a lack of activity

Actions

Also available in: Atom PDF