help with deleting errant iscsi gateway

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:

I am using ceph nautilus with CentOS 7.6 and working on adding a pair of
iscsi gateways in our cluster, following the documentation here:
https://docs.ceph.com/docs/master/rbd/iscsi-target-cli/

I was in the "Configuring" section, step #3, "Create the iSCSI gateways"
and ran into problems. When I tried adding the first gateway using the
example shown, I ran into an error with the message "*The first gateway
defined must be the local machine*".

In googling around to remediate this error, I saw on this web page (
https://tracker.ceph.com/issues/24425) that I should try adding the first
gateway with my localhost and issued this command instead
/iscsi-target...-igw/gateways> create sv46 10.0.201.66

This led to the following configuration with the errant gateway "sv46"
which I then tried to delete and failed.

/iscsi-target...-gw:iscsi-igw> ls
o- iqn.2003-01.com.redhat.iscsi-gw:iscsi-igw
........................................................ [Auth: None,
Gateways: 1]
  o- disks
.........................................................................................................
[Disks: 0]
  o- gateways
...........................................................................................
[Up: 0/1, Portals: 1]
  | o- sv46
......................................................................................
[10.0.201.66 (UNAUTHORIZED)]
  o- host-groups
.................................................................................................
[Groups : 0]
  o- hosts
......................................................................................
[Auth: ACL_ENABLED, Hosts: 0]

This is what happened when I tried to delete sv46, I got the message shown
in *bold *but the gateway was not deleted.

/iscsi-target...-igw/gateways> delete sv46
Deleting gateway, sv46
*Target is not mapped to any gateways.*
/iscsi-target...-igw/gateways>

Question #1: How do I delete this errant iscsi gateway please?
Question #2: What is the proper way to handle the issue that got me into
this jam to begin with, i.e. the error message "The first gateway defined
must be the local machine" ?

Thanks,
Sharad
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux