Error Deleting ISCSI
msalem
87 Posts
May 6, 2018, 11:44 amQuote from msalem on May 6, 2018, 11:44 amAny idea why this is happening. ?
I can send the logs if you point me to the right direction 🙂
https://ibb.co/eALgtn
Thanks
Any idea why this is happening. ?
I can send the logs if you point me to the right direction 🙂
Thanks
admin
2,930 Posts
May 6, 2018, 6:17 pmQuote from admin on May 6, 2018, 6:17 pmIn some cases when you kill an iSCSI target node uncleanly, the rbd image will think there is still a client connected for up to 15 min, i such case you need to wait for that period before you delete. you can also see if there are any "watchers" via
rbd status image-00003 --cluster xx
If this is not the case, can you post the /opt/petasan/log/PetaSAN.log file on management server you connect to.
also can you try to delete the image via cli command, does it work or do you get errors:
rbd rm image-00003 --cluster xx
In some cases when you kill an iSCSI target node uncleanly, the rbd image will think there is still a client connected for up to 15 min, i such case you need to wait for that period before you delete. you can also see if there are any "watchers" via
rbd status image-00003 --cluster xx
If this is not the case, can you post the /opt/petasan/log/PetaSAN.log file on management server you connect to.
also can you try to delete the image via cli command, does it work or do you get errors:
rbd rm image-00003 --cluster xx
Last edited on May 6, 2018, 6:20 pm by admin · #2
msalem
87 Posts
May 6, 2018, 6:36 pmQuote from msalem on May 6, 2018, 6:36 pmHello Admin,
you are correct, I see this. I removed the ISCSI from the client side, and wait for the cookie to go away.
root@peta1:~# for i in 3 4 5 ; do rbd status image-0000$i --cluster SAN; done
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840974
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840962
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840963
Thanks again.
Hello Admin,
you are correct, I see this. I removed the ISCSI from the client side, and wait for the cookie to go away.
root@peta1:~# for i in 3 4 5 ; do rbd status image-0000$i --cluster SAN; done
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840974
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840962
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840963
Thanks again.
Error Deleting ISCSI
msalem
87 Posts
Quote from msalem on May 6, 2018, 11:44 amAny idea why this is happening. ?
I can send the logs if you point me to the right direction 🙂
https://ibb.co/eALgtn
Thanks
Any idea why this is happening. ?
I can send the logs if you point me to the right direction 🙂
Thanks
admin
2,930 Posts
Quote from admin on May 6, 2018, 6:17 pmIn some cases when you kill an iSCSI target node uncleanly, the rbd image will think there is still a client connected for up to 15 min, i such case you need to wait for that period before you delete. you can also see if there are any "watchers" via
rbd status image-00003 --cluster xx
If this is not the case, can you post the /opt/petasan/log/PetaSAN.log file on management server you connect to.
also can you try to delete the image via cli command, does it work or do you get errors:
rbd rm image-00003 --cluster xx
In some cases when you kill an iSCSI target node uncleanly, the rbd image will think there is still a client connected for up to 15 min, i such case you need to wait for that period before you delete. you can also see if there are any "watchers" via
rbd status image-00003 --cluster xx
If this is not the case, can you post the /opt/petasan/log/PetaSAN.log file on management server you connect to.
also can you try to delete the image via cli command, does it work or do you get errors:
rbd rm image-00003 --cluster xx
msalem
87 Posts
Quote from msalem on May 6, 2018, 6:36 pmHello Admin,
you are correct, I see this. I removed the ISCSI from the client side, and wait for the cookie to go away.
root@peta1:~# for i in 3 4 5 ; do rbd status image-0000$i --cluster SAN; done
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840974
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840962
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840963
Thanks again.
Hello Admin,
you are correct, I see this. I removed the ISCSI from the client side, and wait for the cookie to go away.
root@peta1:~# for i in 3 4 5 ; do rbd status image-0000$i --cluster SAN; done
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840974
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840962
Watchers:
watcher=10.3.1.13:0/1199494684 client.34611 cookie=18446462598732840963
Thanks again.