Verify you have correct values for "trusted_ip_list" [1].
[1]
https://github.com/ceph/ceph-iscsi/blob/master/iscsi-gateway.cfg_sample#L29
On Mon, Mar 1, 2021 at 9:45 AM Várkonyi János
<Varkonyi.Janos(a)trafficom.hu> wrote:
Hi All,
I2d like to install a Ceph Nautilus on Ubuntu 18.04 LTS and give the storage to 2 windows
server via ISCSI. I choose the Nautilus because of the deploy function I don't want to
another VM to cephadm. So I can isntall the ceph and it is working properly but can't
setup the icsi gateway. The services running like tcmu-runner, ebd-target-gw and
rbd-target-api. I can going into gwcli but I can't create the first gw I get this
msessage:
/iscsi-target...-igw/gateways> create cf01 192.168.203.51 skipchecks=true
OS version/package checks have been bypassed
Get gateway hostname failed : 403 Forbidden
Please check api_host setting and make sure host cf01 IP is listening on port 5000
In the syslog at the same time:
Mar 1 15:43:02 cf01 there is no tcmu-runner data avaliable
Mar 1 15:43:06 cf01 ::ffff:127.0.0.1 - - [01/Mar/2021 15:43:06] "GET /api/config
HTTP/1.1" 200 -
I can see the python listening on port 5000 (mybe this is my problem)
netstat -tulpn | grep 5000
tcp6 0 0 :::5000 :::* LISTEN
1976/python
I cannot find anything about this error and I can't figure out what is solution.
Ubuntu 18.04.5 LTS
4.15.0-136-generic
I also tried with 4.20.0-042000-generic but the erorr was the same.
jansz0
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io
To unsubscribe send an email to ceph-users-leave(a)ceph.io
--
Jason