it is on rook ceph tool container:
rook-ceph-tools-5b5bfc786-nptecv /]# ls -l /var/lib/ceph/osd/ceph-3/keyring
-rwxrwxrwx. 1 ceph ceph 171 Oct 4 16:56 /var/lib/ceph/osd/ceph-3/keyring
thanks!
On Mon, Oct 4, 2021 at 12:16 PM Eugen Block wrote:
> Did you put that file in the container?
>
>
>
Did you put that file in the container?
Zitat von Abdelillah Asraoui :
I have create the keyring file: andvar/lib/ceph/osd/ceph-3/keyring and
chown to ceph but still getting these error on the osd pod log:
k -n rook-ceph logs rook-ceph-osd-3-6497bdc65b-5cvx3
debug 2021-10-04T16:06:38.287+000
I have create the keyring file: andvar/lib/ceph/osd/ceph-3/keyring and
chown to ceph but still getting these error on the osd pod log:
k -n rook-ceph logs rook-ceph-osd-3-6497bdc65b-5cvx3
debug 2021-10-04T16:06:38.287+ 7f8633cc1f00 -1 auth: unable to find a
keyring on /var/lib/ceph/osd/ceph-3
I'm not sure if anything else could break, but since the OSD isn't
starting anyway... I guess you could delete osd.3 from ceph auth:
ceph auth del osd.3
And then recreate it with:
ceph auth get-or-create osd.3 mon 'allow profile osd' osd 'allow *'
mgr 'allow profile osd'
[osd.3]
ke
the /var/lib/ceph/osd/ceph-3/keyring is missing here ..
is there way to generate a keyring for osd.3 ?
thanks!
On Thu, Sep 30, 2021 at 1:18 AM Eugen Block wrote:
> Is the content of OSD.3 still available in the filesystem? If the
> answer is yes you can get the OSD's keyring from
>
> /var/lib/
Is the content of OSD.3 still available in the filesystem? If the
answer is yes you can get the OSD's keyring from
/var/lib/ceph/osd/ceph-3/keyring
Then update your osd.3.export file with the correct keyring and then
import the correct back to ceph.
Zitat von Abdelillah Asraoui :
I must
I must have imported osd.2 key instead, now osd.3 has the same key as osd.2
ceph auth import -i osd.3.export
How do we update this ?
thanks!
On Wed, Sep 29, 2021 at 2:13 AM Eugen Block wrote:
> Just to clarify, you didn't simply import the unchanged keyring but
> modified it to reflect th
Just to clarify, you didn't simply import the unchanged keyring but
modified it to reflect the actual key of OSD.3, correct? If not, run
'ceph auth get osd.3' first and set the key in the osd.3.export file
before importing it to ceph.
Zitat von Abdelillah Asraoui :
i have created keyring
i have created keyring for the osd3 but still pod is not booting up..
As outlined:
https://access.redhat.com/solutions/3524771
ceph auth export osd.2 -o osd.2.export
cp osd.2.export osd.3.export
ceph auth import -i osd.3.export
imported keyring
Any suggestions ?
Thanks!
On Tue, Sep 21, 2021 a