unmounted_disks might wrongly skip the "/dev/sdm"

Bug #1848000 reported by dongdong tao
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charms.ceph
Fix Released
Undecided
dongdong tao

Bug Description

The function unmounted_disks is trying to list all the unmounted disks except those special disks(dm/loop/ram/nbd devices)

But when it tries to skip those dm devices, it also wrongly skipped the normal disk "/dev/sdm", because sdm also contains string "dm".

Tags: sts
Revision history for this message
dongdong tao (taodd) wrote :
dongdong tao (taodd)
Changed in charms.ceph:
assignee: nobody → dongdong tao (taodd)
tags: added: sts
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charms.ceph (master)

Reviewed: https://review.opendev.org/688386
Committed: https://git.openstack.org/cgit/openstack/charms.ceph/commit/?id=740eadcde534cca1f780959b8589ecec47e2a6bf
Submitter: Zuul
Branch: master

commit 740eadcde534cca1f780959b8589ecec47e2a6bf
Author: taodd <email address hidden>
Date: Mon Oct 14 19:12:26 2019 +0800

    Let unmounted_disks not skipping device "/dev/sdm"

    Change-Id: I7bf90531fe5bb01ff47cdeff879b5f72fd227855
    Closes-Bug: #1848000

Changed in charms.ceph:
status: New → Fix Released
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.