Advertisement
Guest User

ceph_mon_create_error

a guest
Sep 3rd, 2014
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 13.96 KB | None | 0 0
  1. (trusty)ceph@CT14045GA015:~/my-cluster$ cat ceph.conf
  2. [global]
  3. fsid = 0e8c5cd7-1f31-4402-817f-bfe7f3c05b0c
  4. mon_initial_members = ceph1, ceph2, ceph3
  5. mon_host = 192.168.200.201,192.168.200.200,192.168.200.196
  6. auth_cluster_required = cephx
  7. auth_service_required = cephx
  8. auth_client_required = cephx
  9. filestore_xattr_use_omap = true
  10. public network = 192.168.200.0/24
  11. cluster network = 192.168.100.0/24
  12. [mon.a]
  13.         host = CT14007GA019
  14.         mon addr = 192.168.200.201:6789
  15.  
  16. [mon.b]
  17.         host = CT14007GA020
  18.         mon addr = 192.168.200.200:6789
  19.  
  20. [mon.c]
  21.         host = CT14007GA018
  22.         mon addr = 192.168.200.196:6789
  23.  
  24. (trusty)ceph@CT14045GA015:~/my-cluster$ ceph-deploy mon create-initial
  25. [ceph_deploy.cli][INFO  ] Invoked (1.4.0): /usr/bin/ceph-deploy mon create-initial
  26. [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts ceph1 ceph2 ceph3
  27. [ceph_deploy.mon][DEBUG ] detecting platform for host ceph1 ...
  28. [ceph1][DEBUG ] connected to host: ceph1
  29. [ceph1][DEBUG ] detect platform information from remote host
  30. [ceph1][DEBUG ] detect machine type
  31. [ceph_deploy.mon][INFO  ] distro info: Ubuntu 14.04 trusty
  32. [ceph1][DEBUG ] determining if provided host has same hostname in remote
  33. [ceph1][DEBUG ] get remote short hostname
  34. [ceph1][WARNIN] ********************************************************************************
  35. [ceph1][WARNIN] provided hostname must match remote hostname
  36. [ceph1][WARNIN] provided hostname: ceph1
  37. [ceph1][WARNIN] remote hostname: CT14007GA019
  38. [ceph1][WARNIN] monitors may not reach quorum and create-keys will not complete
  39. [ceph1][WARNIN] ********************************************************************************
  40. [ceph1][DEBUG ] deploying mon to ceph1
  41. [ceph1][DEBUG ] get remote short hostname
  42. [ceph1][DEBUG ] remote hostname: CT14007GA019
  43. [ceph1][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
  44. [ceph1][DEBUG ] create the mon path if it does not exist
  45. [ceph1][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-CT14007GA019/done
  46. [ceph1][DEBUG ] create a done file to avoid re-doing the mon deployment
  47. [ceph1][DEBUG ] create the init path if it does not exist
  48. [ceph1][DEBUG ] locating the `service` executable...
  49. [ceph1][INFO  ] Running command: sudo initctl emit ceph-mon cluster=ceph id=CT14007GA019
  50. [ceph1][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph1.asok mon_status
  51. [ceph1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  52. [ceph1][WARNIN] monitor: mon.ceph1, might not be running yet
  53. [ceph1][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph1.asok mon_status
  54. [ceph1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  55. [ceph1][WARNIN] monitor ceph1 does not exist in monmap
  56. [ceph_deploy.mon][DEBUG ] detecting platform for host ceph2 ...
  57. [ceph2][DEBUG ] connected to host: ceph2
  58. [ceph2][DEBUG ] detect platform information from remote host
  59. [ceph2][DEBUG ] detect machine type
  60. [ceph_deploy.mon][INFO  ] distro info: Ubuntu 14.04 trusty
  61. [ceph2][DEBUG ] determining if provided host has same hostname in remote
  62. [ceph2][DEBUG ] get remote short hostname
  63. [ceph2][WARNIN] ********************************************************************************
  64. [ceph2][WARNIN] provided hostname must match remote hostname
  65. [ceph2][WARNIN] provided hostname: ceph2
  66. [ceph2][WARNIN] remote hostname: CT14007GA020
  67. [ceph2][WARNIN] monitors may not reach quorum and create-keys will not complete
  68. [ceph2][WARNIN] ********************************************************************************
  69. [ceph2][DEBUG ] deploying mon to ceph2
  70. [ceph2][DEBUG ] get remote short hostname
  71. [ceph2][DEBUG ] remote hostname: CT14007GA020
  72. [ceph2][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
  73. [ceph2][DEBUG ] create the mon path if it does not exist
  74. [ceph2][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-CT14007GA020/done
  75. [ceph2][DEBUG ] done path does not exist: /var/lib/ceph/mon/ceph-CT14007GA020/done
  76. [ceph2][INFO  ] creating keyring file: /var/lib/ceph/tmp/ceph-CT14007GA020.mon.keyring
  77. [ceph2][DEBUG ] create the monitor keyring file
  78. [ceph2][INFO  ] Running command: sudo ceph-mon --cluster ceph --mkfs -i CT14007GA020 --keyring /var/lib/ceph/tmp/ceph-CT14007GA020.mon.keyring
  79. [ceph2][DEBUG ] ceph-mon: renaming mon.noname-b 192.168.200.200:6789/0 to mon.CT14007GA020
  80. [ceph2][DEBUG ] ceph-mon: set fsid to 0e8c5cd7-1f31-4402-817f-bfe7f3c05b0c
  81. [ceph2][DEBUG ] ceph-mon: created monfs at /var/lib/ceph/mon/ceph-CT14007GA020 for mon.CT14007GA020
  82. [ceph2][INFO  ] unlinking keyring file /var/lib/ceph/tmp/ceph-CT14007GA020.mon.keyring
  83. [ceph2][DEBUG ] create a done file to avoid re-doing the mon deployment
  84. [ceph2][DEBUG ] create the init path if it does not exist
  85. [ceph2][DEBUG ] locating the `service` executable...
  86. [ceph2][INFO  ] Running command: sudo initctl emit ceph-mon cluster=ceph id=CT14007GA020
  87. [ceph2][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph2.asok mon_status
  88. [ceph2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  89. [ceph2][WARNIN] monitor: mon.ceph2, might not be running yet
  90. [ceph2][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph2.asok mon_status
  91. [ceph2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  92. [ceph2][WARNIN] monitor ceph2 does not exist in monmap
  93. [ceph_deploy.mon][DEBUG ] detecting platform for host ceph3 ...
  94. [ceph3][DEBUG ] connected to host: ceph3
  95. [ceph3][DEBUG ] detect platform information from remote host
  96. [ceph3][DEBUG ] detect machine type
  97. [ceph_deploy.mon][INFO  ] distro info: Ubuntu 14.04 trusty
  98. [ceph3][DEBUG ] determining if provided host has same hostname in remote
  99. [ceph3][DEBUG ] get remote short hostname
  100. [ceph3][WARNIN] ********************************************************************************
  101. [ceph3][WARNIN] provided hostname must match remote hostname
  102. [ceph3][WARNIN] provided hostname: ceph3
  103. [ceph3][WARNIN] remote hostname: CT14007GA018
  104. [ceph3][WARNIN] monitors may not reach quorum and create-keys will not complete
  105. [ceph3][WARNIN] ********************************************************************************
  106. [ceph3][DEBUG ] deploying mon to ceph3
  107. [ceph3][DEBUG ] get remote short hostname
  108. [ceph3][DEBUG ] remote hostname: CT14007GA018
  109. [ceph3][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
  110. [ceph3][DEBUG ] create the mon path if it does not exist
  111. [ceph3][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-CT14007GA018/done
  112. [ceph3][DEBUG ] done path does not exist: /var/lib/ceph/mon/ceph-CT14007GA018/done
  113. [ceph3][INFO  ] creating keyring file: /var/lib/ceph/tmp/ceph-CT14007GA018.mon.keyring
  114. [ceph3][DEBUG ] create the monitor keyring file
  115. [ceph3][INFO  ] Running command: sudo ceph-mon --cluster ceph --mkfs -i CT14007GA018 --keyring /var/lib/ceph/tmp/ceph-CT14007GA018.mon.keyring
  116. [ceph3][DEBUG ] ceph-mon: renaming mon.noname-c 192.168.200.196:6789/0 to mon.CT14007GA018
  117. [ceph3][DEBUG ] ceph-mon: set fsid to 0e8c5cd7-1f31-4402-817f-bfe7f3c05b0c
  118. [ceph3][DEBUG ] ceph-mon: created monfs at /var/lib/ceph/mon/ceph-CT14007GA018 for mon.CT14007GA018
  119. [ceph3][INFO  ] unlinking keyring file /var/lib/ceph/tmp/ceph-CT14007GA018.mon.keyring
  120. [ceph3][DEBUG ] create a done file to avoid re-doing the mon deployment
  121. [ceph3][DEBUG ] create the init path if it does not exist
  122. [ceph3][DEBUG ] locating the `service` executable...
  123. [ceph3][INFO  ] Running command: sudo initctl emit ceph-mon cluster=ceph id=CT14007GA018
  124. [ceph3][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status
  125. [ceph3][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  126. [ceph3][WARNIN] monitor: mon.ceph3, might not be running yet
  127. [ceph3][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status
  128. [ceph3][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  129. [ceph3][WARNIN] monitor ceph3 does not exist in monmap
  130. [ceph_deploy.mon][INFO  ] processing monitor mon.ceph1
  131. [ceph1][DEBUG ] connected to host: ceph1
  132. [ceph1][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph1.asok mon_status
  133. [ceph1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  134. [ceph_deploy.mon][WARNIN] mon.ceph1 monitor is not yet in quorum, tries left: 5
  135. [ceph_deploy.mon][WARNIN] waiting 5 seconds before retrying
  136. [ceph1][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph1.asok mon_status
  137. [ceph1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  138. [ceph_deploy.mon][WARNIN] mon.ceph1 monitor is not yet in quorum, tries left: 4
  139. [ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
  140. [ceph1][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph1.asok mon_status
  141. [ceph1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  142. [ceph_deploy.mon][WARNIN] mon.ceph1 monitor is not yet in quorum, tries left: 3
  143. [ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
  144. [ceph1][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph1.asok mon_status
  145. [ceph1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  146. [ceph_deploy.mon][WARNIN] mon.ceph1 monitor is not yet in quorum, tries left: 2
  147. [ceph_deploy.mon][WARNIN] waiting 15 seconds before retrying
  148. [ceph1][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph1.asok mon_status
  149. [ceph1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  150. [ceph_deploy.mon][WARNIN] mon.ceph1 monitor is not yet in quorum, tries left: 1
  151. [ceph_deploy.mon][WARNIN] waiting 20 seconds before retrying
  152. [ceph_deploy.mon][INFO  ] processing monitor mon.ceph2
  153. [ceph2][DEBUG ] connected to host: ceph2
  154. [ceph2][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph2.asok mon_status
  155. [ceph2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  156. [ceph_deploy.mon][WARNIN] mon.ceph2 monitor is not yet in quorum, tries left: 5
  157. [ceph_deploy.mon][WARNIN] waiting 5 seconds before retrying
  158. [ceph2][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph2.asok mon_status
  159. [ceph2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  160. [ceph_deploy.mon][WARNIN] mon.ceph2 monitor is not yet in quorum, tries left: 4
  161. [ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
  162. [ceph2][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph2.asok mon_status
  163. [ceph2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  164. [ceph_deploy.mon][WARNIN] mon.ceph2 monitor is not yet in quorum, tries left: 3
  165. [ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
  166. [ceph2][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph2.asok mon_status
  167. [ceph2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  168. [ceph_deploy.mon][WARNIN] mon.ceph2 monitor is not yet in quorum, tries left: 2
  169. [ceph_deploy.mon][WARNIN] waiting 15 seconds before retrying
  170. [ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory[ceph2][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph2.asok mon_status
  171. [ceph2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  172. [ceph_deploy.mon][WARNIN] mon.ceph2 monitor is not yet in quorum, tries left: 1
  173. [ceph_deploy.mon][WARNIN] waiting 20 seconds before retrying
  174. [ceph_deploy.mon][INFO  ] processing monitor mon.ceph3
  175. [ceph3][DEBUG ] connected to host: ceph3
  176. [ceph3][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status
  177. [ceph3][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  178. [ceph_deploy.mon][WARNIN] mon.ceph3 monitor is not yet in quorum, tries left: 5
  179. [ceph_deploy.mon][WARNIN] waiting 5 seconds before retrying
  180. [ceph3][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status
  181. [ceph3][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  182. [ceph_deploy.mon][WARNIN] mon.ceph3 monitor is not yet in quorum, tries left: 4
  183. [ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
  184. [ceph3][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status
  185. [ceph3][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  186. [ceph_deploy.mon][WARNIN] mon.ceph3 monitor is not yet in quorum, tries left: 3
  187. [ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
  188. [ceph3][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status
  189. [ceph3][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  190. [ceph_deploy.mon][WARNIN] mon.ceph3 monitor is not yet in quorum, tries left: 2
  191. [ceph_deploy.mon][WARNIN] waiting 15 seconds before retrying
  192. [ceph3][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status
  193. [ceph3][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
  194. [ceph_deploy.mon][WARNIN] mon.ceph3 monitor is not yet in quorum, tries left: 1
  195. [ceph_deploy.mon][WARNIN] waiting 20 seconds before retrying
  196. ^C[ceph_deploy][ERROR ] KeyboardInterrupt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement