On 8/26/20 3:56 PM, Jason Dillaman wrote:
On Wed, Aug 26, 2020 at 9:15 AM Willi Schiegel
<willi.schiegel@xxxxxxxxxxxxxx> wrote:
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.
Have you ensured that your MGR ip addresses are in "trusted_ip_list"
on the GWs [1]?
Stupid me, that was it! trusted_ip_list held only the gateways.
Thank you!
Best
Willi
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
[1] https://github.com/ceph/ceph-iscsi/blob/master/ceph_iscsi_config/gateway_setting.py#L179
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx