-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue : problem with reclaim policy delete #134
Comments
Can I see your configuration file? The path is as follows: |
No configuration defined. Using default multipathd configuration. Give the multiptah command to run if you want more infos from a worker node. my woreker are installed as followed
I join also the configuration mutlipath obtained with the command : multipathd list config Regards |
For details, see section 3.6 in the user guide: |
Firstly I DON'T USE the Ultrapath Softtware using the debian package of multipathd : multipath-tools 0.8.5-2+deb11u1 amd64 It's correctly defined on 6810 (loadbalanced mode) and worker nodes used the native multipathd software according to the result of the commande multipath -ll (results are as followed)
|
If you use the native multipathing software provided by the OS, check whether You can try this operation because the root cause is that the dm name does not comply with the code verification. |
So I copied the file multipathd-config.txt joined earlier to /etc/multipath with the name /etc/multipath/multipath.conf and restart the multipathd daemon with the directives added on it. user_friendly_names yes and change find_multipaths from "strict" value to "no" value. And now the volume have been destroyed on my worker nodes. After that i've deleted the pv entry on k8s with kubectl delete pv pvc-0e708b36-3af1-4981-8d77-a9b46aafee41 Now I need to : I'll keep you inform Regards |
Okay, let me know if the problem is solved. |
It seems to be working now for deleteion ... all pv listed on my first post have disappeared from kubernetes now i4ve only the following pv list on my cluster :
Checking if deletion is working well ... need to check if the problem described on issue #133 is also solved with this configuration. If is .. maybe you should displayed the multipath configuration when OS multipathd is used with the parameters needed by Huawei CSI ? I'll keep you in touch EDIT 1 : is find_multipaths "no" mandatory or the default debian value ("strict") will work ? Regards |
find_multipaths "no" mandatory ,For details, see section 3.6 in the csi user document. |
Thanks for your reply Regards. |
you are welcome |
HI all,
I've created, as said with my previous issue, a storageclass with reclaimPolicy "Delete" but sometimes pv have not been deleted and are on "Release" status when running kubectl get pv
Those on "Terminating" status, it's due to an action from me. I tried to run the commande : kubectl delete pv <pv_name> but without effect as you could seen.
I've the following log entries when the CSI try to unstage the volume:
Thanks by advance for your replies.
Regards,
Christophe
The text was updated successfully, but these errors were encountered: