ceph / ceph-iscsi

Ceph iSCSI tools
GNU General Public License v3.0
62 stars 59 forks source link

rbd-target-api: there is no tcmu-runner data avaliable #234

Open HashFail opened 3 years ago

HashFail commented 3 years ago

On a cluster deployed with ceph-ansible, I am trying to create an iqn/gateway. I receive the following error:

/iscsi-target...i-gw/gateways> create ceph-iscsigw0.novalocal 10.0.0.41
Adding gateway, sync'ing 0 disk(s) and 0 client(s)
REST API failure, code : 403
Unable to refresh local config over API - sync aborted, restart rbd-target-api on ceph-iscsigw0.novalocal to sync

Log file looks like

2021-05-28 22:01:54,957     INFO [_internal.py:87:_log()] - ::1 - - [28/May/2021 22:01:54] "PUT /api/gateway/iqn.2021-05.com.privatemachines.iscsi-gw:iscsi-gw/ceph-iscsigw0.novalocal HTTP/1.1" 200 -
2021-05-28 22:01:55,001     INFO [_internal.py:87:_log()] - fe80::f816:3eff:feec:d6db%eth0 - - [28/May/2021 22:01:55] "GET /api/config HTTP/1.1" 403 -
2021-05-28 22:01:58,775  WARNING [device_status.py:127:run()] - there is no tcmu-runner data avaliable
2021-05-28 22:02:08,777  WARNING [device_status.py:127:run()] - there is no tcmu-runner data avaliable
2021-05-28 22:02:18,789  WARNING [device_status.py:127:run()] - there is no tcmu-runner data avaliable

Any ideas?

ceph-iscsi version: 3.5