Advertisement
Guest User

Untitled

a guest
Jun 11th, 2012
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. ubuntu@inst01:~$ sudo ceph -m 192.168.122.201 osd tree
  2. sudo: unable to resolve host inst01
  3. dumped osdmap tree epoch 1
  4. # id weight type name up/down reweight
  5. -1 0 pool default
  6.  
  7.  
  8. ### triggered hotplug
  9. ubuntu@inst01:~$ sudo ceph -m 192.168.122.201 osd tree
  10. sudo: unable to resolve host inst01
  11. dumped osdmap tree epoch 3
  12. # id weight type name up/down reweight
  13. -1 0 pool default
  14.  
  15. 0 0 osd.0 up 1
  16.  
  17.  
  18. ubuntu@inst01:~$ sudo ceph --cluster=ceph --name=osd.0 --keyring=/var/lib/ceph/osd/ceph-0/keyring osd crush set 0 osd.0 1 pool=p datacenter=a room=b row=c rack=r host=inst01
  19. sudo: unable to resolve host inst01
  20. (22) Invalid argument
  21. ubuntu@inst01:~$
  22.  
  23. ubuntu@inst01:~$ tail -3 /var/log/ceph/ceph-mon.inst01.log
  24. 2012-06-11 21:28:38.918458 7fdccb4c7700 0 mon.inst01@0(leader) e1 handle_command mon_command(osd crush set 0 osd.0 1 pool=p datacenter=a room=b row=c rack=r host=inst01 v 0) v1
  25. 2012-06-11 21:28:38.918491 7fdccb4c7700 0 mon.inst01@0(leader).osd e3 adding/updating crush item id 0 name 'osd.0' weight 1 at location {datacenter=a,host=inst01,pool=p,rack=r,room=b,row=c}
  26. 2012-06-11 21:28:38.918544 7fdccb4c7700 1 error: didn't find anywhere to add item 0 in {datacenter=a,host=inst01,pool=p,rack=r,room=b,row=c}
  27. ubuntu@inst01:~$
  28.  
  29.  
  30. ubuntu@inst01:~$ sudo ceph -m 192.168.122.201 osd tree
  31. sudo: unable to resolve host inst01
  32. dumped osdmap tree epoch 3
  33. # id weight type name up/down reweight
  34. -1 0 pool default
  35.  
  36. 0 0 osd.0 up 1
  37.  
  38. ubuntu@inst01:~$
  39.  
  40.  
  41.  
  42. ubuntu@inst01:~$ sudo ceph --cluster=ceph --name=osd.0 --keyring=/var/lib/ceph/osd/ceph-0/keyring osd crush set 0 osd.0 1 pool=default rack=r host=inst01
  43. sudo: unable to resolve host inst01
  44. updated item id 0 name 'osd.0' weight 1 at location {host=inst01,pool=default,rack=r} to crush map
  45. ubuntu@inst01:~$ sudo ceph -m 192.168.122.201 osd tree
  46. sudo: unable to resolve host inst01
  47. dumped osdmap tree epoch 5
  48. # id weight type name up/down reweight
  49. -1 1 pool default
  50. -3 1 rack r
  51. -2 1 host inst01
  52. 0 1 osd.0 up 1
  53.  
  54. ubuntu@inst01:~$
  55.  
  56.  
  57. ubuntu@inst01:~$ sudo ceph --cluster=ceph --name=osd.0 --keyring=/var/lib/ceph/osd/ceph-0/keyring osd crush set 0 osd.0 1 pool=p datacenter=a room=b row=c rack=r host=inst01
  58. sudo: unable to resolve host inst01
  59. updated item id 0 name 'osd.0' weight 1 at location {datacenter=a,host=inst01,pool=p,rack=r,room=b,row=c} to crush map
  60. ubuntu@inst01:~$
  61.  
  62. ubuntu@inst01:~$ sudo ceph -m 192.168.122.201 osd tree
  63. sudo: unable to resolve host inst01
  64. dumped osdmap tree epoch 5
  65. # id weight type name up/down reweight
  66. -1 1 pool default
  67. -3 1 rack r
  68. -2 1 host inst01
  69. 0 1 osd.0 up 1
  70.  
  71. ubuntu@inst01:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement