cinder error nvme executable missing on rocky linux

Bug #2024390 reported by Antony Messerli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Maksim Malchuk
Antelope
Fix Released
Medium
Maksim Malchuk
Wallaby
Fix Released
Medium
Maksim Malchuk
Xena
Fix Released
Medium
Maksim Malchuk
Yoga
Fix Released
Medium
Maksim Malchuk
Zed
Fix Released
Medium
Maksim Malchuk

Bug Description

In looking at the logs on Rocky Linux 9, I noticed that nvme package is missing in cinder-volume:

2023-06-19 00:25:48.795 243 WARNING os_brick.privileged.nvmeof [-] Could not generate host nqn: [Errno 2] No such file or directory: 'nvme'

Installing nvme-cli into the container removes the error.

**Environment**: kolla-ansible
* OS (e.g. from /etc/os-release): Rocky 9
* Kernel (e.g. `uname -a`): 5.14.0-162.6.1.el9_1.x86_64
* Docker version if applicable (e.g. `docker version`):
Client: Docker Engine - Community
 Version: 23.0.5
 API version: 1.42
 Go version: go1.19.8
 Git commit: bc4487a
 Built: Wed Apr 26 16:20:15 2023
 OS/Arch: linux/amd64
 Context: default

Server: Docker Engine - Community
 Engine:
  Version: 23.0.5
  API version: 1.42 (minimum version 1.12)
  Go version: go1.19.8
  Git commit: 94d3ad6
  Built: Wed Apr 26 16:17:08 2023
  OS/Arch: linux/amd64
  Experimental: false
 containerd:
  Version: 1.6.20
  GitCommit: 2806fc1057397dbaeefbea0e4e17bddfbd388f38
 runc:
  Version: 1.1.5
  GitCommit: v1.1.5-0-gf19387a
 docker-init:
  Version: 0.19.0
  GitCommit: de40ad0

* Kolla version (e.g. `git head or tag or stable branch` or pip package version if using release): stable/zed

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/kolla/+/886425

Changed in kolla:
status: New → In Progress
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

really don't know why we need https://review.opendev.org/c/openstack/kolla/+/592362
because we need the 'nvme-cli' not 'nvmetcli' which is for nvmet (NVMe over Fabrics)

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

update: nvmetcli also needed, for another case. and we don't have the binary in ubuntu/debian. lets fix this when needed.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/886425
Committed: https://opendev.org/openstack/kolla/commit/11f90f3746f6affd34885019a82eb94d3c098ee9
Submitter: "Zuul (22348)"
Branch: master

commit 11f90f3746f6affd34885019a82eb94d3c098ee9
Author: Maksim Malchuk <email address hidden>
Date: Mon Jun 19 21:14:11 2023 +0300

    Fix cinder-volume: add missing nvme-cli rpm package

    Closes-Bug: #2024390
    Change-Id: I84c7633765749a5e9ced983505ef290c32154ccc
    Signed-off-by: Maksim Malchuk <email address hidden>

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/kolla/+/886511

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/kolla/+/886512

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/kolla/+/886513

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/kolla/+/886514

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/kolla/+/886515

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/886513
Committed: https://opendev.org/openstack/kolla/commit/75f9186288e6410935d19f430394410289ecb63b
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 75f9186288e6410935d19f430394410289ecb63b
Author: Maksim Malchuk <email address hidden>
Date: Mon Jun 19 21:14:11 2023 +0300

    Fix cinder-volume: add missing nvme-cli rpm package

    Closes-Bug: #2024390
    Change-Id: I84c7633765749a5e9ced983505ef290c32154ccc
    Signed-off-by: Maksim Malchuk <email address hidden>
    (cherry picked from commit 11f90f3746f6affd34885019a82eb94d3c098ee9)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/886514
Committed: https://opendev.org/openstack/kolla/commit/fb41d37463c53526fedfd8bb99d558c23e3a2031
Submitter: "Zuul (22348)"
Branch: stable/xena

commit fb41d37463c53526fedfd8bb99d558c23e3a2031
Author: Maksim Malchuk <email address hidden>
Date: Mon Jun 19 21:14:11 2023 +0300

    Fix cinder-volume: add missing nvme-cli rpm package

    Closes-Bug: #2024390
    Change-Id: I84c7633765749a5e9ced983505ef290c32154ccc
    Signed-off-by: Maksim Malchuk <email address hidden>
    (cherry picked from commit 11f90f3746f6affd34885019a82eb94d3c098ee9)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/886512
Committed: https://opendev.org/openstack/kolla/commit/3dcfde5cc0f3b964681790aef28c5dbb4c631907
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 3dcfde5cc0f3b964681790aef28c5dbb4c631907
Author: Maksim Malchuk <email address hidden>
Date: Mon Jun 19 21:14:11 2023 +0300

    Fix cinder-volume: add missing nvme-cli rpm package

    Closes-Bug: #2024390
    Change-Id: I84c7633765749a5e9ced983505ef290c32154ccc
    Signed-off-by: Maksim Malchuk <email address hidden>
    (cherry picked from commit 11f90f3746f6affd34885019a82eb94d3c098ee9)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/886511
Committed: https://opendev.org/openstack/kolla/commit/5a67a0162d13959eba795c9464a106fdb55287cc
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 5a67a0162d13959eba795c9464a106fdb55287cc
Author: Maksim Malchuk <email address hidden>
Date: Mon Jun 19 21:14:11 2023 +0300

    Fix cinder-volume: add missing nvme-cli rpm package

    Closes-Bug: #2024390
    Change-Id: I84c7633765749a5e9ced983505ef290c32154ccc
    Signed-off-by: Maksim Malchuk <email address hidden>
    (cherry picked from commit 11f90f3746f6affd34885019a82eb94d3c098ee9)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/886515
Committed: https://opendev.org/openstack/kolla/commit/6c6adfc5013353345f91564721c18d0d0f7e8948
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 6c6adfc5013353345f91564721c18d0d0f7e8948
Author: Maksim Malchuk <email address hidden>
Date: Mon Jun 19 21:14:11 2023 +0300

    Fix cinder-volume: add missing nvme-cli rpm package

    Closes-Bug: #2024390
    Change-Id: I84c7633765749a5e9ced983505ef290c32154ccc
    Signed-off-by: Maksim Malchuk <email address hidden>
    (cherry picked from commit 11f90f3746f6affd34885019a82eb94d3c098ee9)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 16.1.0

This issue was fixed in the openstack/kolla 16.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 14.10.0

This issue was fixed in the openstack/kolla 14.10.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 15.2.0

This issue was fixed in the openstack/kolla 15.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla wallaby-eol

This issue was fixed in the openstack/kolla wallaby-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla xena-eol

This issue was fixed in the openstack/kolla xena-eol release.

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.