Bug #24425
closedcreate iscsi gateway stop with "The first gateway defined must be the local machine"
0%
Description
[root@node0018-isci-gateway ~]# gwcli
/iscsi-target...-igw/gateways> ls
o- gateways ...................................................................................... [Up: 0/0, Portals: 0]
/iscsi-target...-igw/gateways> create ceph-gw-1 192.168.57.16 skipchecks=true
The first gateway defined must be the local machine
/iscsi-target...-igw/gateways> cd ..
/iscsi-target...-gw:iscsi-igw> cd ..
/iscsi-target> cd ..
/> ls
o- / ............................................................................................................. [...]
o- clusters ............................................................................................ [Clusters: 1]
| o- ceph ................................................................................................ [HEALTH_OK]
| o- pools .............................................................................................. [Pools: 1]
| | o- rbd ................................................................. [(x3), Commit: 0b/82G (0%), Used: 292b]
| o- topology .................................................................................... [OSDs: 9,MONs: 3]
o- disks .............................................................................................. [0b, Disks: 0]
o- iscsi-target ......................................................................................... [Targets: 1]
o- iqn.2003-01.com.redhat.iscsi-gw:iscsi-igw ......................................................... [Gateways: 0]
o- gateways ................................................................................ [Up: 0/0, Portals: 0]
o- host-groups ...................................................................................... [Groups : 0]
o- hosts .............................................................................................. [Hosts: 0]
/> cd iscsi-target/iqn.2003-01.com.redhat.iscsi-gw:iscsi-igw/gateways
/iscsi-target...-igw/gateways> create ceph-gw-1 192.168.57.16
The first gateway defined must be the local machine
/iscsi-target...-igw/gateways> create ceph-gw-1 192.168.57.16 skipchecks=true
The first gateway defined must be the local machine