not sure how to fix it, in that case, you can delete that pod with unmount failure directly.
jmmc-tools opened this issue · 0 comments
not sure how to fix it, in that case, you can delete that pod with unmount failure directly.
Originally posted by @andyzhangx in #100 (comment)
I think is the new fix published is the solution:
rm -r --one-file-system "${MNTPATH}" >> $LOG 2>&1
But we have a production environment, so this command is very critical and we prefer not use it (although the help indicate "only remove local files"... it's a high risk. I prefer a reboot AKS node, before we have to move pods to another node. So this solve teh actual behavior about local files connected , because in the next boot , docker folders not have any point of mount and local folder must be empty (like not connected only)
I suggest analyze again , reproducing the environment with K8S and ubuntu updated (I indicated versions before) , and review why doesn't working this fix on latest shell script driver in umount process? Because driver log , not display any error, and that log must indicate each step of script driver, enter to the IF, and echo indicating the error and use of the rm command, and if that command is fail again indicate it.
Thanks a lot for that project! AKS needs a service like this for Blob Storage!
I will use the driver in AKS old versions yet , I hope this problem is solved in future updates!