Bug 1318410 - Failed to create ceph cluster
Summary: Failed to create ceph cluster
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Installer
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: 2.0
Assignee: Alfredo Deza
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1291304
TreeView+ depends on / blocked
 
Reported: 2016-03-16 19:31 UTC by Nishanth Thomas
Modified: 2023-09-14 03:19 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-24 19:48:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Nishanth Thomas 2016-03-16 19:31:05 UTC
Attempted the cluster creation with March 7 rpms and it failed with below error. It says "fail on unsupported distribution/ fail on unsupported architecture". Could you please help me to figure this out?

Thanks,
Nishanth

Request:
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X POST -d '{"host": "dhcp47-48.lab.eng.blr.redhat.com", "monitor_interface": "eth0","fsid": "20b31ec2-6154-4900-98c6-38bb890f9fbe","monitor_secret": "AQA7P8dWAAAAABAAH/tbiZQn/40Z8pr959UmEA==","cluster_network": "10.70.44.0/22","public_network": "10.70.44.0/22","redhat_storage":true}' http://localhost:8181/api/mon/configure

Response(Task status):

{
  "endpoint": "/api/mon/configure",
  "succeeded": false,
  "stdout": "\nPLAY [mons] *****************************fail on unsupported distribution************************************** \n\nGATHERING FACTS *************************************************************** \nok: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported system] ************************* \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported architecture] ******************* \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported distribution] ******************* \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported distribution for red hat storage] *** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported ansible version] **************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | make sure journal_size configured] ****************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | make sure monitor_interface configured] ************* \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | make sure cluster_network configured] *************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | make sure public_network configured] **************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | make sure an osd scenario was chosen] *************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | verify only one osd scenario was chosen] ************ \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | verify devices have been provided] ****************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | verify journal devices have been provided] ********** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | verify directories have been provided] ************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | check if nmap is installed] ************************* \nok: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | inform that nmap is not present] ******************** \nok: [dhcp47-48.lab.eng.blr.redhat.com] => {\n    \"msg\": \"nmap is not installed, can not test if ceph ports are allowed :(\"\n}\n\nTASK: [ceph.ceph-common | check if monitor port is not filtered] ************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item=dhcp47-48.lab.eng.blr.redhat.com)\n\nTASK: [ceph.ceph-common | fail if monitor port is filtered] ******************* \nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | check if osd and mds range is not filtered] ********* \nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item=groups.osds)\n\nTASK: [ceph.ceph-common | fail if osd and mds range is filtered (osd hosts)] *** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | check if osd and mds range is not filtered] ********* \nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item=groups.mdss)\n\nTASK: [ceph.ceph-common | fail if osd and mds range is filtered (mds hosts)] *** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | check if rados gateway port is not filtered] ******** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item=groups.rgws)\n\nTASK: [ceph.ceph-common | fail if rados gateway port is filtered] ************* \nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | disable osd directory parsing by updatedb] ********** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | disable transparent hugepage] *********************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | disable swap] *************************************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | get default vm.min_free_kbytes] ********************* \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | define vm.min_free_kbytes] ************************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com]\n\nTASK: [ceph.ceph-common | apply operating system tuning] ********************** \nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item={'name': 'kernel.pid_max', 'value': 4194303})\nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item={'name': 'fs.file-max', 'value': 26234859})\nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item={'name': 'vm.zone_reclaim_mode', 'value': 0})\nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item={'name': 'vm.vfs_cache_pressure', 'value': 50})\nskipping: [dhcp47-48.lab.eng.blr.redhat.com] => (item={'name': 'vm.min_free_kbytes', 'value': u'{# vm_min_free_kbytes #}'})\n\nTASK: [ceph.ceph-common | set_fact is_ceph_infernalis={{ (ceph_stable and ceph_stable_release not in ceph_stable_releases) or (ceph_stable_rh_storage and (rh_storage_version.stdout | version_compare('0.94', '>'))) }}] *** \nfatal: [dhcp47-48.lab.eng.blr.redhat.com] => One or more undefined variables: 'rh_storage_version' is undefined\n\nFATAL: all hosts have already failed -- aborting\n\nPLAY RECAP ******************************************************************** \n           to retry, use: --limit @/home/ceph-installer/site.sample.retry\n\ndhcp47-48.lab.eng.blr.redhat.com : ok=12   changed=0    unreachable=1    failed=0   \n\n",
  "started": "2016-03-16 10:54:51.438568",
  "exit_code": 3,
  "ended": "2016-03-16 10:54:58.734477",
  "command": "/bin/ansible-playbook -u ceph-installer /usr/share/ceph-ansible/site.yml.sample -i /tmp/ba0df4f6-7416-44f9-b478-429abf4be379_xfHAVg --extra-vars {\"monitor_secret\": \"AQA7P8dWAAAAABAAH/tbiZQn/40Z8pr959UmEA==\", \"ceph_stable_rh_storage_cdn_install\": true, \"redhat_storage\": true, \"public_network\": \"10.70.44.0/22\", \"fetch_directory\": \"/home/ceph-installer/fetch\", \"cluster_network\": \"10.70.44.0/22\", \"fsid\": \"20b31ec2-6154-4900-98c6-38bb890f9fbe\", \"ceph_stable_rh_storage\": true} --skip-tags package-install",
  "stderr": "",
  "identifier": "ba0df4f6-7416-44f9-b478-429abf4be379"
}

Comment 1 Nishanth Thomas 2016-03-16 19:32:21 UTC
With the latest version, output looks like this:

{"endpoint": "/api/mon/configure/", "succeeded": false, "stdout": "\nPLAY [mons] ******************************************************************* \n\nGATHERING FACTS *************************************************************** \nok: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported system] ************************* \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported architecture] ******************* \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported distribution] ******************* \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported distribution for red hat storage] *** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported ansible version] **************** \nskipping: [magna082.ceph.redhat.co!
 m]\n\nTASK
: [ceph.ceph-common | make sure journal_size configured] ****************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | make sure monitor_interface configured] ************* \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | make sure cluster_network configured] *************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | make sure public_network configured] **************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | make sure an osd scenario was chosen] *************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | verify only one osd scenario was chosen] ************ \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | verify devices have been provided] ****************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | verify journal devices have been provided] ********** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-!
 common | v
