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
On Wed, Aug 26, 2020 at 9:15 AM Willi Schiegel <willi.schiegel@technologit.de> 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]?
Best Willi _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
[1] https://github.com/ceph/ceph-iscsi/blob/master/ceph_iscsi_config/gateway_set... -- Jason
On 8/26/20 3:56 PM, Jason Dillaman wrote:
On Wed, Aug 26, 2020 at 9:15 AM Willi Schiegel <willi.schiegel@technologit.de> 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@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
[1] https://github.com/ceph/ceph-iscsi/blob/master/ceph_iscsi_config/gateway_set...
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.schiegel@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-leave@ceph.io
participants (3)
-
Jason Dillaman
-
Ricardo Marques
-
Willi Schiegel