Juju fails to find/open /dev/vdb in ceph-osd units

Bug #1842498 reported by Camille Rodriguez
6
This bug affects 1 person
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_when_non_pristine_disk_appears (in zaza/openstack/charm_tests/ceph/tests.py), it appears that ceph-osd deployed with the disco series does not detect the non-pristine disk.

The expected workload/status would be
'workload-status': 'blocked','workload-status-message': 'Non-pristine

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://review.opendev.org/#/c/678647/ https://review.opendev.org/#/c/678648/

https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-ceph-mon/678647/1/3780/index.html

Revision history for this message
Camille Rodriguez (camille.rodriguez) wrote :
Revision history for this message
Camille Rodriguez (camille.rodriguez) wrote :

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.

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
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Setting to incomplete as this is probably a test environment issue, rather than a charm issue; there have been and continue to be changes in juju to resolve this; please reset to new if the problem re-occurs.

Changed in charm-ceph-mon:
status: New → Incomplete
Changed in charm-ceph-osd:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack ceph-osd charm because there has been no activity for 60 days.]

Changed in charm-ceph-osd:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack ceph-mon charm because there has been no activity for 60 days.]

Changed in charm-ceph-mon:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.