Hello Ernesto,

Thank you very much, that was my mistake.
I was running this on a standby manager container instead of the active one.

Running this worked on the active one. I did not realize it was searching in 
the location of the active manager despite being executed from a standby 
manager.

Thanks,

--
Adam

From: Ernesto Puerta <[email protected]>
Date: Thursday, August 5, 2021 at 11:54 AM
To: Adam Zheng <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [ceph-users] Unable to enable dashboard sso with cert file

Hi Adam,

I guess you're running the "ceph dashboard sso setup saml2", right? Is that 
file in the same host/container as the active manager? If not, please try to 
copy that file to the node/container where the ceph-mgr is running and let us 
know if the command now works.

Kind Regards,
Ernesto


On Wed, Aug 4, 2021 at 8:14 PM Adam Zheng 
<[email protected]<mailto:[email protected]>> wrote:
Hello,

When attempting to enable dashboard sso with a cert file, I only receive the 
following error:

Error EINVAL: `./sp.crt` not found.

The file is however most definitely there. I have tried it in string format as 
well. Not sure what I’m doing wrong.
Also tried this by exec into the mgr container and creating them (cert and key) 
locally owned by 167 ceph, still the same error. Attempted absolute path as 
well.

The only things I could find on this are:
https://github.com/ceph/ceph/pull/34129
https://tracker.ceph.com/issues/44666

It looks like this has already been fixed last year (if related), but I still 
have the issue. Currently running

ceph version 15.2.13 (c44bc49e7a57a87d84dfff2a077a2058aa2172e2) octopus (stable)

Any pointers would be greatly appreciated

Thanks
_______________________________________________
ceph-users mailing list -- [email protected]<mailto:[email protected]>
To unsubscribe send an email to 
[email protected]<mailto:[email protected]>
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to