Juju fails to find/open /dev/vdb in ceph-osd units
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
Expired
|
Undecided
|
Unassigned | ||
Ceph OSD Charm |
Expired
|
Undecided
|
Unassigned |
Bug Description
When running the test test_blocked_
The expected workload/status would be
'workload-status': 'blocked'
But the ceph-osd actually goes into error with hook-failed "config-changed".
In ceph-osd/0:
2019-09-03 14:34:20 DEBUG config-changed partx: /dev/vdb: failed to read partition table
2019-09-03 14:34:20 INFO juju-log Can't get info for /dev/vdb: b''
2019-09-03 14:34:20 DEBUG config-changed Failed to find physical volume "/dev/vdb".
2019-09-03 14:34:21 DEBUG config-changed Failed to find physical volume "/dev/vdb".
2019-09-03 14:34:21 DEBUG config-changed Can't open /dev/vdb exclusively. Mounted filesystem?
See also sos-report attached to this bug.
This has been hit in OSCI for charm-ceph-mon and charm-ceph-osd. i.e https:/
summary: |
- ceph-osd goes into error when testing non-pristine disks for Disco - Series + Juju fails to find/open /dev/vdb in ceph-osd |
summary: |
- Juju fails to find/open /dev/vdb in ceph-osd + Juju fails to find/open /dev/vdb in ceph-osd units |
I recommend to un-duplicate these bugs, since here, the issue occurs during the non-pristine test, but the issue is with juju being unable to find /dev/vdb, while the bug #1840836 is actually a failure with non-pristine devices being detected.