Hi all, I've found that the problem was due to missing /etc/ceph/ceph.client.admin.keyring file on the storage node where I was trying to do the import-rados operation. Kind regards, Laszlo On 15.03.2017 20:22, Laszlo Budai wrote:
Hello, I'm trying to do an import-rados operation, but the ceph-objectstore-tool crashes with segfault: [root@storage1 ~]# ceph-objectstore-tool import-rados images pg6.6exp-osd1 *** Caught signal (Segmentation fault) ** in thread 7f84e0b24880 ceph version 0.94.10 (b1e0532418e4631af01acbc0cedd426f1905f4af) 1: ceph-objectstore-tool() [0xb13532] 2: (()+0xf100) [0x7f84dc87a100] 3: (()+0xa7294) [0x7f84dd4ad294] 4: (()+0x808ee) [0x7f84dd4868ee] 5: (()+0x80b28) [0x7f84dd486b28] 6: (rados_ioctx_create()+0x40) [0x7f84dd45c390] 7: (librados::Rados::ioctx_create(char const*, librados::IoCtx&)+0x23) [0x7f84dd45c503] 8: (do_import_rados(std::string, bool)+0xb7c) [0x682bec] 9: (main()+0x126c) [0x65145c] 10: (__libc_start_main()+0xf5) [0x7f84db699b15] 11: ceph-objectstore-tool() [0x670187] 2017-03-15 17:39:02.290206 7f84e0b24880 -1 *** Caught signal (Segmentation fault) ** in thread 7f84e0b24880 ceph version 0.94.10 (b1e0532418e4631af01acbc0cedd426f1905f4af) 1: ceph-objectstore-tool() [0xb13532] 2: (()+0xf100) [0x7f84dc87a100] 3: (()+0xa7294) [0x7f84dd4ad294] 4: (()+0x808ee) [0x7f84dd4868ee] 5: (()+0x80b28) [0x7f84dd486b28] 6: (rados_ioctx_create()+0x40) [0x7f84dd45c390] 7: (librados::Rados::ioctx_create(char const*, librados::IoCtx&)+0x23) [0x7f84dd45c503] 8: (do_import_rados(std::string, bool)+0xb7c) [0x682bec] 9: (main()+0x126c) [0x65145c] 10: (__libc_start_main()+0xf5) [0x7f84db699b15] 11: ceph-objectstore-tool() [0x670187] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. --- begin dump of recent events --- -14> 2017-03-15 17:39:02.272360 7f84e0b24880 5 asok(0x41d6000) register_command perfcounters_dump hook 0x4192120 -13> 2017-03-15 17:39:02.272378 7f84e0b24880 5 asok(0x41d6000) register_command 1 hook 0x4192120 -12> 2017-03-15 17:39:02.272380 7f84e0b24880 5 asok(0x41d6000) register_command perf dump hook 0x4192120 -11> 2017-03-15 17:39:02.272382 7f84e0b24880 5 asok(0x41d6000) register_command perfcounters_schema hook 0x4192120 -10> 2017-03-15 17:39:02.272384 7f84e0b24880 5 asok(0x41d6000) register_command 2 hook 0x4192120 -9> 2017-03-15 17:39:02.272385 7f84e0b24880 5 asok(0x41d6000) register_command perf schema hook 0x4192120 -8> 2017-03-15 17:39:02.272387 7f84e0b24880 5 asok(0x41d6000) register_command perf reset hook 0x4192120 -7> 2017-03-15 17:39:02.272388 7f84e0b24880 5 asok(0x41d6000) register_command config show hook 0x4192120 -6> 2017-03-15 17:39:02.272389 7f84e0b24880 5 asok(0x41d6000) register_command config set hook 0x4192120 -5> 2017-03-15 17:39:02.272390 7f84e0b24880 5 asok(0x41d6000) register_command config get hook 0x4192120 -4> 2017-03-15 17:39:02.272392 7f84e0b24880 5 asok(0x41d6000) register_command config diff hook 0x4192120 -3> 2017-03-15 17:39:02.272393 7f84e0b24880 5 asok(0x41d6000) register_command log flush hook 0x4192120 -2> 2017-03-15 17:39:02.272394 7f84e0b24880 5 asok(0x41d6000) register_command log dump hook 0x4192120 -1> 2017-03-15 17:39:02.272395 7f84e0b24880 5 asok(0x41d6000) register_command log reopen hook 0x4192120 0> 2017-03-15 17:39:02.290206 7f84e0b24880 -1 *** Caught signal (Segmentation fault) ** in thread 7f84e0b24880 ceph version 0.94.10 (b1e0532418e4631af01acbc0cedd426f1905f4af) 1: ceph-objectstore-tool() [0xb13532] 2: (()+0xf100) [0x7f84dc87a100] 3: (()+0xa7294) [0x7f84dd4ad294] 4: (()+0x808ee) [0x7f84dd4868ee] 5: (()+0x80b28) [0x7f84dd486b28] 6: (rados_ioctx_create()+0x40) [0x7f84dd45c390] 7: (librados::Rados::ioctx_create(char const*, librados::IoCtx&)+0x23) [0x7f84dd45c503] 8: (do_import_rados(std::string, bool)+0xb7c) [0x682bec] 9: (main()+0x126c) [0x65145c] 10: (__libc_start_main()+0xf5) [0x7f84db699b15] 11: ceph-objectstore-tool() [0x670187] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. --- logging levels --- 0/ 5 none 0/ 1 lockdep 0/ 1 context 1/ 1 crush 1/ 5 mds 1/ 5 mds_balancer 1/ 5 mds_locker 1/ 5 mds_log 1/ 5 mds_log_expire 1/ 5 mds_migrator 0/ 1 buffer 0/ 1 timer 0/ 1 filer 0/ 1 striper 0/ 1 objecter 0/ 5 rados 0/ 5 rbd 0/ 5 rbd_replay 0/ 5 journaler 0/ 5 objectcacher 0/ 5 client 0/ 5 osd 0/ 5 optracker 0/ 5 objclass 1/ 3 filestore 1/ 3 keyvaluestore 1/ 3 journal 0/ 5 ms 1/ 5 mon 0/10 monc 1/ 5 paxos 0/ 5 tp 1/ 5 auth 1/ 5 crypto 1/ 1 finisher 1/ 5 heartbeatmap 1/ 5 perfcounter 1/ 5 rgw 1/10 civetweb 1/ 5 javaclient 1/ 5 asok 1/ 1 throttle 0/ 0 refs 1/ 5 xio -2/-2 (syslog threshold) 99/99 (stderr threshold) max_recent 500 max_new 1000 log_file --- end dump of recent events --- Segmentation fault [root@storage1 ~]# I have created the dump with the same tool. Then I've stopped all the OSDs belonging to that PG. Used the ceph-objectstore-tool --op remove to remove the pg from the OSDs. After that I have create a new pg using ceph pg force_create_pg , and when I was trying to import-rados then I got this segfault. Any ideas how to avoid it? Thank you! Laszlo _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com