Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + source common_functions.sh
- ++ set -ex
- + [[ -z 172.21.15.0/20 ]]
- + [[ -z 172.21.6.124 ]]
- + [[ -z 172.21.6.124 ]]
- + [[ -z 172.21.15.0/20 ]]
- + get_mon_config
- ++ ceph-conf --lookup fsid -c /etc/ceph/ceph.conf
- + local fsid=9ef5291d-bd61-4092-9b11-cb9027fb5923
- + timeout=10
- + MONMAP_ADD=
- + [[ -z '' ]]
- + [[ 10 -gt 0 ]]
- + [[ 1 -eq 0 ]]
- ++ 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}}'
- + MONMAP_ADD='--add mira105 172.21.8.110 --add mira100 172.21.8.122 --add mira063 172.21.6.124 '
- + (( timeout-- ))
- + sleep 1
- + [[ -z --addmira105172.21.8.110--addmira100172.21.8.122--addmira063172.21.6.124 ]]
- + [[ -z --addmira105172.21.8.110--addmira100172.21.8.122--addmira063172.21.6.124 ]]
- + 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
- monmaptool: monmap file /var/lib/ceph/mon/monmap
- monmaptool: set fsid to 9ef5291d-bd61-4092-9b11-cb9027fb5923
- monmaptool: writing epoch 0 to /var/lib/ceph/mon/monmap (3 monitors)
- + chown ceph. /var/log/ceph
- + '[' true = true ']'
- + default_cluster_log=/var/log/ceph/ceph.log
- ++ grep mon_cluster_log_file /etc/ceph/ceph.conf
- ++ awk '{print $NF}'
- + cluster_log=
- + [[ -z '' ]]
- + cluster_log=/var/log/ceph/ceph.log
- + rm /var/log/ceph/ceph.log
- rm: cannot remove '/var/log/ceph/ceph.log': No such file or directory
- + true
- + mkfifo /var/log/ceph/ceph.log
- + chown ceph. /var/log/ceph/ceph.log
- + '[' '!' -e /var/lib/ceph/mon/ceph-mira063/keyring ']'
- + '[' '!' -e /etc/ceph/ceph.mon.keyring ']'
- + '[' '!' -e /var/lib/ceph/mon/monmap ']'
- + for keyring in '$OSD_BOOTSTRAP_KEYRING' '$MDS_BOOTSTRAP_KEYRING' '$RGW_BOOTSTRAP_KEYRING' '$ADMIN_KEYRING'
- + ceph-authtool /etc/ceph/ceph.mon.keyring --import-keyring /var/lib/ceph/bootstrap-osd/ceph.keyring
- importing contents of /var/lib/ceph/bootstrap-osd/ceph.keyring into /etc/ceph/ceph.mon.keyring
- + for keyring in '$OSD_BOOTSTRAP_KEYRING' '$MDS_BOOTSTRAP_KEYRING' '$RGW_BOOTSTRAP_KEYRING' '$ADMIN_KEYRING'
- + ceph-authtool /etc/ceph/ceph.mon.keyring --import-keyring /var/lib/ceph/bootstrap-mds/ceph.keyring
- importing contents of /var/lib/ceph/bootstrap-mds/ceph.keyring into /etc/ceph/ceph.mon.keyring
- + for keyring in '$OSD_BOOTSTRAP_KEYRING' '$MDS_BOOTSTRAP_KEYRING' '$RGW_BOOTSTRAP_KEYRING' '$ADMIN_KEYRING'
- + ceph-authtool /etc/ceph/ceph.mon.keyring --import-keyring /var/lib/ceph/bootstrap-rgw/ceph.keyring
- importing contents of /var/lib/ceph/bootstrap-rgw/ceph.keyring into /etc/ceph/ceph.mon.keyring
- + for keyring in '$OSD_BOOTSTRAP_KEYRING' '$MDS_BOOTSTRAP_KEYRING' '$RGW_BOOTSTRAP_KEYRING' '$ADMIN_KEYRING'
- + ceph-authtool /etc/ceph/ceph.mon.keyring --import-keyring /etc/ceph/ceph.client.admin.keyring
- importing contents of /etc/ceph/ceph.client.admin.keyring into /etc/ceph/ceph.mon.keyring
- + 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
- ceph-mon: mon.noname-a 172.21.6.124:6789/0 is local, renaming to mon.mira063
- ceph-mon: set fsid to 9ef5291d-bd61-4092-9b11-cb9027fb5923
- ceph-mon: created monfs at /var/lib/ceph/mon/ceph-mira063 for mon.mira063
- + log SUCCESS
- + '[' -z SUCCESS ']'
- ++ date '+%F %T'
- 2017-09-15 20:11:55 /start_mon.sh: SUCCESS
- + TIMESTAMP='2017-09-15 20:11:55'
- + echo '2017-09-15 20:11:55 /start_mon.sh: SUCCESS'
- + return 0
- + 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
- 2017-09-15 20:11:55.299373 7f98610cf700 0 set uid:gid to 64045:64045 (ceph:ceph)
- 2017-09-15 20:11:55.299394 7f98610cf700 0 ceph version 10.2.7 (50e863e0f4bc8f4b9e31156de690d765af245185), process ceph-mon, pid 1
- 2017-09-15 20:11:55.299480 7f98610cf700 0 pidfile_write: ignore empty --pid-file
- 2017-09-15 20:11:55.315719 7f98610cf700 1 leveldb: Recovering log #3
- 2017-09-15 20:11:55.315769 7f98610cf700 1 leveldb: Level-0 table #5: started
- 2017-09-15 20:11:55.316568 7f98610cf700 1 leveldb: Level-0 table #5: 1356 bytes OK
- 2017-09-15 20:11:55.317855 7f98610cf700 1 leveldb: Delete type=3 #2
- 2017-09-15 20:11:55.317910 7f98610cf700 1 leveldb: Delete type=0 #3
- 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
- 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
- 2017-09-15 20:11:55.318275 7f98610cf700 1 mon.mira063@-1(probing) e0 preinit fsid 9ef5291d-bd61-4092-9b11-cb9027fb5923
- 2017-09-15 20:11:55.318852 7f98610cf700 0 mon.mira063@-1(probing) e0 my rank is now 0 (was -1)
- 2017-09-15 20:11:55.320547 7f9858db8700 0 log_channel(cluster) log [INF] : mon.mira063 calling new monitor election
- 2017-09-15 20:11:55.320619 7f9858db8700 1 mon.mira063@0(electing).elector(1) init, last seen epoch 1
- 2017-09-15 20:11:55.322481 7f9858db8700 0 log_channel(cluster) log [INF] : mon.mira063 calling new monitor election
- 2017-09-15 20:11:55.322545 7f9858db8700 1 mon.mira063@0(electing).elector(1) init, last seen epoch 1
- 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
- 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}
- 2017-09-15 20:11:55.329500 7f985a5bb700 1 mon.mira063@0(leader).paxosservice(pgmap 0..0) refresh upgraded, format 1 -> 0
- 2017-09-15 20:11:55.329506 7f985a5bb700 1 mon.mira063@0(leader).pg v0 on_upgrade discarding in-core PGMap
- 2017-09-15 20:11:55.329830 7f985a5bb700 1 mon.mira063@0(leader).paxosservice(auth 0..0) refresh upgraded, format 1 -> 0
- 2017-09-15 20:11:55.331156 7f9858db8700 0 log_channel(cluster) log [INF] : mon.mira063 calling new monitor election
- 2017-09-15 20:11:55.331214 7f9858db8700 1 mon.mira063@0(electing).elector(2) init, last seen epoch 2
- 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
- 2017-09-15 20:11:55.334622 7f9858db8700 0 log_channel(cluster) log [INF] : HEALTH_ERR; no osds
- 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}
- 2017-09-15 20:11:55.338820 7f985a5bb700 1 mon.mira063@0(leader).paxosservice(auth 0..0) refresh upgraded, format 1 -> 0
- 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
- 2017-09-15 20:11:55.341387 7f985a5bb700 0 mon.mira063@0(leader).mds e1 print_map
- e1
- enable_multiple, ever_enabled_multiple: 0,0
- 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}
- No filesystems configured
- 2017-09-15 20:11:55.341476 7f985a5bb700 1 mon.mira063@0(leader).osd e1 e1: 0 osds: 0 up, 0 in
- 2017-09-15 20:11:55.341727 7f985a5bb700 0 mon.mira063@0(leader).osd e1 crush map has features 2200130813952, adjusting msgr requires
- 2017-09-15 20:11:55.341734 7f985a5bb700 0 mon.mira063@0(leader).osd e1 crush map has features 2200130813952, adjusting msgr requires
- 2017-09-15 20:11:55.341738 7f985a5bb700 0 mon.mira063@0(leader).osd e1 crush map has features 2200130813952, adjusting msgr requires
- 2017-09-15 20:11:55.341740 7f985a5bb700 0 mon.mira063@0(leader).osd e1 crush map has features 2200130813952, adjusting msgr requires
- 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
- 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
- 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
- 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
- 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