erify directories have been provided] ************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | check if nmap is installed] ************************* \nok: [magna082.ceph.redhat.com] => {\"changed\": false, \"cmd\": [\"command\", \"-v\", \"nmap\"], \"delta\": \"0:00:00.019259\", \"end\": \"2016-03-16 11:06:07.571958\", \"failed\": false, \"failed_when_result\": false, \"rc\": 1, \"start\": \"2016-03-16 11:06:07.552699\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}\n\nTASK: [ceph.ceph-common | inform that nmap is not present] ******************** \nok: [magna082.ceph.redhat.com] => {\n    \"msg\": \"nmap is not installed, can not test if ceph ports are allowed :(\"\n}\n\nTASK: [ceph.ceph-common | check if monitor port is not filtered] ************** \nskipping: [magna082.ceph.redhat.com] => (item=magna082.ceph.redhat.com)\n\nTASK: [ceph.ceph-common | fail if monitor port is filtered] ******************* \nskipp!
 ing: [magn
a082.ceph.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | check if osd and mds range is not filtered] ********* \nskipping: [magna082.ceph.redhat.com] => (item=groups.osds)\n\nTASK: [ceph.ceph-common | fail if osd and mds range is filtered (osd hosts)] *** \nskipping: [magna082.ceph.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | check if osd and mds range is not filtered] ********* \nskipping: [magna082.ceph.redhat.com] => (item=groups.mdss)\n\nTASK: [ceph.ceph-common | fail if osd and mds range is filtered (mds hosts)] *** \nskipping: [magna082.ceph.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | check if rados gateway port is not filtered] ******** \nskipping: [magna082.ceph.redhat.com] => (item=groups.rgws)\n\nTASK: [ceph.ceph-common | fail if rados gateway port is filtered] ************* \nskipping: [magna082.ceph.redhat.com] =>!
  (item={u'
skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | disable osd directory parsing by updatedb] ********** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | disable transparent hugepage] *********************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | disable swap] *************************************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | get default vm.min_free_kbytes] ********************* \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | define vm.min_free_kbytes] ************************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | apply operating system tuning] ********************** \nskipping: [magna082.ceph.redhat.com] => (item={'name': 'kernel.pid_max', 'value': 4194303})\nskipping: [magna082.ceph.redhat.com] => (item={'name': 'fs.file-max', 'value': 26234859})\nskipping: [magna082.ceph.redhat.com] => (item={'name': 'vm.zone_r!
 eclaim_mod
e', 'value': 0})\nskipping: [magna082.ceph.redhat.com] => (item={'name': 'vm.vfs_cache_pressure', 'value': 50})\nskipping: [magna082.ceph.redhat.com] => (item={'name': 'vm.min_free_kbytes', 'value': u'{# vm_min_free_kbytes #}'})\n\nTASK: [ceph.ceph-common | get ceph rhcs version] ****************************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | set_fact is_ceph_infernalis={{ (ceph_stable and ceph_stable_release not in ceph_stable_releases) or (ceph_dev) or (ceph_stable_rh_storage and (rh_storage_version.stdout | version_compare('0.94', '>'))) }}] *** \nok: [magna082.ceph.redhat.com] => {\"ansible_facts\": {\"is_ceph_infernalis\": true}}\n\nTASK: [ceph.ceph-common | set_fact is_ceph_infernalis=True] ******************* \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nok: [magna082.ceph.redhat.com] => {\"ansible_facts\": {\"dir_group\": \"ceph\", \"dir_mod!
 e\": \"075
5\", \"dir_owner\": \"ceph\"}}\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nok: [magna082.ceph.redhat.com] => {\"ansible_facts\": {\"key_group\": \"ceph\", \"key_mode\": \"0600\", \"key_owner\": \"ceph\"}}\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nok: [magna082.ceph.redhat.com] => {\"ansible_facts\": {\"activate_file_group\": \"ceph\", \"activate_file_mode\": \"0644\", \"activate_file_owner\": \"ceph\"}}\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nskipping: [magna082.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nskipping: [magna082.ceph.redhat.com]\n\nT!
 ASK: [ceph
.ceph-common | set_fact ] ****************************************** \nok: [magna082.ceph.redhat.com] => {\"ansible_facts\": {\"rbd_client_dir_group\": \"ceph\", \"rbd_client_dir_mode\": \"0770\", \"rbd_client_dir_owner\": \"ceph\"}}\n\nTASK: [ceph.ceph-common | check for a ceph socket] **************************** \nok: [magna082.ceph.redhat.com] => {\"changed\": false, \"cmd\": \"stat /var/run/ceph/*.asok > /dev/null 2>&1\", \"delta\": \"0:00:00.003925\", \"end\": \"2016-03-16 11:06:08.128404\", \"failed\": false, \"failed_when_result\": false, \"rc\": 1, \"start\": \"2016-03-16 11:06:08.124479\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}\n\nTASK: [ceph.ceph-common | check for a rados gateway socket] ******************* \nok: [magna082.ceph.redhat.com] => {\"changed\": f!
 alse, \"cm
d\": \"stat /var/run/ceph/rbd-clients*.asok > /dev/null 2>&1\", \"delta\": \"0:00:00.003879\", \"end\": \"2016-03-16 11:06:08.391383\", \"failed\": false, \"failed_when_result\": false, \"rc\": 1, \"start\": \"2016-03-16 11:06:08.387504\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}\n\nTASK: [ceph.ceph-common | create a local fetch directory if it does not exist] *** \nok: [magna082.ceph.redhat.com -> 127.0.0.1] => {\"changed\": false, \"gid\": 987, \"group\": \"ceph-installer\", \"mode\": \"0755\", \"owner\": \"ceph-installer\", \"path\": \"/var/lib/ceph-installer/fetch\", \"secontext\": \"system_u:object_r:var_lib_t:s0\", \"size\": 4096, \"state\": \"directory\", \"uid\": 989}\n\nTASK: [ceph.ceph-common | generate cluster uuid] ****************************** \nchanged: [magna082.ceph.redhat.com -> 127.0.0.1] !
 => {\"c
hanged\": true, \"cmd\": \"python -c 'import uuid; print str(uuid.uuid4())' | tee /var/lib/ceph-installer/fetch/ceph_cluster_uuid.conf\", \"delta\": \"0:00:00.030819\", \"end\": \"2016-03-16 11:06:08.819735\", \"rc\": 0, \"start\": \"2016-03-16 11:06:08.788916\", \"stderr\": \"\", \"stdout\": \"8627d146-6567-4e1c-9552-3ae581fcee98\", \"warnings\": []}\n\nTASK: [ceph.ceph-common | read cluster uuid if it already exists] ************* \nok: [magna082.ceph.redhat.com -> 127.0.0.1] => {\"changed\": false, \"cmd\": [\"cat\", \"/var/lib/ceph-installer/fetch/ceph_cluster_uuid.conf\"], \"delta\": \"0:00:00.002070\", \"end\": \"2016-03-16 11:06:08.911174\", \"rc\": 0, \"start\": \"2016-03-16 11:06:08.909104\", \"stderr\": \"\", \"stdout\": \"8627d146-6567-4e1c-9552-3ae581fcee98\", \"stdout_lines\": [\"8627d146-6567-4e1c-9552-3ae581fcee98\"], \"warnings\": []}\n\nTASK: [ceph.ceph-common | create ceph conf directory] ************************* \nchanged: [magna082.ceph.redhat.com]!
  => {\"
changed\": true, \"gid\": 167, \"group\": \"ceph\", \"mode\": \"0755\", \"owner\": \"ceph\", \"path\": \"/etc/ceph\", \"secontext\": \"system_u:object_r:etc_t:s0\", \"size\": 4096, \"state\": \"directory\", \"uid\": 167}\n\nTASK: [ceph.ceph-common | generate ceph configuration file] ******************* \nfatal: [magna082.ceph.redhat.com] => Traceback (most recent call last):\n  File \"/usr/lib/python2.7/site-packages/ansible/runner/__init__.py\", line 586, in _executor\n    exec_rc = self._executor_internal(host, new_stdin)\n  File \"/usr/lib/python2.7/site-packages/ansible/runner/__init__.py\", line 789, in _executor_internal\n    return self._executor_internal_inner(host, self.module_name, self.module_args, inject, port, complex_args=complex_args)\n  File \"/usr/lib/python2.7/site-packages/ansible/runner/__init__.py\", line 1036, in _executor_internal_inner\n  !
   result =
 handler.run(conn, tmp, module_name, module_args, inject, complex_args)\n  File \"/usr/share/ceph-ansible/plugins/actions/config_template.py\", line 542, in run\n    resultant=resultant\n  File \"/usr/share/ceph-ansible/plugins/actions/config_template.py\", line 427, in return_config_overrides_ini\n    config.write(resultant_bytesio)\n  File \"/usr/lib64/python2.7/ConfigParser.py\", line 413, in write\n    fp.write(\"%s\\n\" % (key))\nTypeError: 'unicode' does not have the buffer interface\n\n\nFATAL: all hosts have already failed -- aborting\n\nPLAY RECAP ******************************************************************** \n           to retry, use: --limit @/var/lib/ceph-installer/site.sample.retry\n\nmagna082.ceph.redhat.com   : ok=23   changed=2    unreachable=1    failed=0   \n\n", "started": "2016-03-16 11:06:04.528639", "exit_code": 3, "ended": "2016-03-16 11:06:09.364679", "command": "/bin/ansible-playbook -v -u ceph-installer /usr/share/ceph-ansible/site.yml.sample!
  -i /tmp/2
cd9af53-b251-4baa-8b91-66156391e3dd_GZMulz --extra-vars {\"monitor_secret\": \"AQBkPelWGBrcGhAA0fMNZsq4fzP3YNTpI4sWHw==\", \"ceph_conf_overrides\": {\"global\": {\"auth supported\": \"cephx\"}}, \"ceph_stable\": true, \"redhat_storage\": false, \"public_network\": \"10.8.128.82/21\", \"fetch_directory\": \"/var/lib/ceph-installer/fetch\", \"cluster_network\": \"10.8.128.82/21\", \"calamari\": false, \"fsid\": \"4dea83a2-04a5-4a19-b49a-c301ab81f6ea\"} --skip-tags package-install", "stderr": "", "identifier": "2cd9af53-b251-4baa-8b91-66156391e3dd"

Comment 2 Alfredo Deza 2016-03-16 19:37:09 UTC
@nishanth can you provide the actual request (the JSON payload) for the last output? (different than the initial one)

Comment 3 Andrew Schoen 2016-03-16 19:47:03 UTC
@nishanth I see that you're trying to set 'auth supported = cephx' in the second example. By default ceph-ansible will have already enabled cephx as the auth type.

You can see the ceph.conf template here: https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-common/templates/ceph.conf.j2

Comment 4 Nishanth Thomas 2016-03-17 03:34:40 UTC
Probably that may the reason why the second request failed attempted by Tejas failed. I will try again with the latest rpms and update the result

Comment 5 Tejas 2016-03-17 10:30:30 UTC
@Andrew during OSD configure for ceph 2.0 I am seeing a similar error as before.

sudo curl -X POST -d '{"devices": {"/dev/sdb":"/dev/sdb1"},"fsid": "c1554e1f-f91f-4019-a9df-89447ce08ebc","host": "magna083.ceph.redhat.com","journal_size": 10240,"cluster_network": "10.8.128.83/21","public_network": "10.8.128.83/21","redhat_storage": true,"monitors": [{"host": "magna082.ceph.redhat.com", "interface": "eno1"}],"verbose": false}' http://magna103.ceph.redhat.com:8181/api/osd/configure/


sudo curl -X GET http://magna103.ceph.redhat.com:8181/api/tasks/9ceec5e7-c0be-4124-b9e1-5a669ea29585/
{"endpoint": "/api/osd/configure/", "succeeded": false, "stdout": "\nPLAY [mons] ******************************************************************* \n\nGATHERING FACTS *************************************************************** \nok: [magna082.ceph.redhat.com]\n\nTASK: [ceph-fetch-keys | find ceph keys] ************************************** \nok: [magna082.ceph.redhat.com] => {\"changed\": false, \"cmd\": \"ls -1 /etc/ceph/*.keyring\", \"delta\": \"0:00:00.003402\", \"end\": \"2016-03-17 10:15:29.461931\", \"rc\": 0, \"start\": \"2016-03-17 10:15:29.458529\", \"stderr\": \"\", \"stdout\": \"/etc/ceph/ceph.client.admin.keyring\", \"stdout_lines\": [\"/etc/ceph/ceph.client.admin.keyring\"], \"warnings\": []}\n\nTASK: [ceph-fetch-keys | set keys permissions] ******************************** \nok: [magna082.ceph.redhat.com] => (item=/etc/ceph/ceph.client.admin.keyring) => {\"changed\": false, \"gid\": 0, \"group\": \"root\", \"item\": \"/etc/ceph/ceph.client.admin.keyring\", \"mode\": \"0600\", \"owner\": \"root\", \"path\": \"/etc/ceph/ceph.client.admin.keyring\", \"secontext\": \"unconfined_u:object_r:etc_t:s0\", \"size\": 63, \"state\": \"file\", \"uid\": 0}\n\nTASK: [ceph-fetch-keys | copy keys to the ansible server] ********************* \nok: [magna082.ceph.redhat.com] => (item=/etc/ceph/ceph.client.admin.keyring) => {\"changed\": false, \"checksum\": \"0534e3db674a7ed40b1e39f06d1d4f74a3dadb83\", \"dest\": \"/var/lib/ceph-installer/fetch/c1554e1f-f91f-4019-a9df-89447ce08ebc/etc/ceph/ceph.client.admin.keyring\", \"file\": \"/etc/ceph/ceph.client.admin.keyring\", \"item\": \"/etc/ceph/ceph.client.admin.keyring\", \"md5sum\": \"2199136d5d3f14c671427500e9986b9f\"}\nok: [magna082.ceph.redhat.com] => (item=/var/lib/ceph/bootstrap-osd/ceph.keyring) => {\"changed\": false, \"checksum\": \"83cec7e7ec79db5fb112b592d8edf063e2a33a7b\", \"dest\": \"/var/lib/ceph-installer/fetch/c1554e1f-f91f-4019-a9df-89447ce08ebc/var/lib/ceph/bootstrap-osd/ceph.keyring\", \"file\": \"/var/lib/ceph/bootstrap-osd/ceph.keyring\", \"item\": \"/var/lib/ceph/bootstrap-osd/ceph.keyring\", \"md5sum\": \"e10c5ca143ba09fee56b2918f96c9302\"}\nok: [magna082.ceph.redhat.com] => (item=/var/lib/ceph/bootstrap-rgw/ceph.keyring) => {\"changed\": false, \"checksum\": \"2238afeb95cc0ef312b16fa4c03508b61e78c097\", \"dest\": \"/var/lib/ceph-installer/fetch/c1554e1f-f91f-4019-a9df-89447ce08ebc/var/lib/ceph/bootstrap-rgw/ceph.keyring\", \"file\": \"/var/lib/ceph/bootstrap-rgw/ceph.keyring\", \"item\": \"/var/lib/ceph/bootstrap-rgw/ceph.keyring\", \"md5sum\": \"0db8c53fe18f97439d53b5a47eaf40da\"}\nok: [magna082.ceph.redhat.com] => (item=/var/lib/ceph/bootstrap-mds/ceph.keyring) => {\"changed\": false, \"checksum\": \"e2a899eff71a092dbea043b7c3840eddcfb010d9\", \"dest\": \"/var/lib/ceph-installer/fetch/c1554e1f-f91f-4019-a9df-89447ce08ebc/var/lib/ceph/bootstrap-mds/ceph.keyring\", \"file\": \"/var/lib/ceph/bootstrap-mds/ceph.keyring\", \"item\": \"/var/lib/ceph/bootstrap-mds/ceph.keyring\", \"md5sum\": \"2d83c54a7241cafd823e612d024c25fc\"}\n\nPLAY [osds] ******************************************************************* \n\nGATHERING FACTS *************************************************************** \nok: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported system] ************************* \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported architecture] ******************* \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported distribution] ******************* \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported distribution for red hat storage] *** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | fail on unsupported ansible version] **************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | make sure journal_size configured] ****************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | make sure monitor_interface configured] ************* \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | make sure cluster_network configured] *************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | make sure public_network configured] **************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | make sure an osd scenario was chosen] *************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | verify only one osd scenario was chosen] ************ \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | verify devices have been provided] ****************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | verify journal devices have been provided] ********** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | verify directories have been provided] ************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | check if nmap is installed] ************************* \nok: [magna083.ceph.redhat.com] => {\"changed\": false, \"cmd\": [\"command\", \"-v\", \"nmap\"], \"delta\": \"0:00:00.012531\", \"end\": \"2016-03-17 10:15:33.289952\", \"failed\": false, \"failed_when_result\": false, \"rc\": 1, \"start\": \"2016-03-17 10:15:33.277421\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}\n\nTASK: [ceph.ceph-common | inform that nmap is not present] ******************** \nok: [magna083.ceph.redhat.com] => {\n    \"msg\": \"nmap is not installed, can not test if ceph ports are allowed :(\"\n}\n\nTASK: [ceph.ceph-common | check if monitor port is not filtered] ************** \nskipping: [magna083.ceph.redhat.com] => (item=magna082.ceph.redhat.com)\n\nTASK: [ceph.ceph-common | fail if monitor port is filtered] ******************* \nskipping: [magna083.ceph.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | check if osd and mds range is not filtered] ********* \nskipping: [magna083.ceph.redhat.com] => (item=magna083.ceph.redhat.com)\n\nTASK: [ceph.ceph-common | fail if osd and mds range is filtered (osd hosts)] *** \nskipping: [magna083.ceph.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | check if osd and mds range is not filtered] ********* \nskipping: [magna083.ceph.redhat.com] => (item=groups.mdss)\n\nTASK: [ceph.ceph-common | fail if osd and mds range is filtered (mds hosts)] *** \nskipping: [magna083.ceph.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | check if rados gateway port is not filtered] ******** \nskipping: [magna083.ceph.redhat.com] => (item=groups.rgws)\n\nTASK: [ceph.ceph-common | fail if rados gateway port is filtered] ************* \nskipping: [magna083.ceph.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph.ceph-common | disable osd directory parsing by updatedb] ********** \nok: [magna083.ceph.redhat.com] => {\"changed\": false, \"cmd\": [\"updatedb\", \"-e\", \"/var/lib/ceph\"], \"delta\": \"0:00:03.601859\", \"end\": \"2016-03-17 10:15:37.246960\", \"failed\": false, \"failed_when_result\": false, \"rc\": 0, \"start\": \"2016-03-17 10:15:33.645101\", \"stderr\": \"\", \"stdout\": \"\", \"warnings\": []}\n\nTASK: [ceph.ceph-common | disable transparent hugepage] *********************** \nok: [magna083.ceph.redhat.com] => {\"changed\": false, \"cmd\": [\"echo\", \"never\", \">\", \"/sys/kernel/mm/transparent_hugepage/enabled\"], \"delta\": \"0:00:00.001993\", \"end\": \"2016-03-17 10:15:37.514036\", \"failed\": false, \"failed_when_result\": false, \"rc\": 0, \"start\": \"2016-03-17 10:15:37.512043\", \"stderr\": \"\", \"stdout\": \"never > /sys/kernel/mm/transparent_hugepage/enabled\", \"warnings\": []}\n\nTASK: [ceph.ceph-common | disable swap] *************************************** \nok: [magna083.ceph.redhat.com] => {\"changed\": false, \"cmd\": [\"swapoff\", \"-a\"], \"delta\": \"0:00:00.002455\", \"end\": \"2016-03-17 10:15:37.774179\", \"failed\": false, \"failed_when_result\": false, \"rc\": 0, \"start\": \"2016-03-17 10:15:37.771724\", \"stderr\": \"\", \"stdout\": \"\", \"warnings\": []}\n\nTASK: [ceph.ceph-common | get default vm.min_free_kbytes] ********************* \nok: [magna083.ceph.redhat.com] => {\"changed\": false, \"cmd\": [\"sysctl\", \"-b\", \"vm.min_free_kbytes\"], \"delta\": \"0:00:00.002668\", \"end\": \"2016-03-17 10:15:38.034704\", \"failed\": false, \"failed_when_result\": false, \"rc\": 0, \"start\": \"2016-03-17 10:15:38.032036\", \"stderr\": \"\", \"stdout\": \"67584\", \"stdout_lines\": [\"67584\"], \"warnings\": []}\n\nTASK: [ceph.ceph-common | define vm.min_free_kbytes] ************************** \nok: [magna083.ceph.redhat.com] => {\"ansible_facts\": {\"vm_min_free_kbytes\": \"67584\"}}\n\nTASK: [ceph.ceph-common | apply operating system tuning] ********************** \nchanged: [magna083.ceph.redhat.com] => (item={'name': 'kernel.pid_max', 'value': 4194303}) => {\"changed\": true, \"item\": {\"name\": \"kernel.pid_max\", \"value\": 4194303}}\nchanged: [magna083.ceph.redhat.com] => (item={'name': 'fs.file-max', 'value': 26234859}) => {\"changed\": true, \"item\": {\"name\": \"fs.file-max\", \"value\": 26234859}}\nchanged: [magna083.ceph.redhat.com] => (item={'name': 'vm.zone_reclaim_mode', 'value': 0}) => {\"changed\": true, \"item\": {\"name\": \"vm.zone_reclaim_mode\", \"value\": 0}}\nchanged: [magna083.ceph.redhat.com] => (item={'name': 'vm.vfs_cache_pressure', 'value': 50}) => {\"changed\": true, \"item\": {\"name\": \"vm.vfs_cache_pressure\", \"value\": 50}}\nchanged: [magna083.ceph.redhat.com] => (item={'name': 'vm.min_free_kbytes', 'value': u'67584'}) => {\"changed\": true, \"item\": {\"name\": \"vm.min_free_kbytes\", \"value\": \"67584\"}}\n\nTASK: [ceph.ceph-common | get ceph rhcs version] ****************************** \nok: [magna083.ceph.redhat.com] => {\"changed\": false, \"cmd\": \"rpm -q --qf \\\"%{version}\\\\n\\\" ceph-common | cut -f1,2 -d '.'\", \"delta\": \"0:00:00.051781\", \"end\": \"2016-03-17 10:15:39.690959\", \"failed\": false, \"failed_when_result\": false, \"rc\": 0, \"start\": \"2016-03-17 10:15:39.639178\", \"stderr\": \"\", \"stdout\": \"10.0\", \"stdout_lines\": [\"10.0\"], \"warnings\": [\"Consider using yum module rather than running rpm\"]}\n\nTASK: [ceph.ceph-common | set_fact is_ceph_infernalis={{ (ceph_stable and ceph_stable_release not in ceph_stable_releases) or (ceph_dev) or (ceph_stable_rh_storage and (rh_storage_version.stdout | version_compare('0.94', '>'))) }}] *** \nok: [magna083.ceph.redhat.com] => {\"ansible_facts\": {\"is_ceph_infernalis\": true}}\n\nTASK: [ceph.ceph-common | set_fact is_ceph_infernalis=True] ******************* \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nok: [magna083.ceph.redhat.com] => {\"ansible_facts\": {\"dir_group\": \"ceph\", \"dir_mode\": \"0755\", \"dir_owner\": \"ceph\"}}\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nok: [magna083.ceph.redhat.com] => {\"ansible_facts\": {\"key_group\": \"ceph\", \"key_mode\": \"0600\", \"key_owner\": \"ceph\"}}\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nok: [magna083.ceph.redhat.com] => {\"ansible_facts\": {\"activate_file_group\": \"ceph\", \"activate_file_mode\": \"0644\", \"activate_file_owner\": \"ceph\"}}\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph.ceph-common | set_fact ] ****************************************** \nok: [magna083.ceph.redhat.com] => {\"ansible_facts\": {\"rbd_client_dir_group\": \"ceph\", \"rbd_client_dir_mode\": \"0770\", \"rbd_client_dir_owner\": \"ceph\"}}\n\nTASK: [ceph.ceph-common | check for a ceph socket] **************************** \nok: [magna083.ceph.redhat.com] => {\"changed\": false, \"cmd\": \"stat /var/run/ceph/*.asok > /dev/null 2>&1\", \"delta\": \"0:00:00.003878\", \"end\": \"2016-03-17 10:15:40.054034\", \"failed\": false, \"failed_when_result\": false, \"rc\": 1, \"start\": \"2016-03-17 10:15:40.050156\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}\n\nTASK: [ceph.ceph-common | check for a rados gateway socket] ******************* \nok: [magna083.ceph.redhat.com] => {\"changed\": false, \"cmd\": \"stat /var/run/ceph/rbd-clients*.asok > /dev/null 2>&1\", \"delta\": \"0:00:00.003885\", \"end\": \"2016-03-17 10:15:40.315202\", \"failed\": false, \"failed_when_result\": false, \"rc\": 1, \"start\": \"2016-03-17 10:15:40.311317\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}\n\nTASK: [ceph.ceph-common | create a local fetch directory if it does not exist] *** \nok: [magna083.ceph.redhat.com -> 127.0.0.1] => {\"changed\": false, \"gid\": 987, \"group\": \"ceph-installer\", \"mode\": \"0755\", \"owner\": \"ceph-installer\", \"path\": \"/var/lib/ceph-installer/fetch\", \"secontext\": \"system_u:object_r:var_lib_t:s0\", \"size\": 4096, \"state\": \"directory\", \"uid\": 989}\n\nTASK: [ceph.ceph-common | generate cluster uuid] ****************************** \nok: [magna083.ceph.redhat.com -> 127.0.0.1] => {\"changed\": false, \"cmd\": \"python -c 'import uuid; print str(uuid.uuid4())' | tee /var/lib/ceph-installer/fetch/ceph_cluster_uuid.conf\", \"rc\": 0, \"stderr\": false, \"stdout\": \"skipped, since /var/lib/ceph-installer/fetch/ceph_cluster_uuid.conf exists\"}\n\nTASK: [ceph.ceph-common | read cluster uuid if it already exists] ************* \nok: [magna083.ceph.redhat.com -> 127.0.0.1] => {\"changed\": false, \"cmd\": [\"cat\", \"/var/lib/ceph-installer/fetch/ceph_cluster_uuid.conf\"], \"delta\": \"0:00:00.002100\", \"end\": \"2016-03-17 10:15:40.962702\", \"rc\": 0, \"start\": \"2016-03-17 10:15:40.960602\", \"stderr\": \"\", \"stdout\": \"5f971654-6bfe-41d3-a3d6-fcf107d1d0c7\", \"stdout_lines\": [\"5f971654-6bfe-41d3-a3d6-fcf107d1d0c7\"], \"warnings\": []}\n\nTASK: [ceph.ceph-common | create ceph conf directory] ************************* \nchanged: [magna083.ceph.redhat.com] => {\"changed\": true, \"gid\": 167, \"group\": \"ceph\", \"mode\": \"0755\", \"owner\": \"ceph\", \"path\": \"/etc/ceph\", \"secontext\": \"system_u:object_r:etc_t:s0\", \"size\": 4096, \"state\": \"directory\", \"uid\": 167}\n\nTASK: [ceph.ceph-common | generate ceph configuration file] ******************* \nchanged: [magna083.ceph.redhat.com] => {\"changed\": true, \"checksum\": \"34b5a3cb7e1948a1eab743e30dfdabbb3b2a3387\", \"dest\": \"/etc/ceph/ceph.conf\", \"gid\": 167, \"group\": \"ceph\", \"md5sum\": \"30b8bad28653f955f22172a292f76052\", \"mode\": \"0644\", \"owner\": \"ceph\", \"secontext\": \"system_u:object_r:etc_t:s0\", \"size\": 2839, \"src\": \"/home/ceph-installer/.ansible/tmp/ansible-tmp-1458209741.24-154907773781619/source\", \"state\": \"file\", \"uid\": 167}\n\nTASK: [ceph.ceph-common | create rbd client directory] ************************ \nchanged: [magna083.ceph.redhat.com] => {\"changed\": true, \"gid\": 167, \"group\": \"ceph\", \"mode\": \"0770\", \"owner\": \"ceph\", \"path\": \"/var/run/ceph/rbd-clients\", \"secontext\": \"unconfined_u:object_r:ceph_var_run_t:s0\", \"size\": 40, \"state\": \"directory\", \"uid\": 167}\n\nTASK: [ceph-osd | install dependencies] *************************************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph-osd | install dependencies] *************************************** \nok: [magna083.ceph.redhat.com] => {\"changed\": false, \"msg\": \"\", \"rc\": 0, \"results\": [\"parted-3.1-23.el7.x86_64 providing parted is already installed\"]}\n\nTASK: [ceph-osd | create bootstrap-osd directory] ***************************** \nchanged: [magna083.ceph.redhat.com] => {\"changed\": true, \"gid\": 167, \"group\": \"ceph\", \"mode\": \"0755\", \"owner\": \"ceph\", \"path\": \"/var/lib/ceph/bootstrap-osd/\", \"secontext\": \"system_u:object_r:ceph_var_lib_t:s0\", \"size\": 4096, \"state\": \"directory\", \"uid\": 167}\n\nTASK: [ceph-osd | copy osd bootstrap key] ************************************* \nchanged: [magna083.ceph.redhat.com] => (item={'name': '/var/lib/ceph/bootstrap-osd/ceph.keyring', 'copy_key': True}) => {\"changed\": true, \"checksum\": \"83cec7e7ec79db5fb112b592d8edf063e2a33a7b\", \"dest\": \"/var/lib/ceph/bootstrap-osd/ceph.keyring\", \"gid\": 167, \"group\": \"ceph\", \"item\": {\"copy_key\": true, \"name\": \"/var/lib/ceph/bootstrap-osd/ceph.keyring\"}, \"md5sum\": \"e10c5ca143ba09fee56b2918f96c9302\", \"mode\": \"0600\", \"owner\": \"ceph\", \"secontext\": \"system_u:object_r:ceph_var_lib_t:s0\", \"size\": 71, \"src\": \"/home/ceph-installer/.ansible/tmp/ansible-tmp-1458209743.91-224188162641475/source\", \"state\": \"file\", \"uid\": 167}\nskipping: [magna083.ceph.redhat.com] => (item={'name': '/etc/ceph/ceph.client.admin.keyring', 'copy_key': u'False'})\n\nTASK: [ceph-osd | check if the device is a partition] ************************* \nskipping: [magna083.ceph.redhat.com] => (item=/dev/sdb)\n\nTASK: [ceph-osd | check if the device is a partition (autodiscover disks)] **** \nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdd', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sda', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {u'sda1': {u'start': u'2048', u'sectorsize': 512, u'sectors': u'1953521664', u'size': u'931.51 GB'}}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdb', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdc', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\n\nTASK: [ceph-osd | combine ispartition results] ******************************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph-osd | check the partition status of the osd disks] **************** \nskipping: [magna083.ceph.redhat.com] => (item=/dev/sdb)\n\nTASK: [ceph-osd | check the partition status of the osd disks (autodiscover disks)] *** \nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdd', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sda', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {u'sda1': {u'start': u'2048', u'sectorsize': 512, u'sectors': u'1953521664', u'size': u'931.51 GB'}}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdb', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdc', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\n\nTASK: [ceph-osd | combine osd_partition_status results] *********************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph-osd | check the partition status of the journal devices] ********** \nskipping: [magna083.ceph.redhat.com] => (item=/dev/sdb1)\n\nTASK: [ceph-osd | fix partitions gpt header or labels of the osd disks] ******* \nskipping: [magna083.ceph.redhat.com] => (item=['combined_osd_partition_status_results.results', u'/dev/sdb'])\n\nTASK: [ceph-osd | fix partitions gpt header or labels of the osd disks (autodiscover disks)] *** \nskipping: [magna083.ceph.redhat.com] => (item=['combined_osd_partition_status_results.results', u'sdd'])\nskipping: [magna083.ceph.redhat.com] => (item=[None, u'sda'])\nskipping: [magna083.ceph.redhat.com] => (item=[None, u'sdb'])\nskipping: [magna083.ceph.redhat.com] => (item=[None, u'sdc'])\n\nTASK: [ceph-osd | fix partitions gpt header or labels of the journal devices] *** \nskipping: [magna083.ceph.redhat.com] => (item=[{u'skipped': True, u'changed': False}, u'/dev/sdb1'])\n\nTASK: [ceph-osd | check if a partition named 'ceph' exists] ******************* \nskipping: [magna083.ceph.redhat.com] => (item=/dev/sdb)\n\nTASK: [ceph-osd | check if a partition named 'ceph' exists (autodiscover disks)] *** \nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdd', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sda', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {u'sda1': {u'start': u'2048', u'sectorsize': 512, u'sectors': u'1953521664', u'size': u'931.51 GB'}}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdb', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdc', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\n\nTASK: [ceph-osd | combine parted results] ************************************* \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph-osd | automatic prepare osd disk(s) without partitions] *********** \nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdd', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sda', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {u'sda1': {u'start': u'2048', u'sectorsize': 512, u'sectors': u'1953521664', u'size': u'931.51 GB'}}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdb', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdc', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\n\nTASK: [ceph-osd | manually prepare osd disk(s)] ******************************* \nskipping: [magna083.ceph.redhat.com] => (item=['combined_parted_results.results', 'combined_ispartition_results.results', u'/dev/sdb'])\n\nTASK: [ceph-osd | automatically activate osd disk(s) without partitions] ****** \nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdd', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sda', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {u'sda1': {u'start': u'2048', u'sectorsize': 512, u'sectors': u'1953521664', u'size': u'931.51 GB'}}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdb', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdc', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\n\nTASK: [ceph-osd | activate osd(s) when device is a disk] ********************** \nskipping: [magna083.ceph.redhat.com] => (item=['combined_ispartition_results.results', u'/dev/sdb'])\n\nTASK: [ceph-osd | activate osd(s) when device is a partition] ***************** \nskipping: [magna083.ceph.redhat.com] => (item=['combined_ispartition_results.results', u'/dev/sdb'])\n\nTASK: [ceph-osd | get osd path] *********************************************** \nskipping: [magna083.ceph.redhat.com] => (item=/dev/sdb)\n\nTASK: [ceph-osd | get osd id] ************************************************* \nskipping: [magna083.ceph.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph-osd | create a ceph fragment and assemble directory] ************** \nskipping: [magna083.ceph.redhat.com] => (item=/etc/ceph/ceph.d/)\nskipping: [magna083.ceph.redhat.com] => (item=/etc/ceph/ceph.d/osd_fragments)\n\nTASK: [ceph-osd | create the osd fragment] ************************************ \nskipping: [magna083.ceph.redhat.com] => (item={u'skipped': True, u'changed': False})\n\nTASK: [ceph-osd | copy ceph.conf for assembling] ****************************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph-osd | assemble osd sections] ************************************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph-osd | assemble ceph conf and osd fragments] *********************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph-osd | start and add that the osd service(s) to the init sequence (before infernalis)] *** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph-osd | get osd id (for or after infernalis)] *********************** \nskipping: [magna083.ceph.redhat.com]\n\nTASK: [ceph-osd | enable osd service instance(s) (for or after infernalis)] *** \nskipping: [magna083.ceph.redhat.com] => (item=osd_id.stdout_lines)\n\nTASK: [ceph-osd | start and add that the osd service(s) to the init sequence (for or after infernalis)] *** \nskipping: [magna083.ceph.redhat.com] => (item=osd_id.stdout_lines)\n\nTASK: [ceph-osd | check if the device is a partition] ************************* \nok: [magna083.ceph.redhat.com] => (item=/dev/sdb) => {\"changed\": false, \"cmd\": \"echo '/dev/sdb' | 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.005092\", \"end\": \"2016-03-17 10:15:44.481344\", \"failed\": false, \"failed_when_result\": false, \"item\": \"/dev/sdb\", \"rc\": 1, \"start\": \"2016-03-17 10:15:44.476252\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}\n\nTASK: [ceph-osd | check if the device is a partition (autodiscover disks)] **** \nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdd', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sda', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {u'sda1': {u'start': u'2048', u'sectorsize': 512, u'sectors': u'1953521664', u'size': u'931.51 GB'}}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdb', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdc', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\n\nTASK: [ceph-osd | combine ispartition results] ******************************** \nok: [magna083.ceph.redhat.com] => {\"ansible_facts\": {\"combined_ispartition_results\": {\"changed\": false, \"msg\": \"All items completed\", \"results\": [{\"changed\": false, \"cmd\": \"echo '/dev/sdb' | 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.005092\", \"end\": \"2016-03-17 10:15:44.481344\", \"failed\": false, \"failed_when_result\": false, \"invocation\": {\"module_args\": \"echo '/dev/sdb' | 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_complex_args\": {}, \"module_name\": \"shell\"}, \"item\": \"/dev/sdb\", \"rc\": 1, \"start\": \"2016-03-17 10:15:44.476252\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}]}}}\n\nTASK: [ceph-osd | check the partition status of the osd disks] **************** \nok: [magna083.ceph.redhat.com] => (item=/dev/sdb) => {\"changed\": false, \"cmd\": \"parted --script /dev/sdb print > /dev/null 2>&1\", \"delta\": \"0:00:00.051688\", \"end\": \"2016-03-17 10:15:44.844687\", \"failed\": false, \"failed_when_result\": false, \"item\": \"/dev/sdb\", \"rc\": 0, \"start\": \"2016-03-17 10:15:44.792999\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}\n\nTASK: [ceph-osd | check the partition status of the osd disks (autodiscover disks)] *** \nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdd', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sda', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {u'sda1': {u'start': u'2048', u'sectorsize': 512, u'sectors': u'1953521664', u'size': u'931.51 GB'}}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdb', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\nskipping: [magna083.ceph.redhat.com] => (item={'key': u'sdc', 'value': {u'scheduler_mode': u'cfq', u'sectorsize': u'512', u'vendor': u'ATA', u'sectors': u'1953525168', u'host': u'SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 06)', u'rotational': u'1', u'removable': u'0', u'support_discard': u'0', u'model': u'Hitachi HUA72201', u'size': u'931.51 GB', u'holders': [], u'partitions': {}}})\n\nTASK: [ceph-osd | combine osd_partition_status results] *********************** \nok: [magna083.ceph.redhat.com] => {\"ansible_facts\": {\"combined_osd_partition_status_results\": {\"changed\": false, \"msg\": \"All items completed\", \"results\": [{\"changed\": false, \"cmd\": \"parted --script /dev/sdb print > /dev/null 2>&1\", \"delta\": \"0:00:00.051688\", \"end\": \"2016-03-17 10:15:44.844687\", \"failed\": false, \"failed_when_result\": false, \"invocation\": {\"module_args\": \"parted --script /dev/sdb print > /dev/null 2>&1\", \"module_complex_args\": {}, \"module_name\": \"shell\"}, \"item\": \"/dev/sdb\", \"rc\": 0, \"start\": \"2016-03-17 10:15:44.792999\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}]}}}\n\nTASK: [ceph-osd | check the partition status of the journal devices] ********** \nok: [magna083.ceph.redhat.com] => (item=/dev/sdb1) => {\"changed\": false, \"cmd\": \"parted --script /dev/sdb1 print > /dev/null 2>&1\", \"delta\": \"0:00:00.004926\", \"end\": \"2016-03-17 10:15:45.170006\", \"failed\": false, \"failed_when_result\": false, \"item\": \"/dev/sdb1\", \"rc\": 1, \"start\": \"2016-03-17 10:15:45.165080\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}\n\nTASK: [ceph-osd | fix partitions gpt header or labels of the osd disks] ******* \nskipping: [magna083.ceph.redhat.com] => (item=[{u'changed': False, u'end': u'2016-03-17 10:15:44.844687', 'failed': False, u'stdout': u'', u'cmd': u'parted --script /dev/sdb print > /dev/null 2>&1', u'rc': 0, u'start': u'2016-03-17 10:15:44.792999', 'item': u'/dev/sdb', u'warnings': [], u'delta': u'0:00:00.051688', 'invocation': {'module_name': u'shell', 'module_complex_args': {}, 'module_args': u'parted --script /dev/sdb print > /dev/null 2>&1'}, 'stdout_lines': [], 'failed_when_result': False, u'stderr': u''}, u'/dev/sdb'])\n\nTASK: [ceph-osd | fix partitions gpt header or labels of the osd disks (autodiscover disks)] *** \nskipping: [magna083.ceph.redhat.com] => (item=[{u'changed': False, u'end': u'2016-03-17 10:15:44.844687', 'failed': False, u'stdout': u'', u'cmd': u'parted --script /dev/sdb print > /dev/null 2>&1', u'rc': 0, u'start': u'2016-03-17 10:15:44.792999', 'item': u'/dev/sdb', u'warnings': [], u'delta': u'0:00:00.051688', 'invocation': {'module_name': u'shell', 'module_complex_args': {}, 'module_args': u'parted --script /dev/sdb print > /dev/null 2>&1'}, 'stdout_lines': [], 'failed_when_result': False, u'stderr': u''}, u'sdd'])\nskipping: [magna083.ceph.redhat.com] => (item=[None, u'sda'])\nskipping: [magna083.ceph.redhat.com] => (item=[None, u'sdb'])\nskipping: [magna083.ceph.redhat.com] => (item=[None, u'sdc'])\n\nTASK: [ceph-osd | fix partitions gpt header or labels of the journal devices] *** \nfailed: [magna083.ceph.redhat.com] => (item=[{u'cmd': u'parted --script /dev/sdb1 print > /dev/null 2>&1', u'end': u'2016-03-17 10:15:45.170006', u'stderr': u'', u'stdout': u'', 'item': u'/dev/sdb1', u'changed': False, u'rc': 1, 'failed': False, u'warnings': [], u'delta': u'0:00:00.004926', 'invocation': {'module_name': u'shell', 'module_complex_args': {}, 'module_args': u'parted --script /dev/sdb1 print > /dev/null 2>&1'}, 'stdout_lines': [], 'failed_when_result': False, u'start': u'2016-03-17 10:15:45.165080'}, u'/dev/sdb1']) => {\"changed\": false, \"cmd\": \"sgdisk --zap-all --clear --mbrtogpt -g -- /dev/sdb1\", \"delta\": \"0:00:00.094494\", \"end\": \"2016-03-17 10:15:45.585553\", \"item\": [{\"changed\": false, \"cmd\": \"parted --script /dev/sdb1 print > /dev/null 2>&1\", \"delta\": \"0:00:00.004926\", \"end\": \"2016-03-17 10:15:45.170006\", \"failed\": false, \"failed_when_result\": false, \"invocation\": {\"module_args\": \"parted --script /dev/sdb1 print > /dev/null 2>&1\", \"module_complex_args\": {}, \"module_name\": \"shell\"}, \"item\": \"/dev/sdb1\", \"rc\": 1, \"start\": \"2016-03-17 10:15:45.165080\", \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}, \"/dev/sdb1\"], \"rc\": 3, \"start\": \"2016-03-17 10:15:45.491059\", \"warnings\": []}\nstderr: Problem opening /dev/sdb1 for reading! Error is 2.\nThe specified file does not exist!\nProblem opening '' for writing! Program will now terminate.\nWarning! MBR not overwritten! Error is 2!\nstdout: Information: Creating fresh partition table; will override earlier problems!\nNon-GPT disk; not saving changes. Use -g to override.\n\nFATAL: all hosts have already failed -- aborting\n\nPLAY RECAP ******************************************************************** \n           to retry, use: --limit @/var/lib/ceph-installer/osd-configure.retry\n\nmagna082.ceph.redhat.com   : ok=4    changed=0    unreachable=0    failed=0   \nmagna083.ceph.redhat.com   : ok=64   changed=6    unreachable=0    failed=1   \n\n", "started": "2016-03-17 10:15:27.429962", "exit_code": 2, "ended": "2016-03-17 10:15:45.980838", "command": "/bin/ansible-playbook -v -u ceph-installer /usr/share/ceph-ansible/osd-configure.yml -i /tmp/9ceec5e7-c0be-4124-b9e1-5a669ea29585_MVgFlr --extra-vars {\"raw_journal_devices\": [\"/dev/sdb1\"], \"devices\": [\"/dev/sdb\"], \"ceph_stable_rh_storage_cdn_install\": true, \"public_network\": \"10.8.128.83/21\", \"fetch_directory\": \"/var/lib/ceph-installer/fetch\", \"cluster_network\": \"10.8.128.83/21\", \"journal_size\": 10240, \"raw_multi_journal\": true, \"fsid\": \"c1554e1f-f91f-4019-a9df-89447ce08ebc\", \"ceph_stable_rh_storage\": true} --skip-tags package-install", "stderr": "", "identifier": "9ceec5e7-c0be-4124-b9e1-5a669ea29585"}

Comment 6 Alfredo Deza 2016-03-21 13:08:02 UTC
@Tejas, you are trying to "collocate" the journal and the OSD (both on the same device).

From your request:

    "devices": {"/dev/sdb":"/dev/sdb1"}


**This is not supported**.

Please use one journal *device* for an OSD. For examples please see:

http://docs.ceph.com/ceph-installer/docs/#journals

Comment 7 Tejas 2016-03-22 08:56:21 UTC
@Alfredo, Thanks I was able to configure the OSD.

Comment 8 Alfredo Deza 2016-03-22 13:05:33 UTC
This doesn't look like a valid issue now. @Tejas or @Nishanth, can you close this issue?

Comment 9 Red Hat Bugzilla 2023-09-14 03:19:37 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.