Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 4058  / 1 Year ago, tue, january 31, 2023, 1:05:54

I have deployed 3 ceph mon nodes using juju and maas. From juju status all ceph mon nodes are up and fine. but i did ssh into one of the ceph node and was just trying to get ceph status. and its giving me this error,



ubuntu@CS1:/home/ubuntu# sudo ceph status
2013-09-02 11:01:32.157892 7f8fc3d65780 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
2013-09-02 11:01:32.157928 7f8fc3d65780 -1 ceph_tool_common_init failed.


And then i discovered for any ceph command its giving me same error.



Before ceph deployment in .yaml file i had sepecifed $fsid and $monitor-secret values. So i think juju should take care of keyring, but looks like it doesn't. Any suggestion?


More From » juju

 Answers
4

Looks like mistake from my side, while generating monitor secret, i didnt specified name parameter, so i regenerated monitor secrete with that parameter like this,



sudo ceph-authtool /dev/stdout --name=mon. --gen-key


And redeployed ceph mon and OSDs, but this time i also took care of capital letters.That information was also helpful James.Thx !


[#29644] Wednesday, February 1, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
istmasted

Total Points: 287
Total Questions: 130
Total Answers: 153

Location: Burkina Faso
Member since Thu, Dec 23, 2021
2 Years ago
istmasted questions
;