Created attachment 1350437[details]
Contains all.yml,osd.yml,inventory and ansible logs
Description of problem:
ceph-ansible is looking for loop device on ubuntu for OSD and getting the failure
Version-Release number of selected component (if applicable):
1-ceph-ansible 3.0.9-2
2-Ubuntu 16.04.3 LTS
How reproducible:
always
Steps to Reproduce:
1.configure all.yml as per doc
2.in osd.yml set osd_auto_discovery: true and osd_scenerio: collocated
Actual results:
"stderr": "create_partition: refusing to create journal on /dev/loop0\ncreate_partition: journal size (5120M) is bigger than device (0M)\nceph-disk: Error: /dev/loop0 device size (0M) is not big enough for journal",
"stderr_lines": [
"create_partition: refusing to create journal on /dev/loop0",
"create_partition: journal size (5120M) is bigger than device (0M)",
"ceph-disk: Error: /dev/loop0 device size (0M) is not big enough for journal"
Expected results:
Cluster installation must be successfull
Additional info:
1.tries running ansible after removing loop devices with with OSError: [Errno 2] No such file or directory: '/dev/loop0'"
2.running playbook on RHEL with creating loop devices playbook was successfull
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2017:3387
Comment 18Red Hat Bugzilla
2023-09-14 04:11:38 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days
Created attachment 1350437 [details] Contains all.yml,osd.yml,inventory and ansible logs Description of problem: ceph-ansible is looking for loop device on ubuntu for OSD and getting the failure Version-Release number of selected component (if applicable): 1-ceph-ansible 3.0.9-2 2-Ubuntu 16.04.3 LTS How reproducible: always Steps to Reproduce: 1.configure all.yml as per doc 2.in osd.yml set osd_auto_discovery: true and osd_scenerio: collocated Actual results: "stderr": "create_partition: refusing to create journal on /dev/loop0\ncreate_partition: journal size (5120M) is bigger than device (0M)\nceph-disk: Error: /dev/loop0 device size (0M) is not big enough for journal", "stderr_lines": [ "create_partition: refusing to create journal on /dev/loop0", "create_partition: journal size (5120M) is bigger than device (0M)", "ceph-disk: Error: /dev/loop0 device size (0M) is not big enough for journal" Expected results: Cluster installation must be successfull Additional info: 1.tries running ansible after removing loop devices with with OSError: [Errno 2] No such file or directory: '/dev/loop0'" 2.running playbook on RHEL with creating loop devices playbook was successfull