Missing nvme command from nova images

Bug #1953509 reported by Pierre Riteau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Unassigned

Bug Description

While performing a live migration between two Wallaby hosts, I am seeing this warning in the logs:

WARNING os_brick.initiator.connectors.nvmeof [...] Could not generate host nqn: [Errno 2] No such file or directory: 'nvme'
Command: nvme gen-hostnqn | tee /etc/nvme/hostnqn
Exit code: -
Stdout: None
Stderr: None: oslo_concurrency.processutils.ProcessExecutionError: [Errno 2] No such file or directory: 'nvme'

This is using source images.

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

Changed in kolla:
status: New → In Progress
Pierre Riteau (priteau)
summary: - Missing nvme command from nova source images
+ Missing nvme command from nova images
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/820892
Committed: https://opendev.org/openstack/kolla/commit/30eddf72f6d5380bb6078481581e47b0eec84982
Submitter: "Zuul (22348)"
Branch: master

commit 30eddf72f6d5380bb6078481581e47b0eec84982
Author: Pierre Riteau <email address hidden>
Date: Tue Dec 7 16:02:03 2021 +0100

    Ensure nvme-cli is present in nova-compute images

    The nvme-cli package is required to get the nvme command executed by
    os-brick, which is used by nova-compute.

    We don't need to explicitely install it for centos binary images, as it
    is required by os-brick which is required by openstack-nova-common, but
    all other types of images were missing it.

    Change-Id: I754939da7636c57d2a8d5b83debb5d8a58e38432
    Closes-Bug: #1953509

Changed in kolla:
status: In Progress → Fix Released
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/+/821044

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

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

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

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

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

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

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

commit 56d639283e358b731efb78283c319dd3d9f8cf03
Author: Pierre Riteau <email address hidden>
Date: Tue Dec 7 16:02:03 2021 +0100

    Ensure nvme-cli is present in nova-compute images

    The nvme-cli package is required to get the nvme command executed by
    os-brick, which is used by nova-compute.

    We don't need to explicitely install it for centos binary images, as it
    is required by os-brick which is required by openstack-nova-common, but
    all other types of images were missing it.

    Change-Id: I754939da7636c57d2a8d5b83debb5d8a58e38432
    Closes-Bug: #1953509
    (cherry picked from commit 30eddf72f6d5380bb6078481581e47b0eec84982)

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

Reviewed: https://review.opendev.org/c/openstack/kolla/+/821045
Committed: https://opendev.org/openstack/kolla/commit/0b45557bdf90e6927c456dcc0ebc6e1552e496be
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 0b45557bdf90e6927c456dcc0ebc6e1552e496be
Author: Pierre Riteau <email address hidden>
Date: Tue Dec 7 16:02:03 2021 +0100

    Ensure nvme-cli is present in nova-compute images

    The nvme-cli package is required to get the nvme command executed by
    os-brick, which is used by nova-compute.

    We don't need to explicitely install it for centos binary images, as it
    is required by os-brick which is required by openstack-nova-common, but
    all other types of images were missing it.

    Change-Id: I754939da7636c57d2a8d5b83debb5d8a58e38432
    Closes-Bug: #1953509
    (cherry picked from commit 30eddf72f6d5380bb6078481581e47b0eec84982)

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

Reviewed: https://review.opendev.org/c/openstack/kolla/+/821046
Committed: https://opendev.org/openstack/kolla/commit/d034341d50a1ef69f759bfc9e18398e0f27cf024
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit d034341d50a1ef69f759bfc9e18398e0f27cf024
Author: Pierre Riteau <email address hidden>
Date: Tue Dec 7 16:02:03 2021 +0100

    Ensure nvme-cli is present in nova-compute images

    The nvme-cli package is required to get the nvme command executed by
    os-brick, which is used by nova-compute.

    We don't need to explicitely install it for centos binary images, as it
    is required by os-brick which is required by openstack-nova-common, but
    all other types of images were missing it.

    Change-Id: I754939da7636c57d2a8d5b83debb5d8a58e38432
    Closes-Bug: #1953509
    (cherry picked from commit 30eddf72f6d5380bb6078481581e47b0eec84982)

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

Reviewed: https://review.opendev.org/c/openstack/kolla/+/821173
Committed: https://opendev.org/openstack/kolla/commit/39c209c4896da6903e22245ef0f7b8087302ffe2
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 39c209c4896da6903e22245ef0f7b8087302ffe2
Author: Pierre Riteau <email address hidden>
Date: Tue Dec 7 16:02:03 2021 +0100

    Ensure nvme-cli is present in nova-compute images

    The nvme-cli package is required to get the nvme command executed by
    os-brick, which is used by nova-compute.

    We don't need to explicitely install it for centos binary images, as it
    is required by os-brick which is required by openstack-nova-common, but
    all other types of images were missing it.

    Change-Id: I754939da7636c57d2a8d5b83debb5d8a58e38432
    Closes-Bug: #1953509
    (cherry picked from commit 30eddf72f6d5380bb6078481581e47b0eec84982)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 11.2.0

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

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

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

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

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

Mark Goddard (mgoddard)
Changed in kolla:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 14.0.0.0rc1

This issue was fixed in the openstack/kolla 14.0.0.0rc1 release candidate.

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

This issue was fixed in the openstack/kolla ussuri-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.