Advertisement
Guest User

Untitled

a guest
Sep 15th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.94 KB | None | 0 0
  1. + source common_functions.sh
  2. ++ set -ex
  3. + [[ -z 172.21.15.0/20 ]]
  4. + [[ -z 172.21.6.124 ]]
  5. + [[ -z 172.21.6.124 ]]
  6. + [[ -z 172.21.15.0/20 ]]
  7. + get_mon_config
  8. ++ ceph-conf --lookup fsid -c /etc/ceph/ceph.conf
  9. + local fsid=9ef5291d-bd61-4092-9b11-cb9027fb5923
  10. + timeout=10
  11. + MONMAP_ADD=
  12. + [[ -z '' ]]
  13. + [[ 10 -gt 0 ]]
  14. + [[ 1 -eq 0 ]]
  15. ++ kubectl get pods --namespace=ceph -l application=ceph -l component=mon -o template '--template={{range .items}}{{if .status.podIP}}--add {{.spec.nodeName}} {{.status.podIP}} {{end}} {{end}}'
  16. + MONMAP_ADD='--add mira105 172.21.8.110 --add mira100 172.21.8.122 --add mira063 172.21.6.124 '
  17. + (( timeout-- ))
  18. + sleep 1
  19. + [[ -z --addmira105172.21.8.110--addmira100172.21.8.122--addmira063172.21.6.124 ]]
  20. + [[ -z --addmira105172.21.8.110--addmira100172.21.8.122--addmira063172.21.6.124 ]]
  21. + monmaptool --create --add mira105 172.21.8.110 --add mira100 172.21.8.122 --add mira063 172.21.6.124 --fsid 9ef5291d-bd61-4092-9b11-cb9027fb5923 /var/lib/ceph/mon/monmap --clobber
  22. monmaptool: monmap file /var/lib/ceph/mon/monmap
  23. monmaptool: set fsid to 9ef5291d-bd61-4092-9b11-cb9027fb5923
  24. monmaptool: writing epoch 0 to /var/lib/ceph/mon/monmap (3 monitors)
  25. + chown ceph. /var/log/ceph
  26. + '[' true = true ']'
  27. + default_cluster_log=/var/log/ceph/ceph.log
  28. ++ grep mon_cluster_log_file /etc/ceph/ceph.conf
  29. ++ awk '{print $NF}'
  30. + cluster_log=
  31. + [[ -z '' ]]
  32. + cluster_log=/var/log/ceph/ceph.log
  33. + rm /var/log/ceph/ceph.log
  34. rm: cannot remove '/var/log/ceph/ceph.log': No such file or directory
  35. + true
  36. + mkfifo /var/log/ceph/ceph.log
  37. + chown ceph. /var/log/ceph/ceph.log
  38. + '[' '!' -e /var/lib/ceph/mon/ceph-mira063/keyring ']'
  39. + '[' '!' -e /etc/ceph/ceph.mon.keyring ']'
  40. + '[' '!' -e /var/lib/ceph/mon/monmap ']'
  41. + for keyring in '$OSD_BOOTSTRAP_KEYRING' '$MDS_BOOTSTRAP_KEYRING' '$RGW_BOOTSTRAP_KEYRING' '$ADMIN_KEYRING'
  42. + ceph-authtool /etc/ceph/ceph.mon.keyring --import-keyring /var/lib/ceph/bootstrap-osd/ceph.keyring
  43. importing contents of /var/lib/ceph/bootstrap-osd/ceph.keyring into /etc/ceph/ceph.mon.keyring
  44. + for keyring in '$OSD_BOOTSTRAP_KEYRING' '$MDS_BOOTSTRAP_KEYRING' '$RGW_BOOTSTRAP_KEYRING' '$ADMIN_KEYRING'
  45. + ceph-authtool /etc/ceph/ceph.mon.keyring --import-keyring /var/lib/ceph/bootstrap-mds/ceph.keyring
  46. importing contents of /var/lib/ceph/bootstrap-mds/ceph.keyring into /etc/ceph/ceph.mon.keyring
  47. + for keyring in '$OSD_BOOTSTRAP_KEYRING' '$MDS_BOOTSTRAP_KEYRING' '$RGW_BOOTSTRAP_KEYRING' '$ADMIN_KEYRING'
  48. + ceph-authtool /etc/ceph/ceph.mon.keyring --import-keyring /var/lib/ceph/bootstrap-rgw/ceph.keyring
  49. importing contents of /var/lib/ceph/bootstrap-rgw/ceph.keyring into /etc/ceph/ceph.mon.keyring
  50. + for keyring in '$OSD_BOOTSTRAP_KEYRING' '$MDS_BOOTSTRAP_KEYRING' '$RGW_BOOTSTRAP_KEYRING' '$ADMIN_KEYRING'
  51. + ceph-authtool /etc/ceph/ceph.mon.keyring --import-keyring /etc/ceph/ceph.client.admin.keyring
  52. importing contents of /etc/ceph/ceph.client.admin.keyring into /etc/ceph/ceph.mon.keyring
  53. + ceph-mon --setuser ceph --setgroup ceph --cluster ceph --mkfs -i mira063 --inject-monmap /var/lib/ceph/mon/monmap --keyring /etc/ceph/ceph.mon.keyring --mon-data /var/lib/ceph/mon/ceph-mira063
  54. ceph-mon: mon.noname-a 172.21.6.124:6789/0 is local, renaming to mon.mira063
  55. ceph-mon: set fsid to 9ef5291d-bd61-4092-9b11-cb9027fb5923
  56. ceph-mon: created monfs at /var/lib/ceph/mon/ceph-mira063 for mon.mira063
  57. + log SUCCESS
  58. + '[' -z SUCCESS ']'
  59. ++ date '+%F %T'
  60. 2017-09-15 20:11:55 /start_mon.sh: SUCCESS
  61. + TIMESTAMP='2017-09-15 20:11:55'
  62. + echo '2017-09-15 20:11:55 /start_mon.sh: SUCCESS'
  63. + return 0
  64. + exec /usr/bin/ceph-mon --cluster ceph --setuser ceph --setgroup ceph -d -i mira063 --mon-data /var/lib/ceph/mon/ceph-mira063 --public-addr 172.21.6.124:6789
  65. 2017-09-15 20:11:55.299373 7f98610cf700 0 set uid:gid to 64045:64045 (ceph:ceph)
  66. 2017-09-15 20:11:55.299394 7f98610cf700 0 ceph version 10.2.7 (50e863e0f4bc8f4b9e31156de690d765af245185), process ceph-mon, pid 1
  67. 2017-09-15 20:11:55.299480 7f98610cf700 0 pidfile_write: ignore empty --pid-file
  68. 2017-09-15 20:11:55.315719 7f98610cf700 1 leveldb: Recovering log #3
  69. 2017-09-15 20:11:55.315769 7f98610cf700 1 leveldb: Level-0 table #5: started
  70. 2017-09-15 20:11:55.316568 7f98610cf700 1 leveldb: Level-0 table #5: 1356 bytes OK
  71. 2017-09-15 20:11:55.317855 7f98610cf700 1 leveldb: Delete type=3 #2
  72.  
  73. 2017-09-15 20:11:55.317910 7f98610cf700 1 leveldb: Delete type=0 #3
  74.  
  75. 2017-09-15 20:11:55.318074 7f98610cf700 0 starting mon.mira063 rank 0 at 172.21.6.124:6789/0 mon_data /var/lib/ceph/mon/ceph-mira063 fsid 9ef5291d-bd61-4092-9b11-cb9027fb5923
  76. starting mon.mira063 rank 0 at 172.21.6.124:6789/0 mon_data /var/lib/ceph/mon/ceph-mira063 fsid 9ef5291d-bd61-4092-9b11-cb9027fb5923
  77. 2017-09-15 20:11:55.318275 7f98610cf700 1 mon.mira063@-1(probing) e0 preinit fsid 9ef5291d-bd61-4092-9b11-cb9027fb5923
  78. 2017-09-15 20:11:55.318852 7f98610cf700 0 mon.mira063@-1(probing) e0 my rank is now 0 (was -1)
  79. 2017-09-15 20:11:55.320547 7f9858db8700 0 log_channel(cluster) log [INF] : mon.mira063 calling new monitor election
  80. 2017-09-15 20:11:55.320619 7f9858db8700 1 mon.mira063@0(electing).elector(1) init, last seen epoch 1
  81. 2017-09-15 20:11:55.322481 7f9858db8700 0 log_channel(cluster) log [INF] : mon.mira063 calling new monitor election
  82. 2017-09-15 20:11:55.322545 7f9858db8700 1 mon.mira063@0(electing).elector(1) init, last seen epoch 1
  83. 2017-09-15 20:11:55.324474 7f9858db8700 0 log_channel(cluster) log [INF] : mon.mira063@0 won leader election with quorum 0,1,2
  84. 2017-09-15 20:11:55.324851 7f9858db8700 1 mon.mira063@0(leader) e0 apply_quorum_to_compatset_features enabling new quorum features: compat={},rocompat={},incompat={4=support erasure code pools,5=new-style osdmap encoding,6=support isa/lrc erasure code,7=support shec erasure code}
  85. 2017-09-15 20:11:55.329500 7f985a5bb700 1 mon.mira063@0(leader).paxosservice(pgmap 0..0) refresh upgraded, format 1 -> 0
  86. 2017-09-15 20:11:55.329506 7f985a5bb700 1 mon.mira063@0(leader).pg v0 on_upgrade discarding in-core PGMap
  87. 2017-09-15 20:11:55.329830 7f985a5bb700 1 mon.mira063@0(leader).paxosservice(auth 0..0) refresh upgraded, format 1 -> 0
  88. 2017-09-15 20:11:55.331156 7f9858db8700 0 log_channel(cluster) log [INF] : mon.mira063 calling new monitor election
  89. 2017-09-15 20:11:55.331214 7f9858db8700 1 mon.mira063@0(electing).elector(2) init, last seen epoch 2
  90. 2017-09-15 20:11:55.334044 7f9858db8700 0 log_channel(cluster) log [INF] : mon.mira063@0 won leader election with quorum 0,1,2
  91. 2017-09-15 20:11:55.334622 7f9858db8700 0 log_channel(cluster) log [INF] : HEALTH_ERR; no osds
  92. 2017-09-15 20:11:55.336686 7f9858db8700 0 log_channel(cluster) log [INF] : monmap e1: 3 mons at {mira063=172.21.6.124:6789/0,mira100=172.21.8.122:6789/0,mira105=172.21.8.110:6789/0}
  93. 2017-09-15 20:11:55.338820 7f985a5bb700 1 mon.mira063@0(leader).paxosservice(auth 0..0) refresh upgraded, format 1 -> 0
  94. 2017-09-15 20:11:55.338870 7f985a5bb700 0 log_channel(cluster) log [INF] : pgmap v1: 0 pgs: ; 0 bytes data, 0 kB used, 0 kB / 0 kB avail
  95. 2017-09-15 20:11:55.341387 7f985a5bb700 0 mon.mira063@0(leader).mds e1 print_map
  96. e1
  97. enable_multiple, ever_enabled_multiple: 0,0
  98. compat: compat={},rocompat={},incompat={1=base v0.20,2=client writeable ranges,3=default file layouts on dirs,4=dir inode in separate object,5=mds uses versioned encoding,6=dirfrag is stored in omap,8=file layout v2}
  99.  
  100. No filesystems configured
  101.  
  102. 2017-09-15 20:11:55.341476 7f985a5bb700 1 mon.mira063@0(leader).osd e1 e1: 0 osds: 0 up, 0 in
  103. 2017-09-15 20:11:55.341727 7f985a5bb700 0 mon.mira063@0(leader).osd e1 crush map has features 2200130813952, adjusting msgr requires
  104. 2017-09-15 20:11:55.341734 7f985a5bb700 0 mon.mira063@0(leader).osd e1 crush map has features 2200130813952, adjusting msgr requires
  105. 2017-09-15 20:11:55.341738 7f985a5bb700 0 mon.mira063@0(leader).osd e1 crush map has features 2200130813952, adjusting msgr requires
  106. 2017-09-15 20:11:55.341740 7f985a5bb700 0 mon.mira063@0(leader).osd e1 crush map has features 2200130813952, adjusting msgr requires
  107. 2017-09-15 20:12:05.196286 7f98564ab700 0 -- 172.21.6.124:6789/0 >> :/0 pipe(0x55aef1220800 sd=24 :6789 s=0 pgs=0 cs=0 l=0 c=0x55aef11e5980).accept failed to getpeername (107) Transport endpoint is not connected
  108. 2017-09-15 20:12:15.196257 7f9856ab1700 0 -- 172.21.6.124:6789/0 >> :/0 pipe(0x55aef121e000 sd=22 :6789 s=0 pgs=0 cs=0 l=0 c=0x55aef11e6580).accept failed to getpeername (107) Transport endpoint is not connected
  109. 2017-09-15 20:12:25.196464 7f98566ad700 0 -- 172.21.6.124:6789/0 >> :/0 pipe(0x55aef11e9400 sd=21 :6789 s=0 pgs=0 cs=0 l=0 c=0x55aef11e7180).accept failed to getpeername (107) Transport endpoint is not connected
  110. 2017-09-15 20:12:35.196352 7f98562a9700 0 -- 172.21.6.124:6789/0 >> :/0 pipe(0x55aef11e9400 sd=21 :6789 s=0 pgs=0 cs=0 l=0 c=0x55aef11e7900).accept failed to getpeername (107) Transport endpoint is not connected
  111. 2017-09-15 20:13:05.196404 7f98569b0700 0 -- 172.21.6.124:6789/0 >> :/0 pipe(0x55aef121e000 sd=24 :6789 s=0 pgs=0 cs=0 l=0 c=0x55aef122be00).accept failed to getpeername (107) Transport endpoint is not connected
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement