Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-07 Thread Dengke Du
Thanks! This problem fixed by your advice: 1. add 3 osd service 2. link  libcls_rbd.so to libcls_rbd.so.1.0.0, because I build ceph from source code according to Mykola's advice. On 2018/11/6 下午4:33, Ashley Merrick wrote: Is that correct or have you added more than 1 OSD? CEPH is never

Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-06 Thread Ashley Merrick
Is that correct or have you added more than 1 OSD? CEPH is never going to work or be able to bring up a pool with only one OSD, if you really do have more than OSD and have added them correctly then there really is something up with your CEPH setup / config and may be worth starting from scratch.

Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-06 Thread Dengke Du
On 2018/11/6 下午4:29, Ashley Merrick wrote: What does "ceph osd tree" show ? root@node1:~# ceph osd tree ID CLASS WEIGHT  TYPE NAME  STATUS REWEIGHT PRI-AFF -2 0 host 0 -1   1.0 root default -3   1.0 host node1  0   hdd 1.0 osd.0    down    0

Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-06 Thread Ashley Merrick
What does "ceph osd tree" show ? On Tue, Nov 6, 2018 at 4:27 PM Dengke Du wrote: > > On 2018/11/6 下午4:24, Ashley Merrick wrote: > > If I am reading your ceph -s output correctly you only have 1 OSD, and 0 > pool's created. > > So your be unable to create a RBD till you atleast have a pool

Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-06 Thread Dengke Du
On 2018/11/6 下午4:24, Ashley Merrick wrote: If I am reading your ceph -s output correctly you only have 1 OSD, and 0 pool's created. So your be unable to create a RBD till you atleast have a pool setup and configured to create the RBD within. root@node1:~# ceph osd lspools 1 libvirt-pool 2

Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-06 Thread Ashley Merrick
If I am reading your ceph -s output correctly you only have 1 OSD, and 0 pool's created. So your be unable to create a RBD till you atleast have a pool setup and configured to create the RBD within. On Tue, Nov 6, 2018 at 4:21 PM Dengke Du wrote: > > On 2018/11/6 下午4:16, Mykola Golub wrote: >

Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-06 Thread Dengke Du
On 2018/11/6 下午4:16, Mykola Golub wrote: On Tue, Nov 06, 2018 at 09:45:01AM +0800, Dengke Du wrote: I reconfigure the osd service from start, the journal was: I am not quite sure I understand what you mean here.

Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-06 Thread Mykola Golub
On Tue, Nov 06, 2018 at 09:45:01AM +0800, Dengke Du wrote: > I reconfigure the osd service from start, the journal was: I am not quite sure I understand what you mean here. >

Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-05 Thread Dengke Du
On 2018/11/5 下午7:08, Mykola Golub wrote: On Mon, Nov 05, 2018 at 06:14:09PM +0800, Dengke Du wrote: -1 osd.0 20 class rbd open got (2) No such file or directory So rbd cls was not loaded. Look at the directory, returned by this command: ceph-conf --name osd.0 -D | grep osd_class_dir

Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-05 Thread Mykola Golub
On Mon, Nov 05, 2018 at 06:14:09PM +0800, Dengke Du wrote: > -1 osd.0 20 class rbd open got (2) No such file or directory So rbd cls was not loaded. Look at the directory, returned by this command: ceph-conf --name osd.0 -D | grep osd_class_dir if it contains libcls_rbd.so. And if the list

Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-05 Thread Dengke Du
On 2018/11/5 下午5:15, Mykola Golub wrote: On Mon, Nov 05, 2018 at 03:19:29PM +0800, Dengke Du wrote: Hi all ceph: 13.2.2 When run command:     rbd create libvirt-pool/dimage --size 10240 Error happen:     rbd: create error: 2018-11-04 23:54:56.224 7ff22e7fc700 -1

Re: [ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-05 Thread Mykola Golub
On Mon, Nov 05, 2018 at 03:19:29PM +0800, Dengke Du wrote: > Hi all > > ceph: 13.2.2 > > When run command: > >     rbd create libvirt-pool/dimage --size 10240 > > Error happen: > >     rbd: create error: 2018-11-04 23:54:56.224 7ff22e7fc700 -1 > librbd::image::CreateRequest: 0x55e4fc8bf620

[ceph-users] librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

2018-11-04 Thread Dengke Du
Hi all ceph: 13.2.2 When run command:     rbd create libvirt-pool/dimage --size 10240 Error happen:     rbd: create error: 2018-11-04 23:54:56.224 7ff22e7fc700 -1 librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object: (95) Operation not