When using non lvm scenarios (collocated or non-collocated) then the
disk_list variable isn't set because this is done during the ceph-osd
role (start_osds.yml) which isn't executed in the docker2podman
playbook.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1862046
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
tasks_from: systemd.yml
when: inventory_hostname in groups.get(nfs_group_name, [])
+ - name: set_fact disk_list
+ set_fact:
+ disk_list:
+ rc: 0
+ when:
+ - inventory_hostname in groups.get(osd_group_name, [])
+ - osd_scenario != 'lvm'
+
- import_role:
name: ceph-osd
tasks_from: systemd.yml
+++ /dev/null
----
-osd_objectstore: "bluestore"
-osd_scenario: lvm
-devices:
- - /dev/sda
- - /dev/sdb
- - /dev/sdc
\ No newline at end of file
--- /dev/null
+---
+osd_objectstore: "bluestore"
+osd_scenario: lvm
+devices:
+ - /dev/sda
+ - /dev/sdb
+ - /dev/sdc
\ No newline at end of file
--- /dev/null
+---
+osd_objectstore: "bluestore"
+osd_scenario: collocated
+devices:
+ - /dev/sda
+ - /dev/sdb
+ - /dev/sdc
[osds]
osd0
+osd1
[mgrs]
mon0
# DEFINE THE NUMBER OF VMS TO RUN
mon_vms: 1
-osd_vms: 1
+osd_vms: 2
mds_vms: 0
rgw_vms: 1
nfs_vms: 1