Comment 10 for bug 1878752

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to charm-ceph-osd (master)

Reviewed: https://review.opendev.org/728488
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=b1aab5d0e12e433b714e39f78945baf16e508a41
Submitter: Zuul
Branch: master

commit b1aab5d0e12e433b714e39f78945baf16e508a41
Author: James Page <email address hidden>
Date: Fri May 15 17:00:25 2020 +0100

    Trigger udev rescan if pv_dev disappears

    Workaround for kernel by in Ubuntu 20.04 LTS.

    When using by-dname device paths with MAAS and bcache, the pvcreate
    operation results in the by-dname entry for the block device being
    deleted. The subsequent vgcreate then fails as the path cannot
    be found.

    Trigger a rescan of block devices if the pv_dev path does not
    exists after the pvcreate operation.

    Change-Id: If7e11f6bd1effd2d5fc2dc5abbaba6865104006f
    Depends-On: Ifb16c47ae5ff316cbcfc3798de3446a3774fa012
    Related-Bug: 1878752