Thanks Alfredo, This is what i am trying to do with ceph-ansible v3.1 and getting following error, where i am wrong? --- osd_objectstore: bluestore osd_scenario: lvm lvm_volumes: - data: /dev/sdb TASK [ceph-osd : include scenarios/lvm.yml] ***************************************************************************************************************** Saturday 28 July 2018 17:17:18 -0400 (0:00:00.082) 0:11:08.249 ********* fatal: [osd3]: FAILED! => {"failed": true, "reason": "no action detected in task. This often indicates a misspelled module name, or incorrect module path.\n\nThe error appears to have been in '/etc/ansible/roles/ceph-ansible/roles/ceph-osd/tasks/scenarios/lvm.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: \"use ceph-volume to create {{ osd_objectstore }} osds\"\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be written as:\n\n with_items:\n - \"{{ foo }}\"\n\n\nThe error appears to have been in '/etc/ansible/roles/ceph-ansible/roles/ceph-osd/tasks/scenarios/lvm.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: \"use ceph-volume to create {{ osd_objectstore }} osds\"\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be written as:\n\n with_items:\n - \"{{ foo }}\"\n\nexception type: <class 'ansible.errors.AnsibleParserError'>\nexception: no action detected in task. This often indicates a misspelled module name, or incorrect module path.\n\nThe error appears to have been in '/etc/ansible/roles/ceph-ansible/roles/ceph-osd/tasks/scenarios/lvm.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: \"use ceph-volume to create {{ osd_objectstore }} osds\"\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be written as:\n\n with_items:\n - \"{{ foo }}\"\n"} On Mon, Jul 30, 2018 at 1:11 PM, Alfredo Deza <adeza@xxxxxxxxxx> wrote: > On Sat, Jul 28, 2018 at 12:44 AM, Satish Patel <satish.txt@xxxxxxxxx> wrote: >> I have simple question i want to use LVM with bluestore (Its >> recommended method), If i have only single SSD disk for osd in that >> case i want to keep journal + data on same disk so how should i create >> lvm to accommodate ? > > bluestore doesn't have a journal like filestore, but probably you mean > block.db ? The naming conventions are different. > > In the case of bluestore, what you are describing doesn't require to > have split LVs for each OSD component. You can simply do this: > > ceph-volume lvm create --bluestore --data /dev/sdb > > Behind the scenes, ceph-volume will create the vg/lv for /dev/sdb and > get everything working > >> >> Do i need to do following >> >> pvcreate /dev/sdb >> vgcreate vg0 /dev/sdb >> >> Now i have vg(500GB) so i will create two lv-01 (10G Journal) and >> lv-02 (490GB Data) >> >> I am doing correct? >> _______________________________________________ >> ceph-users mailing list >> ceph-users@xxxxxxxxxxxxxx >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com