Skip to content

Commit aea87fc

Browse files
authored
fix: add nvme-cli as a base package (#687)
os-brick requires nvme-cli to be installed otherwise it throws warnings ``` log 2025-01-26 01:21:49.169 3229256 WARNING os_brick.privileged.nvmeof [-] Could not generate host nqn: [Errno 2] No such file or directory: 'nvme' ``` This change simply ensures that the tool is installed on our hosts by default. Signed-off-by: Kevin Carter <[email protected]>
1 parent 3b381e0 commit aea87fc

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Containerfiles/NovaEFI-Containerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COPY --from=build /var/lib/openstack/. /var/lib/openstack/
1616
# Py Packages for the following features:
1717
# - Nova: Libosinfo
1818
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y ovmf open-iscsi multipath-tools libgirepository-1.0-1 libgirepository1.0-dev \
19-
libcairo2-dev python3-dev gcc libosinfo-bin gir1.2-libosinfo-1.0 nfs-common cryptsetup; \
19+
libcairo2-dev python3-dev gcc libosinfo-bin gir1.2-libosinfo-1.0 nfs-common cryptsetup nvme-cli; \
2020
rm -rf /var/cache/apt/archives /var/lib/apt/lists; \
2121
apt clean; /var/lib/openstack/bin/pip install pygobject; \
2222
find /var/lib/openstack -regex '^.*\(__pycache__\|\.py[co]\)$' -delete

ansible/roles/host_setup/vars/debian.yml

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ _host_distro_packages:
5252
- libkmod2
5353
- lvm2
5454
- nfs-client
55+
- nvme-cli
5556
- open-iscsi
5657
- rsync
5758
- software-properties-common

ansible/roles/host_setup/vars/ubuntu.yml

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ _host_distro_packages:
5151
- libkmod2
5252
- lvm2
5353
- nfs-client
54+
- nvme-cli
5455
- rsync
5556
- software-properties-common
5657
- sysstat

0 commit comments

Comments
 (0)