cinder volume multipath device detaching failed and mounted to /boot/efi incorrectly

Solution Verified - Updated -

Issue

When deleting nova instance, multipath flushing failed because of map in use:

2023-10-16 12:02:51.038 7 WARNING os_brick.exception [req-xxx - default default] Flushing 3600xxxxxx failed: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
2023-10-16 12:02:51.039 7 WARNING nova.virt.libvirt.driver [req-xxx - default default] [instance: AAAA] Ignoring Volume Error on vol BBBB during delete Unexpected error while running command.
Command: multipath -f 3600xxxxxx
Exit code: 1
Stdout: ''
Stderr: 'Oct 16 12:02:11 | 3600xxxxxxp2: map in use\n': oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.

And from output of command lsblk, multipath 3600xxxxxxp2 is mounted on /boot/efi incorrectly.

[root@dpdkcompute-4 ~]# lsblk
NAME                                    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                                       8:0    0 893.8G  0 disk
├─sda1                                    8:1    0     1M  0 part
├─sda2                                    8:2    0   100M  0 part
├─sda3                                    8:3    0 893.6G  0 part  /
└─sda4                                    8:4    0    64M  0 part
sdb                                      65:16   0    20G  0 disk
├─sdb1                                   65:17   0     1M  0 part
├─sdb2                                   65:18   0   100M  0 part
├─sdb3                                   65:19   0   9.9G  0 part
└─3600xxxxxx     253:4    0    20G  0 mpath
  ├─3600xxxxxxp1 253:5    0     1M  0 part
  ├─3600xxxxxxp2 253:6    0   100M  0 part  /boot/efi
  └─3600xxxxxxp3 253:7    0  19.9G  0 part
sdc                                      65:32   0    20G  0 disk
├─sdc1                                   65:33   0     1M  0 part
├─sdc2                                   65:34   0   100M  0 part
├─sdc3                                   65:35   0   9.9G  0 part
└─3600xxxxxx     253:4    0    20G  0 mpath
  ├─3600xxxxxxp1 253:5    0     1M  0 part
  ├─3600xxxxxxp2 253:6    0   100M  0 part  /boot/efi
  └─3600xxxxxxp3 253:7    0  19.9G  0 part
sdd                                      65:48   0    20G  0 disk
├─sdd1                                   65:49   0     1M  0 part
├─sdd2                                   65:50   0   100M  0 part
├─sdd3                                   65:51   0   9.9G  0 part
└─3600xxxxxx     253:4    0    20G  0 mpath
  ├─3600xxxxxxp1 253:5    0     1M  0 part
  ├─3600xxxxxxp2 253:6    0   100M  0 part  /boot/efi
  └─3600xxxxxxp3 253:7    0  19.9G  0 part
sde                                      65:64   0    20G  0 disk
├─sde1                                   65:65   0     1M  0 part
├─sde2                                   65:66   0   100M  0 part
├─sde3                                   65:67   0   9.9G  0 part
└─3600xxxxxx     253:4    0    20G  0 mpath
  ├─3600xxxxxxp1 253:5    0     1M  0 part
  ├─3600xxxxxxp2 253:6    0   100M  0 part  /boot/efi
  └─3600xxxxxxp3 253:7    0  19.9G  0 part

Environment

  • Red Hat OpenStack Platform 16.2
  • NetApp iSCSI cinder backend
  • multipath is enabled with volume_use_multipath=True in nova.conf

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content