Advertisement
Guest User

Untitled

a guest
Jul 29th, 2014
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.17 KB | None | 0 0
  1. [root@node-211 ~]# cat /root/ceph.log
  2. 2014-07-29 17:06:55,527 [ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy --overwrite-conf config pull node-218
  3. 2014-07-29 17:06:55,527 [ceph_deploy.config][DEBUG ] Checking node-218 for /etc/ceph/ceph.conf
  4. 2014-07-29 17:06:55,527 [ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection without sudo
  5. 2014-07-29 17:06:55,768 [ceph_deploy.config][DEBUG ] Got /etc/ceph/ceph.conf from node-218
  6. 2014-07-29 17:06:56,075 [ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy gatherkeys node-218
  7. 2014-07-29 17:06:56,075 [ceph_deploy.gatherkeys][DEBUG ] Checking node-218 for /etc/ceph/ceph.client.admin.keyring
  8. 2014-07-29 17:06:56,076 [ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection without sudo
  9. 2014-07-29 17:06:56,305 [ceph_deploy.gatherkeys][DEBUG ] Got ceph.client.admin.keyring key from node-218.
  10. 2014-07-29 17:06:56,306 [ceph_deploy.gatherkeys][DEBUG ] Checking node-218 for /var/lib/ceph/mon/ceph-{hostname}/keyring
  11. 2014-07-29 17:06:56,306 [ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection without sudo
  12. 2014-07-29 17:06:56,525 [ceph_deploy.gatherkeys][DEBUG ] Got ceph.mon.keyring key from node-218.
  13. 2014-07-29 17:06:56,525 [ceph_deploy.gatherkeys][DEBUG ] Checking node-218 for /var/lib/ceph/bootstrap-osd/ceph.keyring
  14. 2014-07-29 17:06:56,525 [ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection without sudo
  15. 2014-07-29 17:06:56,730 [ceph_deploy.gatherkeys][DEBUG ] Got ceph.bootstrap-osd.keyring key from node-218.
  16. 2014-07-29 17:06:56,730 [ceph_deploy.gatherkeys][DEBUG ] Checking node-218 for /var/lib/ceph/bootstrap-mds/ceph.keyring
  17. 2014-07-29 17:06:56,731 [ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection without sudo
  18. 2014-07-29 17:06:56,933 [ceph_deploy.gatherkeys][DEBUG ] Got ceph.bootstrap-mds.keyring key from node-218.
  19. 2014-07-29 17:06:57,302 [ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy --overwrite-conf config push node-211
  20. 2014-07-29 17:06:57,302 [ceph_deploy.config][DEBUG ] Pushing config to node-211
  21. 2014-07-29 17:06:57,303 [ceph_deploy.sudo_pushy][DEBUG ] will use a local connection without sudo
  22. 2014-07-29 17:07:32,788 [ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy osd prepare node-211:/dev/sdb4
  23. 2014-07-29 17:07:32,788 [ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks node-211:/dev/sdb4:
  24. 2014-07-29 17:07:32,788 [ceph_deploy.sudo_pushy][DEBUG ] will use a local connection without sudo
  25. 2014-07-29 17:07:32,950 [ceph_deploy.osd][INFO ] Distro info: CentOS 6.5 Final
  26. 2014-07-29 17:07:32,951 [ceph_deploy.osd][DEBUG ] Deploying osd to node-211
  27. 2014-07-29 17:07:32,959 [node-211][INFO ] write cluster configuration to /etc/ceph/{cluster}.conf
  28. 2014-07-29 17:07:33,023 [node-211][INFO ] keyring file does not exist, creating one at: /var/lib/ceph/bootstrap-osd/ceph.keyring
  29. 2014-07-29 17:07:33,033 [node-211][INFO ] create mon keyring file
  30. 2014-07-29 17:07:33,068 [node-211][INFO ] Running command: udevadm trigger --subsystem-match=block --action=add
  31. 2014-07-29 17:07:33,122 [ceph_deploy.osd][DEBUG ] Preparing host node-211 disk /dev/sdb4 journal None activate False
  32. 2014-07-29 17:07:33,122 [node-211][INFO ] Running command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  33. 2014-07-29 17:07:33,458 [node-211][ERROR ] Traceback (most recent call last):
  34. 2014-07-29 17:07:33,459 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/osd.py", line 126, in prepare_disk
  35. 2014-07-29 17:07:33,462 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line 10, in inner
  36. 2014-07-29 17:07:33,463 [node-211][ERROR ] def inner(*args, **kwargs):
  37. 2014-07-29 17:07:33,464 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py", line 6, in remote_call
  38. 2014-07-29 17:07:33,465 [node-211][ERROR ] This allows us to only remote-execute the actual calls, not whole functions.
  39. 2014-07-29 17:07:33,467 [node-211][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 505, in check_call
  40. 2014-07-29 17:07:33,468 [node-211][ERROR ] raise CalledProcessError(retcode, cmd)
  41. 2014-07-29 17:07:33,469 [node-211][ERROR ] CalledProcessError: Command '['ceph-disk-prepare', '--fs-type', 'xfs', '--cluster', 'ceph', '--', '/dev/sdb4']' returned non-zero exit status 1
  42. 2014-07-29 17:07:33,474 [node-211][ERROR ] mkfs.xfs: /dev/sdb4 contains a mounted filesystem
  43. 2014-07-29 17:07:33,475 [node-211][ERROR ] Usage: mkfs.xfs
  44. 2014-07-29 17:07:33,475 [node-211][ERROR ] /* blocksize */ [-b log=n|size=num]
  45. 2014-07-29 17:07:33,475 [node-211][ERROR ] /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
  46. 2014-07-29 17:07:33,475 [node-211][ERROR ] (sunit=value,swidth=value|su=num,sw=num),
  47. 2014-07-29 17:07:33,475 [node-211][ERROR ] sectlog=n|sectsize=num
  48. 2014-07-29 17:07:33,475 [node-211][ERROR ] /* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
  49. 2014-07-29 17:07:33,475 [node-211][ERROR ] projid32bit=0|1]
  50. 2014-07-29 17:07:33,475 [node-211][ERROR ] /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
  51. 2014-07-29 17:07:33,475 [node-211][ERROR ] sunit=value|su=num,sectlog=n|sectsize=num,
  52. 2014-07-29 17:07:33,475 [node-211][ERROR ] lazy-count=0|1]
  53. 2014-07-29 17:07:33,476 [node-211][ERROR ] /* label */ [-L label (maximum 12 characters)]
  54. 2014-07-29 17:07:33,476 [node-211][ERROR ] /* naming */ [-n log=n|size=num,version=2|ci]
  55. 2014-07-29 17:07:33,476 [node-211][ERROR ] /* prototype file */ [-p fname]
  56. 2014-07-29 17:07:33,476 [node-211][ERROR ] /* quiet */ [-q]
  57. 2014-07-29 17:07:33,476 [node-211][ERROR ] /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
  58. 2014-07-29 17:07:33,476 [node-211][ERROR ] /* sectorsize */ [-s log=n|size=num]
  59. 2014-07-29 17:07:33,476 [node-211][ERROR ] /* version */ [-V]
  60. 2014-07-29 17:07:33,476 [node-211][ERROR ] devicename
  61. 2014-07-29 17:07:33,476 [node-211][ERROR ] <devicename> is required unless -d name=xxx is given.
  62. 2014-07-29 17:07:33,476 [node-211][ERROR ] <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
  63. 2014-07-29 17:07:33,477 [node-211][ERROR ] xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
  64. 2014-07-29 17:07:33,477 [node-211][ERROR ] <value> is xxx (512 byte blocks).
  65. 2014-07-29 17:07:33,477 [node-211][ERROR ] ceph-disk: Error: Command '['/sbin/mkfs', '-t', 'xfs', '-f', '-i', 'size=2048', '--', '/dev/sdb4']' returned non-zero exit status 1
  66. 2014-07-29 17:07:33,480 [ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  67. 2014-07-29 17:07:33,481 [ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
  68.  
  69. 2014-07-29 17:07:34,725 [ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy osd prepare node-211:/dev/sdb4
  70. 2014-07-29 17:07:34,725 [ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks node-211:/dev/sdb4:
  71. 2014-07-29 17:07:34,726 [ceph_deploy.sudo_pushy][DEBUG ] will use a local connection without sudo
  72. 2014-07-29 17:07:34,886 [ceph_deploy.osd][INFO ] Distro info: CentOS 6.5 Final
  73. 2014-07-29 17:07:34,887 [ceph_deploy.osd][DEBUG ] Deploying osd to node-211
  74. 2014-07-29 17:07:34,895 [node-211][INFO ] write cluster configuration to /etc/ceph/{cluster}.conf
  75. 2014-07-29 17:07:34,982 [node-211][INFO ] Running command: udevadm trigger --subsystem-match=block --action=add
  76. 2014-07-29 17:07:35,044 [ceph_deploy.osd][DEBUG ] Preparing host node-211 disk /dev/sdb4 journal None activate False
  77. 2014-07-29 17:07:35,044 [node-211][INFO ] Running command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  78. 2014-07-29 17:07:35,313 [node-211][ERROR ] Traceback (most recent call last):
  79. 2014-07-29 17:07:35,313 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/osd.py", line 126, in prepare_disk
  80. 2014-07-29 17:07:35,316 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line 10, in inner
  81. 2014-07-29 17:07:35,317 [node-211][ERROR ] def inner(*args, **kwargs):
  82. 2014-07-29 17:07:35,318 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py", line 6, in remote_call
  83. 2014-07-29 17:07:35,319 [node-211][ERROR ] This allows us to only remote-execute the actual calls, not whole functions.
  84. 2014-07-29 17:07:35,320 [node-211][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 505, in check_call
  85. 2014-07-29 17:07:35,321 [node-211][ERROR ] raise CalledProcessError(retcode, cmd)
  86. 2014-07-29 17:07:35,322 [node-211][ERROR ] CalledProcessError: Command '['ceph-disk-prepare', '--fs-type', 'xfs', '--cluster', 'ceph', '--', '/dev/sdb4']' returned non-zero exit status 1
  87. 2014-07-29 17:07:35,328 [node-211][ERROR ] mkfs.xfs: /dev/sdb4 contains a mounted filesystem
  88. 2014-07-29 17:07:35,328 [node-211][ERROR ] Usage: mkfs.xfs
  89. 2014-07-29 17:07:35,328 [node-211][ERROR ] /* blocksize */ [-b log=n|size=num]
  90. 2014-07-29 17:07:35,328 [node-211][ERROR ] /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
  91. 2014-07-29 17:07:35,329 [node-211][ERROR ] (sunit=value,swidth=value|su=num,sw=num),
  92. 2014-07-29 17:07:35,329 [node-211][ERROR ] sectlog=n|sectsize=num
  93. 2014-07-29 17:07:35,329 [node-211][ERROR ] /* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
  94. 2014-07-29 17:07:35,329 [node-211][ERROR ] projid32bit=0|1]
  95. 2014-07-29 17:07:35,329 [node-211][ERROR ] /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
  96. 2014-07-29 17:07:35,329 [node-211][ERROR ] sunit=value|su=num,sectlog=n|sectsize=num,
  97. 2014-07-29 17:07:35,329 [node-211][ERROR ] lazy-count=0|1]
  98. 2014-07-29 17:07:35,329 [node-211][ERROR ] /* label */ [-L label (maximum 12 characters)]
  99. 2014-07-29 17:07:35,329 [node-211][ERROR ] /* naming */ [-n log=n|size=num,version=2|ci]
  100. 2014-07-29 17:07:35,329 [node-211][ERROR ] /* prototype file */ [-p fname]
  101. 2014-07-29 17:07:35,329 [node-211][ERROR ] /* quiet */ [-q]
  102. 2014-07-29 17:07:35,330 [node-211][ERROR ] /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
  103. 2014-07-29 17:07:35,330 [node-211][ERROR ] /* sectorsize */ [-s log=n|size=num]
  104. 2014-07-29 17:07:35,330 [node-211][ERROR ] /* version */ [-V]
  105. 2014-07-29 17:07:35,330 [node-211][ERROR ] devicename
  106. 2014-07-29 17:07:35,330 [node-211][ERROR ] <devicename> is required unless -d name=xxx is given.
  107. 2014-07-29 17:07:35,330 [node-211][ERROR ] <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
  108. 2014-07-29 17:07:35,330 [node-211][ERROR ] xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
  109. 2014-07-29 17:07:35,330 [node-211][ERROR ] <value> is xxx (512 byte blocks).
  110. 2014-07-29 17:07:35,330 [node-211][ERROR ] ceph-disk: Error: Command '['/sbin/mkfs', '-t', 'xfs', '-f', '-i', 'size=2048', '--', '/dev/sdb4']' returned non-zero exit status 1
  111. 2014-07-29 17:07:35,334 [ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  112. 2014-07-29 17:07:35,334 [ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
  113.  
  114. 2014-07-29 17:08:10,063 [ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy osd prepare node-211:/dev/sdb4
  115. 2014-07-29 17:08:10,063 [ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks node-211:/dev/sdb4:
  116. 2014-07-29 17:08:10,063 [ceph_deploy.sudo_pushy][DEBUG ] will use a local connection without sudo
  117. 2014-07-29 17:08:10,223 [ceph_deploy.osd][INFO ] Distro info: CentOS 6.5 Final
  118. 2014-07-29 17:08:10,224 [ceph_deploy.osd][DEBUG ] Deploying osd to node-211
  119. 2014-07-29 17:08:10,232 [node-211][INFO ] write cluster configuration to /etc/ceph/{cluster}.conf
  120. 2014-07-29 17:08:10,325 [node-211][INFO ] Running command: udevadm trigger --subsystem-match=block --action=add
  121. 2014-07-29 17:08:10,377 [ceph_deploy.osd][DEBUG ] Preparing host node-211 disk /dev/sdb4 journal None activate False
  122. 2014-07-29 17:08:10,378 [node-211][INFO ] Running command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  123. 2014-07-29 17:08:10,669 [node-211][ERROR ] Traceback (most recent call last):
  124. 2014-07-29 17:08:10,670 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/osd.py", line 126, in prepare_disk
  125. 2014-07-29 17:08:10,673 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line 10, in inner
  126. 2014-07-29 17:08:10,674 [node-211][ERROR ] def inner(*args, **kwargs):
  127. 2014-07-29 17:08:10,674 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py", line 6, in remote_call
  128. 2014-07-29 17:08:10,675 [node-211][ERROR ] This allows us to only remote-execute the actual calls, not whole functions.
  129. 2014-07-29 17:08:10,676 [node-211][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 505, in check_call
  130. 2014-07-29 17:08:10,677 [node-211][ERROR ] raise CalledProcessError(retcode, cmd)
  131. 2014-07-29 17:08:10,678 [node-211][ERROR ] CalledProcessError: Command '['ceph-disk-prepare', '--fs-type', 'xfs', '--cluster', 'ceph', '--', '/dev/sdb4']' returned non-zero exit status 1
  132. 2014-07-29 17:08:10,684 [node-211][ERROR ] mkfs.xfs: /dev/sdb4 contains a mounted filesystem
  133. 2014-07-29 17:08:10,685 [node-211][ERROR ] Usage: mkfs.xfs
  134. 2014-07-29 17:08:10,685 [node-211][ERROR ] /* blocksize */ [-b log=n|size=num]
  135. 2014-07-29 17:08:10,685 [node-211][ERROR ] /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
  136. 2014-07-29 17:08:10,685 [node-211][ERROR ] (sunit=value,swidth=value|su=num,sw=num),
  137. 2014-07-29 17:08:10,685 [node-211][ERROR ] sectlog=n|sectsize=num
  138. 2014-07-29 17:08:10,685 [node-211][ERROR ] /* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
  139. 2014-07-29 17:08:10,685 [node-211][ERROR ] projid32bit=0|1]
  140. 2014-07-29 17:08:10,685 [node-211][ERROR ] /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
  141. 2014-07-29 17:08:10,685 [node-211][ERROR ] sunit=value|su=num,sectlog=n|sectsize=num,
  142. 2014-07-29 17:08:10,685 [node-211][ERROR ] lazy-count=0|1]
  143. 2014-07-29 17:08:10,686 [node-211][ERROR ] /* label */ [-L label (maximum 12 characters)]
  144. 2014-07-29 17:08:10,686 [node-211][ERROR ] /* naming */ [-n log=n|size=num,version=2|ci]
  145. 2014-07-29 17:08:10,686 [node-211][ERROR ] /* prototype file */ [-p fname]
  146. 2014-07-29 17:08:10,686 [node-211][ERROR ] /* quiet */ [-q]
  147. 2014-07-29 17:08:10,686 [node-211][ERROR ] /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
  148. 2014-07-29 17:08:10,686 [node-211][ERROR ] /* sectorsize */ [-s log=n|size=num]
  149. 2014-07-29 17:08:10,686 [node-211][ERROR ] /* version */ [-V]
  150. 2014-07-29 17:08:10,686 [node-211][ERROR ] devicename
  151. 2014-07-29 17:08:10,686 [node-211][ERROR ] <devicename> is required unless -d name=xxx is given.
  152. 2014-07-29 17:08:10,686 [node-211][ERROR ] <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
  153. 2014-07-29 17:08:10,686 [node-211][ERROR ] xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
  154. 2014-07-29 17:08:10,687 [node-211][ERROR ] <value> is xxx (512 byte blocks).
  155. 2014-07-29 17:08:10,687 [node-211][ERROR ] ceph-disk: Error: Command '['/sbin/mkfs', '-t', 'xfs', '-f', '-i', 'size=2048', '--', '/dev/sdb4']' returned non-zero exit status 1
  156. 2014-07-29 17:08:10,690 [ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  157. 2014-07-29 17:08:10,691 [ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
  158.  
  159. 2014-07-29 17:08:11,942 [ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy osd prepare node-211:/dev/sdb4
  160. 2014-07-29 17:08:11,942 [ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks node-211:/dev/sdb4:
  161. 2014-07-29 17:08:11,942 [ceph_deploy.sudo_pushy][DEBUG ] will use a local connection without sudo
  162. 2014-07-29 17:08:12,103 [ceph_deploy.osd][INFO ] Distro info: CentOS 6.5 Final
  163. 2014-07-29 17:08:12,104 [ceph_deploy.osd][DEBUG ] Deploying osd to node-211
  164. 2014-07-29 17:08:12,111 [node-211][INFO ] write cluster configuration to /etc/ceph/{cluster}.conf
  165. 2014-07-29 17:08:12,200 [node-211][INFO ] Running command: udevadm trigger --subsystem-match=block --action=add
  166. 2014-07-29 17:08:12,253 [ceph_deploy.osd][DEBUG ] Preparing host node-211 disk /dev/sdb4 journal None activate False
  167. 2014-07-29 17:08:12,253 [node-211][INFO ] Running command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  168. 2014-07-29 17:08:12,529 [node-211][ERROR ] Traceback (most recent call last):
  169. 2014-07-29 17:08:12,530 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/osd.py", line 126, in prepare_disk
  170. 2014-07-29 17:08:12,533 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line 10, in inner
  171. 2014-07-29 17:08:12,534 [node-211][ERROR ] def inner(*args, **kwargs):
  172. 2014-07-29 17:08:12,535 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py", line 6, in remote_call
  173. 2014-07-29 17:08:12,536 [node-211][ERROR ] This allows us to only remote-execute the actual calls, not whole functions.
  174. 2014-07-29 17:08:12,537 [node-211][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 505, in check_call
  175. 2014-07-29 17:08:12,539 [node-211][ERROR ] raise CalledProcessError(retcode, cmd)
  176. 2014-07-29 17:08:12,540 [node-211][ERROR ] CalledProcessError: Command '['ceph-disk-prepare', '--fs-type', 'xfs', '--cluster', 'ceph', '--', '/dev/sdb4']' returned non-zero exit status 1
  177. 2014-07-29 17:08:12,545 [node-211][ERROR ] mkfs.xfs: /dev/sdb4 contains a mounted filesystem
  178. 2014-07-29 17:08:12,545 [node-211][ERROR ] Usage: mkfs.xfs
  179. 2014-07-29 17:08:12,546 [node-211][ERROR ] /* blocksize */ [-b log=n|size=num]
  180. 2014-07-29 17:08:12,546 [node-211][ERROR ] /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
  181. 2014-07-29 17:08:12,546 [node-211][ERROR ] (sunit=value,swidth=value|su=num,sw=num),
  182. 2014-07-29 17:08:12,546 [node-211][ERROR ] sectlog=n|sectsize=num
  183. 2014-07-29 17:08:12,546 [node-211][ERROR ] /* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
  184. 2014-07-29 17:08:12,546 [node-211][ERROR ] projid32bit=0|1]
  185. 2014-07-29 17:08:12,546 [node-211][ERROR ] /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
  186. 2014-07-29 17:08:12,546 [node-211][ERROR ] sunit=value|su=num,sectlog=n|sectsize=num,
  187. 2014-07-29 17:08:12,546 [node-211][ERROR ] lazy-count=0|1]
  188. 2014-07-29 17:08:12,546 [node-211][ERROR ] /* label */ [-L label (maximum 12 characters)]
  189. 2014-07-29 17:08:12,546 [node-211][ERROR ] /* naming */ [-n log=n|size=num,version=2|ci]
  190. 2014-07-29 17:08:12,547 [node-211][ERROR ] /* prototype file */ [-p fname]
  191. 2014-07-29 17:08:12,547 [node-211][ERROR ] /* quiet */ [-q]
  192. 2014-07-29 17:08:12,547 [node-211][ERROR ] /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
  193. 2014-07-29 17:08:12,547 [node-211][ERROR ] /* sectorsize */ [-s log=n|size=num]
  194. 2014-07-29 17:08:12,547 [node-211][ERROR ] /* version */ [-V]
  195. 2014-07-29 17:08:12,547 [node-211][ERROR ] devicename
  196. 2014-07-29 17:08:12,547 [node-211][ERROR ] <devicename> is required unless -d name=xxx is given.
  197. 2014-07-29 17:08:12,547 [node-211][ERROR ] <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
  198. 2014-07-29 17:08:12,547 [node-211][ERROR ] xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
  199. 2014-07-29 17:08:12,547 [node-211][ERROR ] <value> is xxx (512 byte blocks).
  200. 2014-07-29 17:08:12,547 [node-211][ERROR ] ceph-disk: Error: Command '['/sbin/mkfs', '-t', 'xfs', '-f', '-i', 'size=2048', '--', '/dev/sdb4']' returned non-zero exit status 1
  201. 2014-07-29 17:08:12,551 [ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  202. 2014-07-29 17:08:12,551 [ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
  203.  
  204. 2014-07-29 17:08:46,037 [ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy osd prepare node-211:/dev/sdb4
  205. 2014-07-29 17:08:46,037 [ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks node-211:/dev/sdb4:
  206. 2014-07-29 17:08:46,037 [ceph_deploy.sudo_pushy][DEBUG ] will use a local connection without sudo
  207. 2014-07-29 17:08:46,198 [ceph_deploy.osd][INFO ] Distro info: CentOS 6.5 Final
  208. 2014-07-29 17:08:46,198 [ceph_deploy.osd][DEBUG ] Deploying osd to node-211
  209. 2014-07-29 17:08:46,206 [node-211][INFO ] write cluster configuration to /etc/ceph/{cluster}.conf
  210. 2014-07-29 17:08:46,294 [node-211][INFO ] Running command: udevadm trigger --subsystem-match=block --action=add
  211. 2014-07-29 17:08:46,349 [ceph_deploy.osd][DEBUG ] Preparing host node-211 disk /dev/sdb4 journal None activate False
  212. 2014-07-29 17:08:46,350 [node-211][INFO ] Running command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  213. 2014-07-29 17:08:46,616 [node-211][ERROR ] Traceback (most recent call last):
  214. 2014-07-29 17:08:46,616 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/osd.py", line 126, in prepare_disk
  215. 2014-07-29 17:08:46,620 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line 10, in inner
  216. 2014-07-29 17:08:46,621 [node-211][ERROR ] def inner(*args, **kwargs):
  217. 2014-07-29 17:08:46,622 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py", line 6, in remote_call
  218. 2014-07-29 17:08:46,623 [node-211][ERROR ] This allows us to only remote-execute the actual calls, not whole functions.
  219. 2014-07-29 17:08:46,625 [node-211][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 505, in check_call
  220. 2014-07-29 17:08:46,626 [node-211][ERROR ] raise CalledProcessError(retcode, cmd)
  221. 2014-07-29 17:08:46,627 [node-211][ERROR ] CalledProcessError: Command '['ceph-disk-prepare', '--fs-type', 'xfs', '--cluster', 'ceph', '--', '/dev/sdb4']' returned non-zero exit status 1
  222. 2014-07-29 17:08:46,632 [node-211][ERROR ] mkfs.xfs: /dev/sdb4 contains a mounted filesystem
  223. 2014-07-29 17:08:46,633 [node-211][ERROR ] Usage: mkfs.xfs
  224. 2014-07-29 17:08:46,633 [node-211][ERROR ] /* blocksize */ [-b log=n|size=num]
  225. 2014-07-29 17:08:46,633 [node-211][ERROR ] /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
  226. 2014-07-29 17:08:46,633 [node-211][ERROR ] (sunit=value,swidth=value|su=num,sw=num),
  227. 2014-07-29 17:08:46,633 [node-211][ERROR ] sectlog=n|sectsize=num
  228. 2014-07-29 17:08:46,633 [node-211][ERROR ] /* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
  229. 2014-07-29 17:08:46,633 [node-211][ERROR ] projid32bit=0|1]
  230. 2014-07-29 17:08:46,633 [node-211][ERROR ] /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
  231. 2014-07-29 17:08:46,633 [node-211][ERROR ] sunit=value|su=num,sectlog=n|sectsize=num,
  232. 2014-07-29 17:08:46,633 [node-211][ERROR ] lazy-count=0|1]
  233. 2014-07-29 17:08:46,634 [node-211][ERROR ] /* label */ [-L label (maximum 12 characters)]
  234. 2014-07-29 17:08:46,634 [node-211][ERROR ] /* naming */ [-n log=n|size=num,version=2|ci]
  235. 2014-07-29 17:08:46,634 [node-211][ERROR ] /* prototype file */ [-p fname]
  236. 2014-07-29 17:08:46,634 [node-211][ERROR ] /* quiet */ [-q]
  237. 2014-07-29 17:08:46,634 [node-211][ERROR ] /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
  238. 2014-07-29 17:08:46,634 [node-211][ERROR ] /* sectorsize */ [-s log=n|size=num]
  239. 2014-07-29 17:08:46,634 [node-211][ERROR ] /* version */ [-V]
  240. 2014-07-29 17:08:46,634 [node-211][ERROR ] devicename
  241. 2014-07-29 17:08:46,634 [node-211][ERROR ] <devicename> is required unless -d name=xxx is given.
  242. 2014-07-29 17:08:46,634 [node-211][ERROR ] <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
  243. 2014-07-29 17:08:46,634 [node-211][ERROR ] xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
  244. 2014-07-29 17:08:46,635 [node-211][ERROR ] <value> is xxx (512 byte blocks).
  245. 2014-07-29 17:08:46,635 [node-211][ERROR ] ceph-disk: Error: Command '['/sbin/mkfs', '-t', 'xfs', '-f', '-i', 'size=2048', '--', '/dev/sdb4']' returned non-zero exit status 1
  246. 2014-07-29 17:08:46,638 [ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  247. 2014-07-29 17:08:46,639 [ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
  248.  
  249. 2014-07-29 17:08:47,893 [ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy osd prepare node-211:/dev/sdb4
  250. 2014-07-29 17:08:47,894 [ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks node-211:/dev/sdb4:
  251. 2014-07-29 17:08:47,894 [ceph_deploy.sudo_pushy][DEBUG ] will use a local connection without sudo
  252. 2014-07-29 17:08:48,055 [ceph_deploy.osd][INFO ] Distro info: CentOS 6.5 Final
  253. 2014-07-29 17:08:48,055 [ceph_deploy.osd][DEBUG ] Deploying osd to node-211
  254. 2014-07-29 17:08:48,064 [node-211][INFO ] write cluster configuration to /etc/ceph/{cluster}.conf
  255. 2014-07-29 17:08:48,145 [node-211][INFO ] Running command: udevadm trigger --subsystem-match=block --action=add
  256. 2014-07-29 17:08:48,199 [ceph_deploy.osd][DEBUG ] Preparing host node-211 disk /dev/sdb4 journal None activate False
  257. 2014-07-29 17:08:48,199 [node-211][INFO ] Running command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  258. 2014-07-29 17:08:48,485 [node-211][ERROR ] Traceback (most recent call last):
  259. 2014-07-29 17:08:48,485 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/osd.py", line 126, in prepare_disk
  260. 2014-07-29 17:08:48,489 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line 10, in inner
  261. 2014-07-29 17:08:48,490 [node-211][ERROR ] def inner(*args, **kwargs):
  262. 2014-07-29 17:08:48,491 [node-211][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py", line 6, in remote_call
  263. 2014-07-29 17:08:48,492 [node-211][ERROR ] This allows us to only remote-execute the actual calls, not whole functions.
  264. 2014-07-29 17:08:48,493 [node-211][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 505, in check_call
  265. 2014-07-29 17:08:48,494 [node-211][ERROR ] raise CalledProcessError(retcode, cmd)
  266. 2014-07-29 17:08:48,495 [node-211][ERROR ] CalledProcessError: Command '['ceph-disk-prepare', '--fs-type', 'xfs', '--cluster', 'ceph', '--', '/dev/sdb4']' returned non-zero exit status 1
  267. 2014-07-29 17:08:48,501 [node-211][ERROR ] mkfs.xfs: /dev/sdb4 contains a mounted filesystem
  268. 2014-07-29 17:08:48,501 [node-211][ERROR ] Usage: mkfs.xfs
  269. 2014-07-29 17:08:48,501 [node-211][ERROR ] /* blocksize */ [-b log=n|size=num]
  270. 2014-07-29 17:08:48,501 [node-211][ERROR ] /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
  271. 2014-07-29 17:08:48,501 [node-211][ERROR ] (sunit=value,swidth=value|su=num,sw=num),
  272. 2014-07-29 17:08:48,501 [node-211][ERROR ] sectlog=n|sectsize=num
  273. 2014-07-29 17:08:48,501 [node-211][ERROR ] /* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
  274. 2014-07-29 17:08:48,502 [node-211][ERROR ] projid32bit=0|1]
  275. 2014-07-29 17:08:48,502 [node-211][ERROR ] /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
  276. 2014-07-29 17:08:48,502 [node-211][ERROR ] sunit=value|su=num,sectlog=n|sectsize=num,
  277. 2014-07-29 17:08:48,502 [node-211][ERROR ] lazy-count=0|1]
  278. 2014-07-29 17:08:48,502 [node-211][ERROR ] /* label */ [-L label (maximum 12 characters)]
  279. 2014-07-29 17:08:48,502 [node-211][ERROR ] /* naming */ [-n log=n|size=num,version=2|ci]
  280. 2014-07-29 17:08:48,502 [node-211][ERROR ] /* prototype file */ [-p fname]
  281. 2014-07-29 17:08:48,502 [node-211][ERROR ] /* quiet */ [-q]
  282. 2014-07-29 17:08:48,502 [node-211][ERROR ] /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
  283. 2014-07-29 17:08:48,502 [node-211][ERROR ] /* sectorsize */ [-s log=n|size=num]
  284. 2014-07-29 17:08:48,502 [node-211][ERROR ] /* version */ [-V]
  285. 2014-07-29 17:08:48,503 [node-211][ERROR ] devicename
  286. 2014-07-29 17:08:48,503 [node-211][ERROR ] <devicename> is required unless -d name=xxx is given.
  287. 2014-07-29 17:08:48,503 [node-211][ERROR ] <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
  288. 2014-07-29 17:08:48,503 [node-211][ERROR ] xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
  289. 2014-07-29 17:08:48,503 [node-211][ERROR ] <value> is xxx (512 byte blocks).
  290. 2014-07-29 17:08:48,503 [node-211][ERROR ] ceph-disk: Error: Command '['/sbin/mkfs', '-t', 'xfs', '-f', '-i', 'size=2048', '--', '/dev/sdb4']' returned non-zero exit status 1
  291. 2014-07-29 17:08:48,507 [ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdb4
  292. 2014-07-29 17:08:48,507 [ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement