Bug 1834353

Summary: Libdevmapper fails with "Device %s not found" when calling dm_task_set_name()
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Michal Privoznik <mprivozn>
Component: libvirtAssignee: Michal Privoznik <mprivozn>
Status: CLOSED ERRATA QA Contact: Han Han <hhan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: agk, heinzm, hhan, jbrassow, jdenemar, jsuchane, lmen, mprivozn, msnitzer, prajnoha, virt-maint, xuzhang, yalzhang, zkabelac
Target Milestone: rcKeywords: Upstream
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-6.0.0-20.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1823976 Environment:
Last Closed: 2020-07-28 07:12:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1823976    
Bug Blocks:    

Comment 4 Han Han 2020-06-09 03:36:55 UTC
Verified on qemu-kvm-4.2.0-23.module+el8.2.1+6917+927fbb44.x86_64
libvirt-6.0.0-23.module+el8.2.1+6955+1e1fca42.x86_64

Steps:
➜  ~ dmsetup create --table '0 10240 zero' loop0
➜  ~ virsh destroy pc
Domain pc destroyed

➜  ~ qemu-img create /tmp/raw 100M
Formatting '/tmp/raw', fmt=raw size=104857600
➜  ~ losetup /dev/loop0 /tmp/raw
➜  ~ virsh attach-disk pc /tmp/raw sdb --config
Disk attached successfully

➜  ~ virsh start pc
Domain pc started

➜  ~ virsh destroy pc
Domain pc destroyed

VM started with loop device loop0 while dm loops exists.

Comment 6 errata-xmlrpc 2020-07-28 07:12:15 UTC
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-2020:3172