Closed luckydogxf closed 1 year ago
/iscsi-target...-igw/gateways> ls
o- gateways .................................................................................................. [Up: 2/3, Portals: 3]
o- ceph-iscsi-gw-1.ipa.pthl.hk ............................................................................. [172.16.202.251 (UP)]
o- ceph-iscsi-gw-1.ipa.pthl.hklocalhost.localdomain ................................................... [172.16.202.251 (UNKNOWN)]
o- ceph-iscsi-gw-2.ipa.pthl.hk ............................................................................. [172.16.202.252 (UP)]
/iscsi-target...-igw/gateways> delete ceph-iscsi-gw-1.ipa.pthl.hklocalhost.localdomain confirm=true
Deleting gateway, ceph-iscsi-gw-1.ipa.pthl.hklocalhost.localdomain
Failed : Unhandled exception: list.remove(x): x not in list
Did I hit a bug ? I did follow the official instructions
Resolved through https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/N3ITO7FP5PGI25EKFP3PK2ZTVPRU6X2R/
sudo rados -p rbd get gateway.conf hello
sudo rados put gateway.conf hello -p rbd
Hi, please see below output.
ceph-iscsi-gw-1.ipa.pthl.hklocalhost.localdomain
is the one who is being messed up with a wrong hostname. I want to delete it.However
ceph-iscsi-gw-1.ipa.pthl.hklocalhost.localdomain
is still there. Version info isceph-iscsi-3.5-1.el8cp.noarch
onRHEL 8.4
.Please help, thanks.