Ceph: a password is required command=nvme error

From Thomas-Krenn-Wiki
Jump to navigation Jump to search

In this article, you will find the instructions on how to rectify an error in connection with the NVME CLI during a Ceph update from Octopus to Pacific.

Description of error

After a Proxmox Ceph update from Ceph Octopus to Ceph Pacific, you will receive the following errors via email:

 
pve03.cloudfighter.de : Jul  7 00:08:48 : ceph : a password is required ; PWD=/ ; USER=root ; COMMAND=nvme wus4bb096d7p3e4 smart-log-add --json /dev/nvme3n1

Cause

The Ceph Smart Mon service tries to use the command nvme-cli. However, the package nvme-cli is not installed.

Solution

The package nvme-cli can be reinstalled by hand:

apt install nvme-cli 

After the installation of the package, the error is fixed.


Author: Jonas Sterr

Jonas Sterr has been working for Thomas-Krenn for several years. Originally employed as a trainee in technical support and then in hosting (formerly Filoo), Mr. Sterr now mainly deals with the topics of storage (SDS / Huawei / Netapp), virtualization (VMware, Proxmox, HyperV) and network (switches, firewalls) in product management at Thomas-Krenn.AG in Freyung.


Translator: Alina Ranzinger

Alina has been working at Thomas-Krenn.AG since 2024. After her training as multilingual business assistant, she got her job as assistant of the Product Management and is responsible for the translation of texts and for the organisation of the department.


Related articles

Ceph - increase maximum recovery & backfilling speed
How to change the host name in a productive Proxmox Ceph HCI cluster
Proxmox GUI remove old Ceph Health Warnings