Skip to content

gwcli: Gateway status UNKNOWN #155

Description

@discostur

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": {
...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions