Hi Willi,

Check the 'iscsi-gateway.cfg' file on your iSCSI gateways to make sure that the 
mgr IP (where the dashboard is running) is included in the 'trusted_ip_list' 
config.

After adding the IP to the config file, you need to restart the 
'rbd-target-api' service.

Ricardo Marques

________________________________
From: Willi Schiegel <willi.schie...@technologit.de>
Sent: Wednesday, August 26, 2020 2:12 PM
To: ceph-users@ceph.io <ceph-users@ceph.io>
Subject: [ceph-users] iSCSI gateways in nautilus dashboard in state down

Hello All,

I have a Nautilus (14.2.11) cluster which is running fine on CentOS 7
servers. 4 OSD nodes, 3 MON/MGR hosts. Now I wanted to enable iSCSI
gateway functionality to be used by some Solaris and FreeBSD clients. I
followed the instructions under

https://docs.ceph.com/docs/nautilus/rbd/iscsi-target-cli-manual-install

and

https://docs.ceph.com/docs/nautilus/rbd/iscsi-target-cli/

I setup two iSCSI targets and they both show up with gwcli on both gateways:

[root@osd1 ~]# gwcli ls
...
o- gateways ..................... [Up: 2/2, Portals: 2]
| o- osd1.mydomain.pri ......... [172.29.1.171 (UP)]
| o- osd2.mydomain.pri ......... [172.29.1.172 (UP)]
...

tcmu-runner, rbd-target-gw and rbd-target-api are active (running) on
both gateways, there is no firewall and SELinux is disabled but on the
dashboard the state of the gateways is "down".  and ceph-mgr.mon2.log shows

mgr[dashboard] iscsi REST API failed GET req status: 403

Any hints? Thank you.

Best
Willi
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to