Hi E Taka, Thanks a lot for sharing your script, yes, that could be one of the solutions to fix that issue! But strange thing, on another CEPH test deployment I somehow get valid FQDNs reported by 'ceph mgr services' instead of IP addresses. I've compared their configurations and it seems to be exactly the same in regards to all the options, including /etc/hosts file configuration, but for some reason in that old cluster I'm able to get FQDNs while in a new one I can't. One reason can be that I have installed CEPH 15.2.x on the old cluster and then upgraded it to 16.2.x while on a newer cluster I installed CEPH 16.2.6 straight away, dunno. But it's very frustrating that CEPH dashboard can't correctly report FQDNs and use SSL certificates installed into it! Best regards, Yury. On Sun, Oct 24, 2021 at 11:45 PM E Taka <0etaka0@xxxxxxxxx> wrote: > Hi Yuri, > > I faced the same problem that recently only IP addresses are listed in > `ceph mgr services` > > As a easy workarounf I installed a lightttp for just one CGI script: > > ######################################################################## > #!/bin/bash > > DASHBOARD=$(ceph mgr services | jq '.dashboard') > > DASHIP=$(echo $DASHBOARD | awk -F[/:] '{print $4}') > > if [[ $DASHIP =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then > DASHNAME=$(host $DASHIP | awk '{print $NF}' | sed 's/\.$//') > else > DASHNAME=$DASHIP > fi > > DASHURL='https://'${DASHNAME}:8443/ > > echo "Refresh: 2; url=$DASHURL" > echo "Content-type: text/html" > echo > echo "You will be redirected to <a href=\"$DASHURL\">$DASHNAME</a> in 2 > seconds..." > > ######################################################################## > > Yes, it's only a kludge, but it "works for me". > _______________________________________________ > ceph-users mailing list -- ceph-users@xxxxxxx > To unsubscribe send an email to ceph-users-leave@xxxxxxx > _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx