Advertisement
peetaur

ceph osd won't start after update

Oct 3rd, 2013
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.98 KB | None | 0 0
  1. When upstart starts it, you get this log /var/log/ceph/ceph-osd.0.log
  2.  
  3. 2013-10-03 17:28:30.382047 7f5f721bb780 0 ceph version 0.67.3 (408cd61584c72c0d97b774b3d8f95c6b1b06341a), process ceph-osd, pid 1754
  4. 2013-10-03 17:28:30.475139 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) limited size xattrs -- filestore_xattr_use_omap already enabled
  5. 2013-10-03 17:28:30.524026 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is supported and appears to work
  6. 2013-10-03 17:28:30.524088 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is disabled via 'filestore fiemap' config option
  7. 2013-10-03 17:28:30.524240 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount did NOT detect btrfs
  8. 2013-10-03 17:28:30.609967 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount syncfs(2) syscall fully supported (by glibc and kernel)
  9. 2013-10-03 17:28:30.610170 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount found snaps <>
  10. 2013-10-03 17:28:30.661234 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount: enabling WRITEAHEAD journal mode: btrfs not detected
  11. 2013-10-03 17:28:30.661581 7f5f721bb780 -1 journal FileJournal::_open: disabling aio for non-block journal. Use journal_force_aio to force use of aio anyway
  12. 2013-10-03 17:28:30.661912 7f5f721bb780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 20: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
  13. 2013-10-03 17:28:30.662167 7f5f721bb780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 20: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
  14. 2013-10-03 17:28:30.673300 7f5f721bb780 1 journal close /var/lib/ceph/osd/ceph-0/journal
  15. 2013-10-03 17:28:30.804510 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) limited size xattrs -- filestore_xattr_use_omap already enabled
  16. 2013-10-03 17:28:30.852570 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is supported and appears to work
  17. 2013-10-03 17:28:30.852613 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is disabled via 'filestore fiemap' config option
  18. 2013-10-03 17:28:30.852781 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount did NOT detect btrfs
  19. 2013-10-03 17:28:30.968813 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount syncfs(2) syscall fully supported (by glibc and kernel)
  20. 2013-10-03 17:28:30.969024 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount found snaps <>
  21. 2013-10-03 17:28:31.024217 7f5f721bb780 0 filestore(/var/lib/ceph/osd/ceph-0) mount: enabling WRITEAHEAD journal mode: btrfs not detected
  22. 2013-10-03 17:28:31.024457 7f5f721bb780 -1 journal FileJournal::_open: disabling aio for non-block journal. Use journal_force_aio to force use of aio anyway
  23. 2013-10-03 17:28:31.024498 7f5f721bb780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 20: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
  24. 2013-10-03 17:28:31.024707 7f5f721bb780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 20: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
  25. 2013-10-03 17:28:31.108396 7f5f721bb780 1 journal close /var/lib/ceph/osd/ceph-0/journal
  26. 2013-10-03 17:28:31.109821 7f5f721bb780 -1 ESC[0;31m ** ERROR: osd init failed: (1) Operation not permittedESC[0m
  27.  
  28. When started manually, you get this instead:
  29.  
  30. ceph@ceph1-test:~$ sudo ceph-osd --cluster=ceph -i 0 -d --debug_ms 2222
  31. 2013-10-03 17:57:28.127852 7f95da00e780 0 ceph version 0.67.3 (408cd61584c72c0d97b774b3d8f95c6b1b06341a), process ceph-osd, pid 2092starting osd.0 at :/0 osd_data /var/lib/ceph/osd/ceph-0 /var/lib/ceph/osd/ceph-0/journal
  32.  
  33. 2013-10-03 17:57:28.128516 7f95da00e780 10 -- :/0 rank.bind :/0
  34. 2013-10-03 17:57:28.128549 7f95da00e780 10 accepter.accepter.bind
  35. 2013-10-03 17:57:28.128571 7f95da00e780 10 accepter.accepter.bind bound on random port 0.0.0.0:6800/0
  36. 2013-10-03 17:57:28.128586 7f95da00e780 10 accepter.accepter.bind bound to 0.0.0.0:6800/0
  37. 2013-10-03 17:57:28.128611 7f95da00e780 1 accepter.accepter.bind my_inst.addr is 0.0.0.0:6800/2092 need_addr=1
  38. 2013-10-03 17:57:28.128620 7f95da00e780 10 -- :/0 rank.bind :/0
  39. 2013-10-03 17:57:28.128623 7f95da00e780 10 accepter.accepter.bind
  40. 2013-10-03 17:57:28.128651 7f95da00e780 10 accepter.accepter.bind bound on random port 0.0.0.0:6801/0
  41. 2013-10-03 17:57:28.128656 7f95da00e780 10 accepter.accepter.bind bound to 0.0.0.0:6801/0
  42. 2013-10-03 17:57:28.128666 7f95da00e780 1 accepter.accepter.bind my_inst.addr is 0.0.0.0:6801/2092 need_addr=1
  43. 2013-10-03 17:57:28.128671 7f95da00e780 10 -- :/0 rank.bind :/0
  44. 2013-10-03 17:57:28.128672 7f95da00e780 10 accepter.accepter.bind
  45. 2013-10-03 17:57:28.128683 7f95da00e780 10 accepter.accepter.bind bound on random port 0.0.0.0:6802/0
  46. 2013-10-03 17:57:28.128687 7f95da00e780 10 accepter.accepter.bind bound to 0.0.0.0:6802/0
  47. 2013-10-03 17:57:28.128706 7f95da00e780 1 accepter.accepter.bind my_inst.addr is 0.0.0.0:6802/2092 need_addr=1
  48. 2013-10-03 17:57:28.128716 7f95da00e780 10 -- :/0 rank.bind :/0
  49. 2013-10-03 17:57:28.128721 7f95da00e780 10 accepter.accepter.bind
  50. 2013-10-03 17:57:28.128747 7f95da00e780 10 accepter.accepter.bind bound on random port 0.0.0.0:6803/0
  51. 2013-10-03 17:57:28.128757 7f95da00e780 10 accepter.accepter.bind bound to 0.0.0.0:6803/0
  52. 2013-10-03 17:57:28.128766 7f95da00e780 1 accepter.accepter.bind my_inst.addr is 0.0.0.0:6803/2092 need_addr=1
  53. 2013-10-03 17:57:28.212487 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) limited size xattrs -- filestore_xattr_use_omap already enabled
  54. 2013-10-03 17:57:28.261181 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is supported and appears to work
  55. 2013-10-03 17:57:28.261227 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount FIEMAP ioctl is disabled via 'filestore fiemap' config option
  56. 2013-10-03 17:57:28.261380 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount did NOT detect btrfs
  57. 2013-10-03 17:57:28.356959 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount syncfs(2) syscall fully supported (by glibc and kernel)
  58. 2013-10-03 17:57:28.357137 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount found snaps <>
  59. 2013-10-03 17:57:28.407546 7f95da00e780 0 filestore(/var/lib/ceph/osd/ceph-0) mount: enabling WRITEAHEAD journal mode: btrfs not detected
  60. 2013-10-03 17:57:28.407786 7f95da00e780 -1 journal FileJournal::_open: disabling aio for non-block journal. Use journal_force_aio to force use of aio anyway
  61. 2013-10-03 17:57:28.407812 7f95da00e780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 19: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
  62. 2013-10-03 17:57:28.407947 7f95da00e780 1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 19: 1073741824 bytes, block size 4096 bytes, directio = 1, aio = 0
  63. 2013-10-03 17:57:28.419053 7f95da00e780 1 journal close /var/lib/ceph/osd/ceph-0/journal
  64. ceph@ceph1-test:~$ echo $?
  65. 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement