Bug #24106
closedfail to create rbd device when the clusters' health is ok
0%
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!!!