multipath -l <device_name> is failing

Bug #1955020 reported by Rajat Dhasmana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-brick
In Progress
Medium
Rajat Dhasmana

Bug Description

While creating instance from bootable volume, during attaching the volume, after the export and map, we try to find multipath for the discovered device.

when we don't find any multipath device in the following paths:

1) /dev/disk/by-id/dm-uuid-mpath-<WWID>
2) /dev/mapper/<WWID>

we try to execute ``multipath -l <device_name>`` which fails

2021-12-14 15:28:50.120 158 DEBUG oslo_concurrency.processutils [-] Running cmd (subprocess): multipath -l /dev/sdx execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372
2021-12-14 15:28:50.222 158 DEBUG oslo_concurrency.processutils [-] CMD** "multipath -l /dev/sdx" returned: 1** in 0.102s execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409
2021-12-14 15:28:50.222 158 DEBUG oslo_concurrency.processutils [-] u'multipath -l /dev/sdx' failed. Not Retrying. execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:457

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-brick (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/os-brick/+/821955

Changed in os-brick:
status: New → In Progress
Revision history for this message
Rajat Dhasmana (whoami-rajat) wrote :
Changed in os-brick:
assignee: nobody → Rajat Dhasmana (whoami-rajat)
tags: added: attach bootable multipatch volume
Changed in os-brick:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-brick (master)

Change abandoned by "Rajat Dhasmana <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/os-brick/+/821955
Reason: not needed

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.