Bug ID 1037533
Summary Latest kpartx (0.6.2+suse20170412.35e16a42-2.4.1) fails to delete partition mappings
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.2
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter aduffeck@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

After the latest kpartx update in 42.2 our script fails because kpartx fails to
clean up properly.

Here are some logs showing the problem and that downgrading resolves that
issue:

ee5a552e78fc:/opt/bosh # losetup -a
/dev/loop0: [2054]:1442632 (/var/lib/docker/devicemapper/devicemapper/data)
/dev/loop1: [2054]:1442633 (/var/lib/docker/devicemapper/devicemapper/metadata)
/dev/loop2: [65025]:433394
(/mnt/stemcells/openstack/kvm/opensuse/work/work/openstack-kvm-opensuse.raw)
/dev/loop3: [65025]:433394
(/mnt/stemcells/openstack/kvm/opensuse/work/work/openstack-kvm-opensuse.raw)
/dev/loop4: [65025]:433394
(/mnt/stemcells/openstack/kvm/opensuse/work/work/openstack-kvm-opensuse.raw)
ee5a552e78fc:/opt/bosh # kpartx -dv /dev/loop4
device-mapper: table ioctl on loop4 failed: No such device or address
ee5a552e78fc:/opt/bosh # zypper se -s kpartx
Loading repository data...
Reading installed packages...
z
S | Name   | Type    | Version                           | Arch   | Repository
--+--------+---------+-----------------------------------+--------+-----------
i | kpartx | package | 0.6.2+suse20170412.35e16a42-2.4.1 | x86_64 | OSS Update
v | kpartx | package | 0.6.2+suse20161025.b80f406-1.1    | x86_64 | OSS       
ee5a552e78fc:/opt/bosh # zypper in --oldpackage
kpartx=0.6.2+suse20161025.b80f406-1.1
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following package is going to be downgraded:
  kpartx

1 package to downgrade.
Overall download size: 47.9 KiB. Already cached: 0 B. After the operation, 8.0
B will be freed.
Continue? [y/n/...? shows all options] (y): 
Retrieving package kpartx-0.6.2+suse20161025.b80f406-1.1.x86_64                
                                                                               
                                                                         (1/1),
 47.9 KiB ( 43.7 KiB unpacked)
Retrieving: kpartx-0.6.2+suse20161025.b80f406-1.1.x86_64.rpm
...........................................................................................................................................................................................................[done]
Checking for file conflicts:
...........................................................................................................................................................................................................................................[done]
(1/1) Installing: kpartx-0.6.2+suse20161025.b80f406-1.1.x86_64
.........................................................................................................................................................................................................[done]
ee5a552e78fc:/opt/bosh # kpartx -dv /dev/loop4
del devmap : loop4p1


You are receiving this mail because: