* Cannot create an rbd image
@ 2011-12-05 16:57 Guido Winkelmann
2011-12-05 17:57 ` Josh Durgin
0 siblings, 1 reply; 3+ messages in thread
From: Guido Winkelmann @ 2011-12-05 16:57 UTC (permalink / raw)
To: ceph-devel
Hi,
I cannot create a new rbd image in a newly created ceph cluster. When I try
it, I get these messages:
# rbd create testimage1 --size 10000
2011-12-05 17:41:00.987352 7ffe8b5c3760 -- :/0 messenger.start
2011-12-05 17:41:00.987542 7ffe8b5c3760 -- :/1011427 --> 10.3.1.33:6789/0 --
auth(proto 0 30 bytes) v1 -- ?+0 0x14f2540 con 0x14f22c0
2011-12-05 17:41:00.987769 7ffe8b5bf700 -- 10.3.1.33:0/1011427 learned my addr
10.3.1.33:0/1011427
2011-12-05 17:41:00.988165 7ffe88952700 -- 10.3.1.33:0/1011427 <== mon.0
10.3.1.33:6789/0 1 ==== auth_reply(proto 1 0 Success) v1 ==== 24+0+0
(1391608787 0 0) 0x7ffe78000940 con 0x14f22c0
2011-12-05 17:41:00.988194 7ffe88952700 -- 10.3.1.33:0/1011427 -->
10.3.1.33:6789/0 -- mon_subscribe({monmap=0+}) v1 -- ?+0 0x14f2720 con
0x14f22c0
2011-12-05 17:41:00.988280 7ffe8b5c3760 -- 10.3.1.33:0/1011427 -->
10.3.1.33:6789/0 -- mon_subscribe({monmap=0+,osdmap=0}) v1 -- ?+0 0x14f3050
con 0x14f22c0
2011-12-05 17:41:00.988303 7ffe8b5c3760 -- 10.3.1.33:0/1011427 -->
10.3.1.33:6789/0 -- mon_subscribe({monmap=0+,osdmap=0}) v1 -- ?+0 0x14f31f0
con 0x14f22c0
2011-12-05 17:41:00.988409 7ffe88952700 -- 10.3.1.33:0/1011427 <== mon.0
10.3.1.33:6789/0 2 ==== mon_map v1 ==== 191+0+0 (2396840036 0 0) 0x7ffe78000c50
con 0x14f22c0
2011-12-05 17:41:00.988438 7ffe88952700 -- 10.3.1.33:0/1011427 <== mon.0
10.3.1.33:6789/0 3 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (1991728371 0
0) 0x7ffe78000e10 con 0x14f22c0
2011-12-05 17:41:00.988547 7ffe88952700 -- 10.3.1.33:0/1011427 <== mon.0
10.3.1.33:6789/0 4 ==== mon_map v1 ==== 191+0+0 (2396840036 0 0) 0x7ffe78000bd0
con 0x14f22c0
2011-12-05 17:41:00.988618 7ffe88952700 -- 10.3.1.33:0/1011427 <== mon.0
10.3.1.33:6789/0 5 ==== osd_map(4..4 src has 1..4) v2 ==== 1749+0+0
(3625543752 0 0) 0x7ffe78001470 con 0x14f22c0
2011-12-05 17:41:00.988714 7ffe88952700 -- 10.3.1.33:0/1011427 <== mon.0
10.3.1.33:6789/0 6 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (1991728371 0
0) 0x7ffe78000bd0 con 0x14f22c0
2011-12-05 17:41:00.988731 7ffe88952700 -- 10.3.1.33:0/1011427 <== mon.0
10.3.1.33:6789/0 7 ==== mon_map v1 ==== 191+0+0 (2396840036 0 0) 0x7ffe78001760
con 0x14f22c0
2011-12-05 17:41:00.988750 7ffe88952700 -- 10.3.1.33:0/1011427 <== mon.0
10.3.1.33:6789/0 8 ==== osd_map(4..4 src has 1..4) v2 ==== 1749+0+0
(3625543752 0 0) 0x7ffe78002080 con 0x14f22c0
2011-12-05 17:41:00.988835 7ffe8b5c3760 -- 10.3.1.33:0/1011427 -->
10.3.1.33:6801/10713 -- osd_op(client.4123.0:1 testimage1.rbd [stat 0~0]
2.829e9147) v1 -- ?+0 0x14f39f0 con 0x14f3770
2011-12-05 17:41:00.988869 7ffe88952700 -- 10.3.1.33:0/1011427 <== mon.0
10.3.1.33:6789/0 9 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (1991728371 0
0) 0x7ffe780023c0 con 0x14f22c0
2011-12-05 17:41:00.989373 7ffe88952700 -- 10.3.1.33:0/1011427 <== osd.0
10.3.1.33:6801/10713 1 ==== osd_op_reply(1 testimage1.rbd [stat 0~0] = -2 (No
such file or directory)) v2 ==== 105+0+0 (1064476462 0 0) 0x7ffe740009a0 con
0x14f3770
2011-12-05 17:41:00.989454 7ffe8b5c3760 -- 10.3.1.33:0/1011427 -->
10.3.1.33:6804/10780 -- osd_op(client.4123.0:2 rbd_info [write 0~0]
2.ac0e573a) v1 -- ?+0 0x14f3fd0 con 0x14f3cb0
2011-12-05 17:41:00.993769 7ffe88952700 -- 10.3.1.33:0/1011427 <== osd.1
10.3.1.33:6804/10780 1 ==== osd_op_reply(2 rbd_info [write 0~0] ack = 0) v2
==== 99+0+0 (2612771120 0 0) 0x7ffe6c000990 con 0x14f3cb0
2011-12-05 17:41:00.993858 7ffe8b5c3760 -- 10.3.1.33:0/1011427 -->
10.3.1.33:6804/10780 -- osd_op(client.4123.0:3 rbd_info [call rbd.assign_bid]
2.ac0e573a) v1 -- ?+0 0x14f5140 con 0x14f3cb0
2011-12-05 17:41:00.994047 7ffe88952700 -- 10.3.1.33:0/1011427 <== osd.1
10.3.1.33:6804/10780 2 ==== osd_op_reply(3 rbd_info [call] = -5 (Input/output
error)) v2 ==== 99+0+0 (445480430 0 0) 0x7ffe6c000990 con 0x14f3cb0
2011-12-05 17:41:00.994075 7ffe8b5c3760 librbd: failed to assign a block name
for image
create error: error 5: Input/output error
Anybody know what the problem is here?
Guido
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cannot create an rbd image
2011-12-05 16:57 Cannot create an rbd image Guido Winkelmann
@ 2011-12-05 17:57 ` Josh Durgin
2011-12-05 18:04 ` Guido Winkelmann
0 siblings, 1 reply; 3+ messages in thread
From: Josh Durgin @ 2011-12-05 17:57 UTC (permalink / raw)
To: Guido Winkelmann; +Cc: ceph-devel
On 12/05/2011 08:57 AM, Guido Winkelmann wrote:
> Hi,
>
> I cannot create a new rbd image in a newly created ceph cluster. When I try
> it, I get these messages:
>
> # rbd create testimage1 --size 10000
<other output trimmed>
> 2011-12-05 17:41:00.994075 7ffe8b5c3760 librbd: failed to assign a block name
> for image
> create error: error 5: Input/output error
This usually happens because your osds can't find cls_rbd.so. They
search for it in osd_class_dir, which may not be set correctly by
default (bug #1722). Most likely it's looking in /usr/lib/rados-classes
instead of /usr/lib64/rados-classes - change osd_class_dir in your
ceph.conf and restart the osds to fix it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cannot create an rbd image
2011-12-05 17:57 ` Josh Durgin
@ 2011-12-05 18:04 ` Guido Winkelmann
0 siblings, 0 replies; 3+ messages in thread
From: Guido Winkelmann @ 2011-12-05 18:04 UTC (permalink / raw)
To: ceph-devel
Am Montag, 5. Dezember 2011, 09:57:22 schrieb Josh Durgin:
> On 12/05/2011 08:57 AM, Guido Winkelmann wrote:
> > Hi,
> >
> > I cannot create a new rbd image in a newly created ceph cluster. When I
> > try it, I get these messages:
> >
> > # rbd create testimage1 --size 10000
>
> <other output trimmed>
>
> > 2011-12-05 17:41:00.994075 7ffe8b5c3760 librbd: failed to assign a block
> > name for image
> > create error: error 5: Input/output error
>
> This usually happens because your osds can't find cls_rbd.so. They
> search for it in osd_class_dir, which may not be set correctly by
> default (bug #1722). Most likely it's looking in /usr/lib/rados-classes
> instead of /usr/lib64/rados-classes - change osd_class_dir in your
> ceph.conf and restart the osds to fix it.
That did the trick, thanks!
(It was /usr/local/lib/rados-classes actually)
Guido
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-05 18:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-05 16:57 Cannot create an rbd image Guido Winkelmann
2011-12-05 17:57 ` Josh Durgin
2011-12-05 18:04 ` Guido Winkelmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.