nvme creating directory /etc/nvme when not configured

Bug #1929075 reported by Rajat Dhasmana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-brick
Fix Released
Undecided
Unassigned

Bug Description

nvme connector creates /etc/nvme directory while getting connection properties even when not configured.

Apr 30 16:30:15.277460 ubuntu-focal-rax-iad-0024478410 <email address hidden>[97941]: DEBUG oslo_concurrency.processutils [-] CMD "mkdir -m 755 -p /etc/nvme" returned: 0 in 0.007s {{(pid=112920) execute /usr/local/lib/python3.8/dist-packages/oslo_concurrency/processutils.py:422}}

Changed in os-brick:
status: New → In Progress
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/+/789289
Committed: https://opendev.org/openstack/os-brick/commit/f2bc082b079cd5c7534c959c0fc339c9832e081b
Submitter: "Zuul (22348)"
Branch: master

commit f2bc082b079cd5c7534c959c0fc339c9832e081b
Author: Rajat Dhasmana <email address hidden>
Date: Mon May 3 10:07:54 2021 -0400

    Don't log error trace when nvme is not used

    When nvme is not configured, the connector still logs error
    traceback and creates /etc/nvme directory.
    This patch checks if nvme is configured and avoids the case
    if nvme is not used.

    Closes-Bug: #1929074
    Closes-Bug: #1929075
    Change-Id: I2473f50671b9c3f1840efd0d12d2a2572a21d850

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

This issue was fixed in the openstack/os-brick 4.4.0 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.