Open fe-ax opened 6 years ago
Ok figured out deleting the pool and recreate it removes all configs. Besides that you'll have to open up targetcli and delete iqn... from iscsi.
Can be closed if this is not something that should be fixed.
Let's leave this one open. I will look into it some more, because it should work.
This still seems like a current issue.
[root@NAS-AUSYD-RK4-CEPHMON2 ~]# gwcli /disks> ls o- disks ......................................................................................................... [3073G, Disks: 2] o- AUSYD-ISCSI-SSD.AUSYD-HPV-HVC02 ........................................................................ [AUSYD-HPV-HVC02 (1G)] o- AUSYD-ISCSI-SSD.AUSYD-VMW-Cluster02 .............................................................. [AUSYD-VMW-Cluster02 (3.0T)] /disks> delete image_id=AUSYD-ISCSI-SSD.AUSYD-HPV-HVC02 ok /disks> exit [root@NAS-AUSYD-RK4-CEPHMON2 ~]# gwcli /disks> ls o- disks ......................................................................................................... [3073G, Disks: 2] o- AUSYD-ISCSI-SSD.AUSYD-HPV-HVC02 ........................................................................ [AUSYD-HPV-HVC02 (1G)] o- AUSYD-ISCSI-SSD.AUSYD-VMW-Cluster02 .............................................................. [AUSYD-VMW-Cluster02 (3.0T)] /disks>
Ah weird. It has been working for me for a while.
Does this always happen? Can you run gwcli in debug mode:
gwcli -d
and then also send the /var/log/rbd-target-api/rbd-target-api.log (or some older versions /var/log/rbd-target-api.log) for all the gws so I can check why it is not getting deleted from the config object?
After fixing the previous issue this new issue occurred, the disk and client are deleted but reappear after reopening gwcli.