Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / tools / rbd_recover_tool / FAQ
1 # author: min chen(minchen@ubuntukylin.com) 2014 2015
2
3 1. error "get_image_metadata_v2: no meta_header_seq input"
4 cause: 
5   database is old, refresh database
6 solution:
7   ./rbd-recover-tool database
8
9 2. Error initializing leveldb: IO error: lock /var/lib/ceph/osd/ceph-0/current/omap/LOCK: Resource temporarily unavailable
10    ERROR: error flushing journal /var/lib/ceph/osd/ceph-0/journal for object store /var/lib/ceph/osd/ceph-0: (1) Operation not permitted
11 cause: 
12   when ./rbd-recover-tool database is interrupted , but command has been sent to each osd node, and there is a process reading leveldb and it is LOCKED
13   if run ./rbd-recover-tool database again, all command are sent to osd nodes again, while previous process is locking leveldb, so all new command
14   are failed.
15 solution:
16   wait until all previous command finished.