Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===============================================================================================================================================================================================================================
- TASK: [osd | If partition named 'ceph' exists] ********************************
- failed: [ceph-node1] => (item=/dev/vdb) => {"changed": false, "cmd": "parted --script /dev/vdb print | egrep -sq '^ 1.*ceph' ", "delta": "0:00:00.017092", "end": "2014-03-18 16:41:55.916821", "item": "/dev/vdb", "rc": 1, "start": "2014-03-18 16:41:55.899729", "stdout_lines": []}
- ...ignoring
- failed: [ceph-node1] => (item=/dev/vdc) => {"changed": false, "cmd": "parted --script /dev/vdc print | egrep -sq '^ 1.*ceph' ", "delta": "0:00:00.013826", "end": "2014-03-18 16:41:57.670164", "item": "/dev/vdc", "rc": 1, "start": "2014-03-18 16:41:57.656338", "stdout_lines": []}
- ...ignoring
- TASK: [osd | Prepare OSD disk(s)] *********************************************
- failed: [ceph-node1] => (item=[{u'changed': False, u'stdout': u'', u'delta': u'0:00:00.017092', 'stdout_lines': [], u'end': u'2014-03-18 16:41:55.916821', u'start': u'2014-03-18 16:41:55.899729', u'cmd': u"parted --script /dev/vdb print | egrep -sq '^ 1.*ceph' ", 'item': '/dev/vdb', u'stderr': u'', u'rc': 1, 'invocation': {'module_name': 'shell', 'module_args': u"parted --script /dev/vdb print | egrep -sq '^ 1.*ceph'"}}, '/dev/vdb']) => {"changed": true, "cmd": ["ceph-disk", "prepare", "/dev/vdb"], "delta": "0:00:04.866755", "end": "2014-03-18 16:42:04.407792", "item": [{"changed": false, "cmd": "parted --script /dev/vdb print | egrep -sq '^ 1.*ceph' ", "delta": "0:00:00.017092", "end": "2014-03-18 16:41:55.916821", "invocation": {"module_args": "parted --script /dev/vdb print | egrep -sq '^ 1.*ceph'", "module_name": "shell"}, "item": "/dev/vdb", "rc": 1, "start": "2014-03-18 16:41:55.899729", "stderr": "", "stdout": "", "stdout_lines": []}, "/dev/vdb"], "rc": 1, "start": "2014-03-18 16:41:59.541037"}
- stderr: INFO:ceph-disk:Will colocate journal with data on /dev/vdb
- mkfs.xfs: /dev/vdb1 contains a mounted filesystem
- Usage: mkfs.xfs
- /* blocksize */ [-b log=n|size=num]
- /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
- (sunit=value,swidth=value|su=num,sw=num),
- sectlog=n|sectsize=num
- /* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
- projid32bit=0|1]
- /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
- sunit=value|su=num,sectlog=n|sectsize=num,
- lazy-count=0|1]
- /* label */ [-L label (maximum 12 characters)]
- /* naming */ [-n log=n|size=num,version=2|ci]
- /* prototype file */ [-p fname]
- /* quiet */ [-q]
- /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
- /* sectorsize */ [-s log=n|size=num]
- /* version */ [-V]
- devicename
- <devicename> is required unless -d name=xxx is given.
- <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
- xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
- <value> is xxx (512 byte blocks).
- ceph-disk: Error: Command '['mkfs', '-t', 'xfs', '-f', '-i', 'size=2048', '--', '/dev/vdb1']' returned non-zero exit status 1
- stdout: The operation has completed successfully.
- The operation has completed successfully.
- ...ignoring
- failed: [ceph-node1] => (item=[{u'changed': False, u'stdout': u'', u'delta': u'0:00:00.013826', 'stdout_lines': [], u'end': u'2014-03-18 16:41:57.670164', u'start': u'2014-03-18 16:41:57.656338', u'cmd': u"parted --script /dev/vdc print | egrep -sq '^ 1.*ceph' ", 'item': '/dev/vdc', u'stderr': u'', u'rc': 1, 'invocation': {'module_name': 'shell', 'module_args': u"parted --script /dev/vdc print | egrep -sq '^ 1.*ceph'"}}, '/dev/vdc']) => {"changed": true, "cmd": ["ceph-disk", "prepare", "/dev/vdc"], "delta": "0:00:04.759613", "end": "2014-03-18 16:42:11.291644", "item": [{"changed": false, "cmd": "parted --script /dev/vdc print | egrep -sq '^ 1.*ceph' ", "delta": "0:00:00.013826", "end": "2014-03-18 16:41:57.670164", "invocation": {"module_args": "parted --script /dev/vdc print | egrep -sq '^ 1.*ceph'", "module_name": "shell"}, "item": "/dev/vdc", "rc": 1, "start": "2014-03-18 16:41:57.656338", "stderr": "", "stdout": "", "stdout_lines": []}, "/dev/vdc"], "rc": 1, "start": "2014-03-18 16:42:06.532031"}
- stderr: INFO:ceph-disk:Will colocate journal with data on /dev/vdc
- mkfs.xfs: /dev/vdc1 contains a mounted filesystem
- Usage: mkfs.xfs
- /* blocksize */ [-b log=n|size=num]
- /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
- (sunit=value,swidth=value|su=num,sw=num),
- sectlog=n|sectsize=num
- /* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
- projid32bit=0|1]
- /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
- sunit=value|su=num,sectlog=n|sectsize=num,
- lazy-count=0|1]
- /* label */ [-L label (maximum 12 characters)]
- /* naming */ [-n log=n|size=num,version=2|ci]
- /* prototype file */ [-p fname]
- /* quiet */ [-q]
- /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
- /* sectorsize */ [-s log=n|size=num]
- /* version */ [-V]
- devicename
- <devicename> is required unless -d name=xxx is given.
- <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
- xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
- <value> is xxx (512 byte blocks).
- ceph-disk: Error: Command '['mkfs', '-t', 'xfs', '-f', '-i', 'size=2048', '--', '/dev/vdc1']' returned non-zero exit status 1
- stdout: The operation has completed successfully.
- The operation has completed successfully.
- ...ignoring
- TASK: [osd | Activate OSD(s)] *************************************************
- ok: [ceph-node1] => (item=/dev/vdb)
- ok: [ceph-node1] => (item=/dev/vdc)
- TASK: [osd | Start and add that the OSD service to the init sequence] *********
- failed: [ceph-node1] => {"failed": true, "item": ""}
- msg: 2014-03-18 16:42:16.364387 7f49037d0700 1 -- :/0 messenger.start
- 2014-03-18 16:42:16.366385 7f49037d0700 1 -- :/1028158 --> 192.168.1.38:6789/0 -- auth(proto 0 26 bytes epoch 0) v1 -- ?+0 0x7f48fc022ac0 con 0x7f48fc022650
- 2014-03-18 16:42:16.368757 7f4900884700 1 -- 192.168.1.34:0/1028158 learned my addr 192.168.1.34:0/1028158
- 2014-03-18 16:42:16.371241 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 1 ==== mon_map v1 ==== 497+0+0 (3739914271 0 0) 0x7f48f0000b90 con 0x7f48fc022650
- 2014-03-18 16:42:16.371469 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 2 ==== auth_reply(proto 2 0 Success) v1 ==== 33+0+0 (3689300286 0 0) 0x7f48f0001030 con 0x7f48fc022650
- 2014-03-18 16:42:16.371821 7f4901285700 1 -- 192.168.1.34:0/1028158 --> 192.168.1.38:6789/0 -- auth(proto 2 32 bytes epoch 0) v1 -- ?+0 0x7f48e40016c0 con 0x7f48fc022650
- 2014-03-18 16:42:16.373592 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 3 ==== auth_reply(proto 2 0 Success) v1 ==== 206+0+0 (1521489445 0 0) 0x7f48f0000920 con 0x7f48fc022650
- 2014-03-18 16:42:16.373863 7f4901285700 1 -- 192.168.1.34:0/1028158 --> 192.168.1.38:6789/0 -- auth(proto 2 165 bytes epoch 0) v1 -- ?+0 0x7f48e4002240 con 0x7f48fc022650
- 2014-03-18 16:42:16.375520 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 4 ==== auth_reply(proto 2 0 Success) v1 ==== 393+0+0 (361668409 0 0) 0x7f48f0000920 con 0x7f48fc022650
- 2014-03-18 16:42:16.375751 7f4901285700 1 -- 192.168.1.34:0/1028158 --> 192.168.1.38:6789/0 -- mon_subscribe({monmap=0+}) v2 -- ?+0 0x7f48fc022da0 con 0x7f48fc022650
- 2014-03-18 16:42:16.375837 7f4901285700 1 -- 192.168.1.34:0/1028158 --> 192.168.1.38:6789/0 -- auth(proto 2 2 bytes epoch 0) v1 -- ?+0 0x7f48e4002560 con 0x7f48fc022650
- 2014-03-18 16:42:16.376292 7f49037d0700 1 -- 192.168.1.34:0/1028158 --> 192.168.1.38:6789/0 -- mon_subscribe({monmap=4+,osdmap=0}) v2 -- ?+0 0x7f48fc01f5a0 con 0x7f48fc022650
- 2014-03-18 16:42:16.376386 7f49037d0700 1 -- 192.168.1.34:0/1028158 --> 192.168.1.38:6789/0 -- mon_subscribe({monmap=4+,osdmap=0}) v2 -- ?+0 0x7f48fc023ed0 con 0x7f48fc022650
- 2014-03-18 16:42:16.376890 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 5 ==== mon_map v1 ==== 497+0+0 (3739914271 0 0) 0x7f48f0001320 con 0x7f48fc022650
- 2014-03-18 16:42:16.377015 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 6 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (2881419990 0 0) 0x7f48f0001510 con 0x7f48fc022650
- 2014-03-18 16:42:16.377051 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 7 ==== auth_reply(proto 2 0 Success) v1 ==== 194+0+0 (81675764 0 0) 0x7f48f0001830 con 0x7f48fc022650
- 2014-03-18 16:42:16.377556 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 8 ==== osd_map(36..36 src has 1..36) v3 ==== 3463+0+0 (3885614949 0 0) 0x7f48f0000920 con 0x7f48fc022650
- 2014-03-18 16:42:16.377807 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 9 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (2881419990 0 0) 0x7f48f00012a0 con 0x7f48fc022650
- 2014-03-18 16:42:16.377854 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 10 ==== osd_map(36..36 src has 1..36) v3 ==== 3463+0+0 (3885614949 0 0) 0x7f48f0003240 con 0x7f48fc022650
- 2014-03-18 16:42:16.377873 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 11 ==== mon_subscribe_ack(300s) v1 ==== 20+0+0 (2881419990 0 0) 0x7f48f0003490 con 0x7f48fc022650
- 2014-03-18 16:42:16.392897 7f49037d0700 1 -- 192.168.1.34:0/1028158 --> 192.168.1.38:6789/0 -- mon_command({"prefix": "get_command_descriptions"} v 0) v1 -- ?+0 0x7f48fc017100 con 0x7f48fc022650
- 2014-03-18 16:42:16.398406 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 12 ==== mon_command_ack([{"prefix": "get_command_descriptions"}]=0 v0) v1 ==== 72+0+26163 (1092875540 0 3658139165) 0x7f48f0001330 con 0x7f48fc022650
- 2014-03-18 16:42:16.500822 7f49037d0700 1 -- 192.168.1.34:0/1028158 --> 192.168.1.38:6789/0 -- mon_command({"prefix": "osd crush create-or-move", "args": ["root=default", "host=ceph-node1"], "id": 2, "weight": 0.44} v 0) v1 -- ?+0 0x7f48fc017100 con 0x7f48fc022650
- 2014-03-18 16:42:16.505757 7f4901285700 1 -- 192.168.1.34:0/1028158 <== mon.2 192.168.1.38:6789/0 13 ==== mon_command_ack([{"prefix": "osd crush create-or-move", "args": ["root=default", "host=ceph-node1"], "id": 2, "weight": 0.44}]=-2 osd.2 does not exist. create it before updating the crush map v36) v1 ==== 204+0+0 (2164074519 0 0) 0x7f48f0000c70 con 0x7f48fc022650
- Error ENOENT: osd.2 does not exist. create it before updating the crush map
- 2014-03-18 16:42:16.517756 7f49037d0700 1 -- 192.168.1.34:0/1028158 mark_down 0x7f48fc022650 -- 0x7f48fc0223f0
- 2014-03-18 16:42:16.517887 7f49037d0700 1 -- 192.168.1.34:0/1028158 mark_down_all
- 2014-03-18 16:42:16.518937 7f49037d0700 1 -- 192.168.1.34:0/1028158 shutdown complete.
- FATAL: all hosts have already failed -- aborting
- PLAY RECAP ********************************************************************
- to retry, use: --limit @/root/osd_hosts.retry
- ceph-node1 : ok=7 changed=3 unreachable=0 failed=1
- ===============================================================================================================================================================================================================================
Advertisement
Add Comment
Please, Sign In to add comment