public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: Re: [pve-devel] Proxmox 7.0 Beta - Ceph "a password is required" error messages?
Date: Fri, 25 Jun 2021 13:36:55 +0200	[thread overview]
Message-ID: <f238809a-b894-c1b8-0dd0-677d88cc840a@proxmox.com> (raw)
In-Reply-To: <CAMnnoULK0y8YvsWZCJpwmGgQKtq=3rTG_ttEtWbDYF3+12hFzA@mail.gmail.com>

On 6/25/21 03:31, Victor Hooi wrote:
> Hi,
> 
> I've setup a new Ceph cluster with the Proxmox 7.0 beta
> 
> I'm getting notification emails like this:
> 
> ceph : a password is required ; PWD=/ ; USER=root ; COMMAND=nvme intel
>> smart-log-add --json /dev/nvme0n1
> 
> 
> Do you know if this is expected behaviour, or what it means? Is this some
> kind of new logging in Ceph 16 or Proxmox 7?
> 

ceph can check the hardware status with smartctl/nvme

to do this, ceph ships a sudoers.d snippet that allows those two commands

i just checked here, it works as intended

does the file '/etc/sudoers.d/ceph-osd-smartcl' exist in your installation?

did you do any further sudo configuration or changed the 'ceph' user
somehow?

kind regards




  reply	other threads:[~2021-06-25 11:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAMnnoULK0y8YvsWZCJpwmGgQKtq=3rTG_ttEtWbDYF3+12hFzA.ref@mail.gmail.com>
2021-06-25  1:31 ` Victor Hooi
2021-06-25 11:36   ` Dominik Csapak [this message]
2021-06-25 11:39     ` Dominik Csapak
2021-06-28  7:54   ` Fabian Ebner
2021-06-28 23:19     ` Victor Hooi
2021-06-30  7:57       ` Fabian Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f238809a-b894-c1b8-0dd0-677d88cc840a@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal