Skip to content

Instantly share code, notes, and snippets.

@zmc
Created February 22, 2016 20:26
Show Gist options
  • Save zmc/1ef9daa99c0c768b1da8 to your computer and use it in GitHub Desktop.
Save zmc/1ef9daa99c0c768b1da8 to your computer and use it in GitHub Desktop.
ceph-ansible osd_auto_discovery debug
TASK: [ceph-osd | debug combined_parted_results.results] **********************
ok: [target078012.ovh.sepia.ceph.com] => {
"var": {
"combined_parted_results.results": [
{
"changed": false,
"cmd": "parted --script /dev/vda print | egrep -sq '^ 1.*ceph'",
"delta": "0:00:00.011337",
"end": "2016-02-22 16:36:08.487354",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": "parted --script /dev/vda print | egrep -sq '^ 1.*ceph'",
"module_name": "shell"
},
"item": {
"key": "vda",
"value": {
"holders": [],
"host": "SCSI storage controller: Red Hat, Inc Virtio block device",
"model": null,
"partitions": {
"vda1": {
"sectors": "83884032",
"sectorsize": 512,
"size": "40.00 GB",
"start": "2048"
}
},
"removable": "0",
"rotational": "1",
"scheduler_mode": "",
"sectors": "83886080",
"sectorsize": "512",
"size": "40.00 GB",
"support_discard": "0",
"vendor": "0x1af4"
}
},
"rc": 1,
"start": "2016-02-22 16:36:08.476017",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
]
}
}
TASK: [ceph-osd | debug combined_ispartition_results.results] *****************
ok: [target078012.ovh.sepia.ceph.com] => {
"var": {
"combined_ispartition_results.results": [
{
"changed": false,
"cmd": "echo '/dev/vda' | egrep '/dev/({h,s,v}d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p)[0-9]{1,2}$'",
"delta": "0:00:00.004680",
"end": "2016-02-22 16:36:07.029225",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": "echo '/dev/vda' | egrep '/dev/({h,s,v}d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p)[0-9]{1,2}$'",
"module_name": "shell"
},
"item": {
"key": "vda",
"value": {
"holders": [],
"host": "SCSI storage controller: Red Hat, Inc Virtio block device",
"model": null,
"partitions": {
"vda1": {
"sectors": "83884032",
"sectorsize": 512,
"size": "40.00 GB",
"start": "2048"
}
},
"removable": "0",
"rotational": "1",
"scheduler_mode": "",
"sectors": "83886080",
"sectorsize": "512",
"size": "40.00 GB",
"support_discard": "0",
"vendor": "0x1af4"
}
},
"rc": 1,
"start": "2016-02-22 16:36:07.024545",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
]
}
}
TASK: [ceph-osd | debug journal_collocation] **********************************
ok: [target078012.ovh.sepia.ceph.com] => {
"var": {
"journal_collocation": "True"
}
}
TASK: [ceph-osd | debug osd_auto_discovery] ***********************************
ok: [target078012.ovh.sepia.ceph.com] => {
"var": {
"osd_auto_discovery": "True"
}
}
TASK: [ceph-osd | debug combined_parted_results.results] **********************
ok: [vpm155.front.sepia.ceph.com] => {
"var": {
"combined_parted_results.results": [
{
"changed": false,
"cmd": "parted --script /dev/vda print | egrep -sq '^ 1.*ceph'",
"delta": "0:00:00.011990",
"end": "2016-02-22 16:34:28.696225",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": "parted --script /dev/vda print | egrep -sq '^ 1.*ceph'",
"module_name": "shell"
},
"item": {
"key": "vda",
"value": {
"holders": [],
"host": "SCSI storage controller: Red Hat, Inc Virtio block device",
"model": null,
"partitions": {
"vda1": {
"sectors": "209713152",
"sectorsize": 512,
"size": "100.00 GB",
"start": "2048"
}
},
"removable": "0",
"rotational": "1",
"scheduler_mode": "",
"sectors": "209715200",
"sectorsize": "512",
"size": "100.00 GB",
"support_discard": "0",
"vendor": "0x1af4"
}
},
"rc": 1,
"start": "2016-02-22 16:34:28.684235",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
},
{
"changed": false,
"skipped": true
},
{
"changed": false,
"cmd": "parted --script /dev/vdb print | egrep -sq '^ 1.*ceph'",
"delta": "0:00:00.009298",
"end": "2016-02-22 16:34:28.801801",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": "parted --script /dev/vdb print | egrep -sq '^ 1.*ceph'",
"module_name": "shell"
},
"item": {
"key": "vdb",
"value": {
"holders": [],
"host": "SCSI storage controller: Red Hat, Inc Virtio block device",
"model": null,
"partitions": {},
"removable": "0",
"rotational": "1",
"scheduler_mode": "",
"sectors": "419430400",
"sectorsize": "512",
"size": "200.00 GB",
"support_discard": "0",
"vendor": "0x1af4"
}
},
"rc": 1,
"start": "2016-02-22 16:34:28.792503",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
},
{
"changed": false,
"cmd": "parted --script /dev/vdc print | egrep -sq '^ 1.*ceph'",
"delta": "0:00:00.009285",
"end": "2016-02-22 16:34:28.908873",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": "parted --script /dev/vdc print | egrep -sq '^ 1.*ceph'",
"module_name": "shell"
},
"item": {
"key": "vdc",
"value": {
"holders": [],
"host": "SCSI storage controller: Red Hat, Inc Virtio block device",
"model": null,
"partitions": {},
"removable": "0",
"rotational": "1",
"scheduler_mode": "",
"sectors": "419430400",
"sectorsize": "512",
"size": "200.00 GB",
"support_discard": "0",
"vendor": "0x1af4"
}
},
"rc": 1,
"start": "2016-02-22 16:34:28.899588",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
},
{
"changed": false,
"cmd": "parted --script /dev/vdd print | egrep -sq '^ 1.*ceph'",
"delta": "0:00:00.009273",
"end": "2016-02-22 16:34:29.017615",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": "parted --script /dev/vdd print | egrep -sq '^ 1.*ceph'",
"module_name": "shell"
},
"item": {
"key": "vdd",
"value": {
"holders": [],
"host": "SCSI storage controller: Red Hat, Inc Virtio block device",
"model": null,
"partitions": {},
"removable": "0",
"rotational": "1",
"scheduler_mode": "",
"sectors": "419430400",
"sectorsize": "512",
"size": "200.00 GB",
"support_discard": "0",
"vendor": "0x1af4"
}
},
"rc": 1,
"start": "2016-02-22 16:34:29.008342",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
]
}
}
TASK: [ceph-osd | debug combined_ispartition_results.results] *****************
ok: [vpm155.front.sepia.ceph.com] => {
"var": {
"combined_ispartition_results.results": [
{
"changed": false,
"cmd": "echo '/dev/vda' | egrep '/dev/({h,s,v}d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p)[0-9]{1,2}$'",
"delta": "0:00:00.003153",
"end": "2016-02-22 16:34:27.389371",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": "echo '/dev/vda' | egrep '/dev/({h,s,v}d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p)[0-9]{1,2}$'",
"module_name": "shell"
},
"item": {
"key": "vda",
"value": {
"holders": [],
"host": "SCSI storage controller: Red Hat, Inc Virtio block device",
"model": null,
"partitions": {
"vda1": {
"sectors": "209713152",
"sectorsize": 512,
"size": "100.00 GB",
"start": "2048"
}
},
"removable": "0",
"rotational": "1",
"scheduler_mode": "",
"sectors": "209715200",
"sectorsize": "512",
"size": "100.00 GB",
"support_discard": "0",
"vendor": "0x1af4"
}
},
"rc": 1,
"start": "2016-02-22 16:34:27.386218",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
},
{
"changed": false,
"skipped": true
},
{
"changed": false,
"cmd": "echo '/dev/vdb' | egrep '/dev/({h,s,v}d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p)[0-9]{1,2}$'",
"delta": "0:00:00.003128",
"end": "2016-02-22 16:34:27.493120",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": "echo '/dev/vdb' | egrep '/dev/({h,s,v}d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p)[0-9]{1,2}$'",
"module_name": "shell"
},
"item": {
"key": "vdb",
"value": {
"holders": [],
"host": "SCSI storage controller: Red Hat, Inc Virtio block device",
"model": null,
"partitions": {},
"removable": "0",
"rotational": "1",
"scheduler_mode": "",
"sectors": "419430400",
"sectorsize": "512",
"size": "200.00 GB",
"support_discard": "0",
"vendor": "0x1af4"
}
},
"rc": 1,
"start": "2016-02-22 16:34:27.489992",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
},
{
"changed": false,
"cmd": "echo '/dev/vdc' | egrep '/dev/({h,s,v}d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p)[0-9]{1,2}$'",
"delta": "0:00:00.003151",
"end": "2016-02-22 16:34:27.587679",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": "echo '/dev/vdc' | egrep '/dev/({h,s,v}d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p)[0-9]{1,2}$'",
"module_name": "shell"
},
"item": {
"key": "vdc",
"value": {
"holders": [],
"host": "SCSI storage controller: Red Hat, Inc Virtio block device",
"model": null,
"partitions": {},
"removable": "0",
"rotational": "1",
"scheduler_mode": "",
"sectors": "419430400",
"sectorsize": "512",
"size": "200.00 GB",
"support_discard": "0",
"vendor": "0x1af4"
}
},
"rc": 1,
"start": "2016-02-22 16:34:27.584528",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
},
{
"changed": false,
"cmd": "echo '/dev/vdd' | egrep '/dev/({h,s,v}d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p)[0-9]{1,2}$'",
"delta": "0:00:00.003130",
"end": "2016-02-22 16:34:27.680843",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": "echo '/dev/vdd' | egrep '/dev/({h,s,v}d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p)[0-9]{1,2}$'",
"module_name": "shell"
},
"item": {
"key": "vdd",
"value": {
"holders": [],
"host": "SCSI storage controller: Red Hat, Inc Virtio block device",
"model": null,
"partitions": {},
"removable": "0",
"rotational": "1",
"scheduler_mode": "",
"sectors": "419430400",
"sectorsize": "512",
"size": "200.00 GB",
"support_discard": "0",
"vendor": "0x1af4"
}
},
"rc": 1,
"start": "2016-02-22 16:34:27.677713",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
]
}
}
TASK: [ceph-osd | debug journal_collocation] **********************************
ok: [vpm155.front.sepia.ceph.com] => {
"var": {
"journal_collocation": "True"
}
}
TASK: [ceph-osd | debug osd_auto_discovery] ***********************************
ok: [vpm155.front.sepia.ceph.com] => {
"var": {
"osd_auto_discovery": "True"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment