Hi,

did you configure the additional MGR(s) as well with server_addr,
server_port and certs [0]?

I haven't used the restful module before, but it works for me on Squid
after creating a self-signed cert and a user/key.

Then I used the existing crt (it's a test environment) and set the
config-key for the other mgr as well:

# get cert and key
ceph config-key get mgr/restful/nautilus/crt > nautilus-restful.crt
ceph config-key get mgr/restful/nautilus/key > nautilus-restful.key

# set cert and key
ceph config-key set mgr/restful/nautilus2/crt -i nautilus-restful.crt
ceph config-key set mgr/restful/nautilus2/key -i nautilus-restful.key

# configure per host server_addr and server_port
ceph config set mgr mgr/restful/nautilus/server_addr 192.168.168.111
ceph config set mgr mgr/restful/nautilus/server_port 8003

ceph config set mgr mgr/restful/nautilus2/server_addr 192.168.168.112
ceph config set mgr mgr/restful/nautilus2/server_port 8003

# restart restful if necessary
ceph restful restart

ceph mgr services | grep rest
    "restful": "https://192.168.168.111:8003/";

# after failover
ceph mgr services | grep rest
    "restful": "https://192.168.168.112:8003/";

Hope this helps!
Eugen

[0] https://docs.ceph.com/en/squid/mgr/restful/#configuring-ip-and-port

Am So., 8. Feb. 2026 um 19:43 Uhr schrieb Andreas Eriksson via ceph-users <
[email protected]>:

> Hi,
>
> I'm doing cluster monitoring using the restful api on the ceph-mgr on
> port 8003.
> The requests are working fine as long as I have my *mgr-0* as primary.
> Doing a `ceph mgr fail` so that the *mgr-1* becomes active, the mgr
> daemon doesn't listen on port 8003.
>
> Is there any workaround for this?
> _______________________________________________
> ceph-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to