Can't attach NVMe volumes

Bug #1945323 reported by Ivan Kolodyazhny
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
os-brick
Fix Released
Critical
Vladislav Belogrudov
Xena
Fix Committed
Critical
Vladislav Belogrudov
Yoga
Fix Released
Critical
Unassigned

Bug Description

With the latest os-brick release NVMe volume attach is broken on nova master branch

Changed in nova:
status: New → In Progress
Revision history for this message
Abdallah Yasin (abdysn) wrote :

deploying nvme with [1] and trying to attach volumes to vms causes [2]
patch [3] fixes the issue

[1] https://paste.openstack.org/show/809648/
[2] https://paste.openstack.org/show/809647/
[3] https://review.opendev.org/c/openstack/nova/+/811413

Revision history for this message
Lee Yarwood (lyarwood) wrote :

Adding os-brick as I'm not entirely convinced this isn't an issue with the https://review.opendev.org/c/openstack/os-brick/+/800014 fix itself.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to nova (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/811447

tags: added: attach nvme volume
Changed in os-brick:
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Lee Yarwood (lyarwood) wrote :

Did you mean to move this to Fix Committed for os-brick?

The last patch to land in os-brick was the one that *introduced* the regression:

https://review.opendev.org/c/openstack/os-brick/+/800014/7/os_brick/initiator/connectors/nvmeof.py#199

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/+/811886

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by "Ivan Kolodyazhny <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/nova/+/811413
Reason: Will be fixed by https://review.opendev.org/c/openstack/os-brick/+/811886

Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :
Changed in os-brick:
status: Fix Committed → In Progress
importance: Medium → Critical
milestone: none → 5.0.1
Changed in os-brick:
assignee: nobody → Vladislav Belogrudov (vlad-belogrudov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-brick (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/os-brick/+/812010

Lee Yarwood (lyarwood)
no longer affects: nova
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-brick (master)

Reviewed: https://review.opendev.org/c/openstack/os-brick/+/811944
Committed: https://opendev.org/openstack/os-brick/commit/dd90bb6356d05a7b12198e77418befc1acc87c11
Submitter: "Zuul (22348)"
Branch: master

commit dd90bb6356d05a7b12198e77418befc1acc87c11
Author: Vladislav Belogrudov <email address hidden>
Date: Thu Sep 30 12:40:25 2021 +0300

    Fix paths for NVMe devices (non-nguid)

    Fixed regression introduced by
    https://review.opendev.org/c/openstack/os-brick/+/800014, where
    connect_volume method returned a list with a single path instead of
    just the path.

    Closes-Bug: #1945323
    Change-Id: I5e5b13dd73ab8d30439de76dd73eb41b763e7f05

Changed in os-brick:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-brick (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/os-brick/+/812010
Committed: https://opendev.org/openstack/os-brick/commit/36f12c05a75950f8214b5504c972b98edc63cdd7
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 36f12c05a75950f8214b5504c972b98edc63cdd7
Author: Vladislav Belogrudov <email address hidden>
Date: Thu Sep 30 12:40:25 2021 +0300

    Fix paths for NVMe devices (non-nguid)

    Fixed regression introduced by
    https://review.opendev.org/c/openstack/os-brick/+/800014, where
    connect_volume method returned a list with a single path instead of
    just the path.

    Closes-Bug: #1945323
    Change-Id: I5e5b13dd73ab8d30439de76dd73eb41b763e7f05
    (cherry picked from commit dd90bb6356d05a7b12198e77418befc1acc87c11)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-brick 5.0.1

This issue was fixed in the openstack/os-brick 5.0.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-brick 5.1.0

This issue was fixed in the openstack/os-brick 5.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-brick (master)

Change abandoned by "Brian Rosmaita <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/os-brick/+/811886
Reason: superseded by https://review.opendev.org/c/openstack/os-brick/+/811944

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.