Advertisement
Guest User

Untitled

a guest
Sep 10th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.76 KB | None | 0 0
  1. saumya@saumyapc:~/my-cluster$ ceph-deploy new saumyapc
  2. [ceph_deploy.new][DEBUG ] Creating new cluster named ceph
  3. [ceph_deploy.new][DEBUG ] Resolving host saumyapc
  4. [ceph_deploy.new][DEBUG ] Monitor saumyapc at 10.1.97.211
  5. [ceph_deploy.new][DEBUG ] Monitor initial members are ['saumyapc']
  6. [ceph_deploy.new][DEBUG ] Monitor addrs are ['10.1.97.211']
  7. [ceph_deploy.new][DEBUG ] Creating a random mon key...
  8. [ceph_deploy.new][DEBUG ] Writing initial config to ceph.conf...
  9. [ceph_deploy.new][DEBUG ] Writing monitor keyring to ceph.mon.keyring...
  10. saumya@saumyapc:~/my-cluster$ vim ceph.conf
  11. saumya@saumyapc:~/my-cluster$ vim /home/saumya/.ssh/config
  12. saumya@saumyapc:~/my-cluster$ vim /etc/hosts
  13. saumya@saumyapc:~/my-cluster$ ceph-deploy install mon-ceph-node
  14. [ceph_deploy.install][DEBUG ] Installing stable version dumpling on cluster ceph hosts mon-ceph-node
  15. [ceph_deploy.install][DEBUG ] Detecting platform for host mon-ceph-node ...
  16. [ceph_deploy][ERROR ] ClientInitException:
  17. [remote] ssh: Could not resolve hostname mon-ceph-node: Name or service not known
  18.  
  19.  
  20. saumya@saumyapc:~/my-cluster$ ceph-deploy install saumyapc
  21. [ceph_deploy.install][DEBUG ] Installing stable version dumpling on cluster ceph hosts saumyapc
  22. [ceph_deploy.install][DEBUG ] Detecting platform for host saumyapc ...
  23. [ceph_deploy.install][INFO ] Distro info: Ubuntu 12.04 precise
  24. [saumyapc][INFO ] installing ceph on saumyapc
  25. [saumyapc][INFO ] Running command: env DEBIAN_FRONTEND=noninteractive apt-get -q install --assume-yes ca-certificates
  26. [saumyapc][INFO ] Reading package lists...
  27. [saumyapc][INFO ] Building dependency tree...
  28. [saumyapc][INFO ] Reading state information...
  29. [saumyapc][INFO ] ca-certificates is already the newest version.
  30. [saumyapc][INFO ] 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
  31. [saumyapc][INFO ] Running command: wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | apt-key add -
  32. [saumyapc][INFO ] OK
  33. [saumyapc][INFO ] add ceph deb repo to sources.list
  34. [saumyapc][INFO ] Running command: apt-get -q update
  35. [saumyapc][INFO ] Ign cdrom://Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213) precise/main TranslationIndex
  36. [saumyapc][INFO ] Ign cdrom://Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213) precise/restricted TranslationIndex
  37. [saumyapc][INFO ] Ign cdrom://Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213) precise/main Translation-en
  38. [saumyapc][INFO ] Ign cdrom://Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213) precise/restricted Translation-en
  39. [saumyapc][INFO ] Hit http://dl.google.com stable Release.gpg
  40. [saumyapc][INFO ] Hit http://dl.google.com stable Release.gpg
  41. [saumyapc][INFO ] Hit http://extras.ubuntu.com precise Release.gpg
  42. [saumyapc][INFO ] Hit http://archive.canonical.com precise Release.gpg
  43. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise Release.gpg
  44. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security Release.gpg
  45. [saumyapc][INFO ] Hit http://archive.scrapy.org precise Release.gpg
  46. [saumyapc][INFO ] Hit http://dl.google.com stable Release
  47. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release.gpg
  48. [saumyapc][INFO ] Hit http://dl.google.com stable Release
  49. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release.gpg
  50. [saumyapc][INFO ] Hit http://extras.ubuntu.com precise Release
  51. [saumyapc][INFO ] Hit http://archive.canonical.com precise Release
  52. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates Release.gpg
  53. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security Release
  54. [saumyapc][INFO ] Hit http://archive.scrapy.org precise Release
  55. [saumyapc][INFO ] Hit http://dl.google.com stable/main i386 Packages
  56. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release.gpg
  57. [saumyapc][INFO ] Hit http://ceph.com precise Release.gpg
  58. [saumyapc][INFO ] Ign http://dl.google.com stable/main TranslationIndex
  59. [saumyapc][INFO ] Hit http://extras.ubuntu.com precise/main Sources
  60. [saumyapc][INFO ] Hit http://archive.canonical.com precise/partner i386 Packages
  61. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports Release.gpg
  62. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release
  63. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/main Sources
  64. [saumyapc][INFO ] Hit http://archive.scrapy.org precise/main i386 Packages
  65. [saumyapc][INFO ] Hit http://dl.google.com stable/main i386 Packages
  66. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release
  67. [saumyapc][INFO ] Hit http://ceph.com precise Release
  68. [saumyapc][INFO ] Ign http://dl.google.com stable/main TranslationIndex
  69. [saumyapc][INFO ] Hit http://extras.ubuntu.com precise/main i386 Packages
  70. [saumyapc][INFO ] Ign http://archive.canonical.com precise/partner TranslationIndex
  71. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise Release
  72. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/restricted Sources
  73. [saumyapc][INFO ] Ign http://archive.scrapy.org precise/main TranslationIndex
  74. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise Release
  75. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main Sources
  76. [saumyapc][INFO ] Hit http://ceph.com precise/main i386 Packages
  77. [saumyapc][INFO ] Ign http://extras.ubuntu.com precise/main TranslationIndex
  78. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates Release
  79. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/universe Sources
  80. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main i386 Packages
  81. [saumyapc][INFO ] Ign http://ceph.com precise/main TranslationIndex
  82. [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main TranslationIndex
  83. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports Release
  84. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/multiverse Sources
  85. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main Sources
  86. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/main Sources
  87. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/main i386 Packages
  88. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main i386 Packages
  89. [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main TranslationIndex
  90. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/restricted Sources
  91. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/restricted i386 Packages
  92. [saumyapc][INFO ] Ign http://dl.google.com stable/main Translation-en
  93. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main Sources
  94. [saumyapc][INFO ] Ign http://dl.google.com stable/main Translation-en
  95. [saumyapc][INFO ] Ign http://archive.canonical.com precise/partner Translation-en
  96. [saumyapc][INFO ] Hit http://ppa.launchpad.net precise/main i386 Packages
  97. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/universe Sources
  98. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/universe i386 Packages
  99. [saumyapc][INFO ] Ign http://archive.scrapy.org precise/main Translation-en
  100. [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main TranslationIndex
  101. [saumyapc][INFO ] Ign http://extras.ubuntu.com precise/main Translation-en
  102. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/multiverse Sources
  103. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
  104. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/main i386 Packages
  105. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/main TranslationIndex
  106. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/restricted i386 Packages
  107. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
  108. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/universe i386 Packages
  109. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
  110. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/multiverse i386 Packages
  111. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/universe TranslationIndex
  112. [saumyapc][INFO ] Ign http://ceph.com precise/main Translation-en
  113. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/main TranslationIndex
  114. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/main Translation-en
  115. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/multiverse TranslationIndex
  116. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/multiverse Translation-en
  117. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/restricted TranslationIndex
  118. [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main Translation-en
  119. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/restricted Translation-en
  120. [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main Translation-en
  121. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/universe TranslationIndex
  122. [saumyapc][INFO ] Hit http://security.ubuntu.com precise-security/universe Translation-en
  123. [saumyapc][INFO ] Ign http://ppa.launchpad.net precise/main Translation-en
  124. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/main Sources
  125. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/restricted Sources
  126. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/universe Sources
  127. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/multiverse Sources
  128. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/main i386 Packages
  129. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/restricted i386 Packages
  130. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/universe i386 Packages
  131. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/multiverse i386 Packages
  132. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
  133. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/multiverse TranslationIndex
  134. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/restricted TranslationIndex
  135. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/universe TranslationIndex
  136. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/main Sources
  137. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/restricted Sources
  138. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/universe Sources
  139. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/multiverse Sources
  140. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/main i386 Packages
  141. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/restricted i386 Packages
  142. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/universe i386 Packages
  143. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/multiverse i386 Packages
  144. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/main TranslationIndex
  145. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/multiverse TranslationIndex
  146. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/restricted TranslationIndex
  147. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/universe TranslationIndex
  148. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/main Translation-en
  149. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
  150. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/restricted Translation-en
  151. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise/universe Translation-en
  152. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
  153. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/multiverse Translation-en
  154. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/restricted Translation-en
  155. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en
  156. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/main Translation-en
  157. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/multiverse Translation-en
  158. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/restricted Translation-en
  159. [saumyapc][INFO ] Hit http://in.archive.ubuntu.com precise-backports/universe Translation-en
  160. [saumyapc][INFO ] Reading package lists...
  161. [saumyapc][INFO ] Running command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -q -o Dpkg::Options::=--force-confnew install --no-install-recommends --assume-yes -- ceph ceph-mds ceph-common ceph-fs-common gdisk
  162. [saumyapc][INFO ] Reading package lists...
  163. [saumyapc][INFO ] Building dependency tree...
  164. [saumyapc][INFO ] Reading state information...
  165. [saumyapc][INFO ] gdisk is already the newest version.
  166. [saumyapc][INFO ] ceph is already the newest version.
  167. [saumyapc][INFO ] ceph-common is already the newest version.
  168. [saumyapc][INFO ] ceph-fs-common is already the newest version.
  169. [saumyapc][INFO ] ceph-mds is already the newest version.
  170. [saumyapc][INFO ] 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
  171. [saumyapc][INFO ] Running command: ceph --version
  172. [saumyapc][INFO ] ceph version 0.67.3 (408cd61584c72c0d97b774b3d8f95c6b1b06341a)
  173. saumya@saumyapc:~/my-cluster$ ceph-deploy mon create saumyapc
  174. [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts saumyapc
  175. [ceph_deploy.mon][DEBUG ] detecting platform for host saumyapc ...
  176. [ceph_deploy.mon][INFO ] distro info: Ubuntu 12.04 precise
  177. [saumyapc][DEBUG ] deploying mon to saumyapc
  178. [saumyapc][DEBUG ] remote hostname: saumyapc
  179. [saumyapc][INFO ] write cluster configuration to /etc/ceph/{cluster}.conf
  180. [saumyapc][ERROR ] Traceback (most recent call last):
  181. [saumyapc][ERROR ] File "/usr/lib/python2.7/dist-packages/ceph_deploy/util/decorators.py", line 10, in inner
  182. [saumyapc][ERROR ] def inner(*args, **kwargs):
  183. [saumyapc][ERROR ] File "/usr/lib/python2.7/dist-packages/ceph_deploy/conf.py", line 12, in write_conf
  184. [saumyapc][ERROR ] line = self.fp.readline()
  185. [saumyapc][ERROR ] RuntimeError: config file /etc/ceph/ceph.conf exists with different content; use --overwrite-conf to overwrite
  186. [saumyapc][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-saumyapc/done
  187. [saumyapc][INFO ] create a done file to avoid re-doing the mon deployment
  188. [saumyapc][INFO ] create the init path if it does not exist
  189. [saumyapc][INFO ] Running command: initctl emit ceph-mon cluster=ceph id=saumyapc
  190. saumya@saumyapc:~/my-cluster$ ceph-deploy --overwrite-conf mon create saumyapc
  191. [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts saumyapc
  192. [ceph_deploy.mon][DEBUG ] detecting platform for host saumyapc ...
  193. [ceph_deploy.mon][INFO ] distro info: Ubuntu 12.04 precise
  194. [saumyapc][DEBUG ] deploying mon to saumyapc
  195. [saumyapc][DEBUG ] remote hostname: saumyapc
  196. [saumyapc][INFO ] write cluster configuration to /etc/ceph/{cluster}.conf
  197. [saumyapc][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-saumyapc/done
  198. [saumyapc][INFO ] create a done file to avoid re-doing the mon deployment
  199. [saumyapc][INFO ] create the init path if it does not exist
  200. [saumyapc][INFO ] Running command: initctl emit ceph-mon cluster=ceph id=saumyapc
  201. saumya@saumyapc:~/my-cluster$ ceph-deploy gatherkeys saumyapc
  202. [ceph_deploy.gatherkeys][DEBUG ] Checking saumyapc for /etc/ceph/ceph.client.admin.keyring
  203. [ceph_deploy.gatherkeys][WARNIN] Unable to find /etc/ceph/ceph.client.admin.keyring on ['saumyapc']
  204. [ceph_deploy.gatherkeys][DEBUG ] Have ceph.mon.keyring
  205. [ceph_deploy.gatherkeys][DEBUG ] Checking saumyapc for /var/lib/ceph/bootstrap-osd/ceph.keyring
  206. [ceph_deploy.gatherkeys][WARNIN] Unable to find /var/lib/ceph/bootstrap-osd/ceph.keyring on ['saumyapc']
  207. [ceph_deploy.gatherkeys][DEBUG ] Checking saumyapc for /var/lib/ceph/bootstrap-mds/ceph.keyring
  208. [ceph_deploy.gatherkeys][WARNIN] Unable to find /var/lib/ceph/bootstrap-mds/ceph.keyring on ['saumyapc']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement