ceph / ceph/ceph-iscsi-cli

gwcli: Gateway status UNKNOWN

Open
#155 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
26
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Hi,

i've deployed ceph mimic via ceph-ansible and my iscsi gateways are working correctly (connected to virtualization cluster) but gwcli shows UNKNOWN GW status:

```
o- / ......................................................................................................................... [...]
o- clusters ........................................................................................................ [Clusters: 1]
| o- ceph ............................................................................................................ [HEALTH_OK]
| o- pools ......................................................................................................... [Pools: 3]
| | o- .rgw.root ....................................................................... [(x3), Commit: 0b/50.6T (0%), Used: 1K]
| | o- 1234-company-ovirt ...................................................... [(x3), Commit: 100G/50.6T (0%), Used: 1G]
| | o- rbd ............................................................................. [(x3), Commit: 0b/50.6T (0%), Used: 2K]
| o- topology ............................................................................................... [OSDs: 40,MONs: 3]
o- disks ........................................................................................................ [100G, Disks: 1]
| o- 1234-company-ovirt.lun01 ............................................................................... [lun01 (100G)]
o- iscsi-target ..................................................................................................... [Targets: 1]
o- iqn.2019-03.com.redhat.iscsi-gw:ceph-igw ...................................................................... [Gateways: 2]
o- gateways ............................................................................................ [Up: 0/2, Portals: 2]
| o- ceph-osd01 .................................................................................... [192.168.26.31 (UNKNOWN)]
| o- ceph-osd02 .................................................................................... [192.168.26.32 (UNKNOWN)]
o- host-groups .................................................................................................. [Groups : 0]
o- hosts .......................................................................................................... [Hosts: 1]
o- iqn.1994-05.com.redhat:94cd4f32b257 ............................................. [LOGGED-IN, Auth: CHAP, Disks: 1(100G)]
o- lun 0 ....................................................... [1234-company-ovirt.lun01(100G), Owner: ceph-osd01]
```

Trusted IPs are set up correctly in /etc/ceph/iscsi-gateway.cfg:

```
trusted_ip_list = 192.168.26.31,192.168.26.32
```

I am able to curl from both gw1 / gw2 to the other gateway and get the config via api:

```
curl --user user:pass 192.168.26.32:5000/api/config
{
"clients": {
"iqn.1994-05.com.redhat:94cd4f32b257": {
"auth": {
...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.