Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. sudo cephadm bootstrap --mon-ip 51.38.177.40 --skip-mon-network
  2. INFO:cephadm:Verifying podman|docker is present...
  3. INFO:cephadm:Verifying lvm2 is present...
  4. INFO:cephadm:Verifying time synchronization is in place...
  5. INFO:cephadm:Unit ntp.service is enabled and running
  6. INFO:cephadm:Repeating the final host check...
  7. INFO:cephadm:podman|docker (/usr/bin/podman) is present
  8. INFO:cephadm:systemctl is present
  9. INFO:cephadm:lvcreate is present
  10. INFO:cephadm:Unit ntp.service is enabled and running
  11. INFO:cephadm:Host looks OK
  12. INFO:root:Cluster fsid: 008d3602-7326-11ea-ba3d-fa163ee4dee1
  13. INFO:cephadm:Verifying IP 51.38.177.40 port 3300 ...
  14. INFO:cephadm:Verifying IP 51.38.177.40 port 6789 ...
  15. INFO:cephadm:Pulling latest docker.io/ceph/ceph:v15 container...
  16. INFO:cephadm:Extracting ceph user uid/gid from container image...
  17. INFO:cephadm:Creating initial keys...
  18. INFO:cephadm:Creating initial monmap...
  19. INFO:cephadm:Creating mon...
  20. INFO:cephadm:Waiting for mon to start...
  21. INFO:cephadm:Waiting for mon...
  22. INFO:cephadm:Assimilating anything we can from ceph.conf...
  23. INFO:cephadm:Generating new minimal ceph.conf...
  24. INFO:cephadm:Restarting the monitor...
  25. INFO:cephadm:Creating mgr...
  26. INFO:cephadm:Wrote keyring to /etc/ceph/ceph.client.admin.keyring
  27. INFO:cephadm:Wrote config to /etc/ceph/ceph.conf
  28. INFO:cephadm:Waiting for mgr to start...
  29. INFO:cephadm:Waiting for mgr...
  30. INFO:cephadm:mgr not available, waiting (1/10)...
  31. INFO:cephadm:mgr not available, waiting (2/10)...
  32. INFO:cephadm:mgr not available, waiting (3/10)...
  33. INFO:cephadm:mgr not available, waiting (4/10)...
  34. INFO:cephadm:mgr not available, waiting (5/10)...
  35. INFO:cephadm:Enabling cephadm module...
  36. INFO:cephadm:Waiting for the mgr to restart...
  37. INFO:cephadm:Waiting for Mgr epoch 5...
  38. INFO:cephadm:Setting orchestrator backend to cephadm...
  39. INFO:cephadm:Generating ssh key...
  40. INFO:cephadm:Wrote public SSH key to to /etc/ceph/ceph.pub
  41. INFO:cephadm:Adding key to root@localhost's authorized_keys...
  42. INFO:cephadm:Adding host vps767688...
  43. INFO:cephadm:Non-zero exit code 2 from /usr/bin/podman run --rm --net=host -e CONTAINER_IMAGE=docker.io/ceph/ceph:v15 -e NODE_NAME=vps767688 -v /var/log/ceph/008d3602-7326-11ea-ba3d-fa163ee4dee1:/var/log/ceph:z -v /tmp/ceph-tmpwsrur6qb:/etc/ceph/ceph.client.admin.key
  44. ring:z -v /tmp/ceph-tmpwfhyqpvq:/etc/ceph/ceph.conf:z --entrypoint /usr/bin/ceph docker.io/ceph/ceph:v15 orch host add vps767688
  45. INFO:cephadm:/usr/bin/ceph:stderr Error ENOENT: Failed to connect to vps767688 (vps767688). Check that the host is reachable and accepts connections using the cephadm SSH key
  46. Traceback (most recent call last):
  47. File "/usr/sbin/cephadm", line 4245, in <module>
  48. r = args.func()
  49. File "/usr/sbin/cephadm", line 966, in _default_image
  50. return func()
  51. File "/usr/sbin/cephadm", line 2378, in command_bootstrap
  52. cli(['orch', 'host', 'add', host])
  53. File "/usr/sbin/cephadm", line 2239, in cli
  54. ).run(timeout=timeout)
  55. File "/usr/sbin/cephadm", line 1972, in run
  56. self.run_cmd(), desc=self.entrypoint, timeout=timeout)
  57. File "/usr/sbin/cephadm", line 694, in call_throws
  58. raise RuntimeError('Failed command: %s' % ' '.join(command))
  59. RuntimeError: Failed command: /usr/bin/podman run --rm --net=host -e CONTAINER_IMAGE=docker.io/ceph/ceph:v15 -e NODE_NAME=vps767688 -v /var/log/ceph/008d3602-7326-11ea-ba3d-fa163ee4dee1:/var/log/ceph:z -v /tmp/ceph-tmpwsrur6qb:/etc/ceph/ceph.client.admin.keyring:z -v
  60. /tmp/ceph-tmpwfhyqpvq:/etc/ceph/ceph.conf:z --entrypoint /usr/bin/ceph docker.io/ceph/ceph:v15 orch host add vps767688
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement