Closed dutchiechris closed 7 years ago
2 comments:
Strange, easy enough to reproduce 100% of the time. It seems there's something squirreled away somewhere in the Docker volume side that makes Docker think the volume is still there. It's simply just doing a "Path" command, no Get, no Create etc.
another test I did:
Yeah, the volume in deleted is "ok" we do handle that; there's something weird going on elsewhere though, because as I said it's like Docker thinks it already knows about the volume. You can verify this also by manually purging the deleted volume off the cluster before trying the create again.
I will trace through the layers of the docker_driver in NDVP and the SolidFire code when I get a second. It's most likely something on the delete response but not sure.
I’ve seen this with the SolidFire plug-in, but I don’t think I’ve seen it with ONTAP or E-series, so I’d suspect a plug-in issue initially.
In fact there are a couple of things, and I stand corrected, you were right when you mentioned the purge issue. Turns out that the reason I was still seeing the issue before was environmental. We really need a better method for running ndvp cleanly.
Anyway, fresh env, and another look it is infact related to the volume not being purged. I added a purge to the DeleteVolume in SolidFire, and will get that pushed up against the internal code repo. In the meantime if you want to mess with it:
https://gist.github.com/j-griffith/12f7c8df864203b9e4d218dff042243d
Fixed in 1ee9e36
If you create a volume, delete it, and create it again (same name) it fails to create the volume. I purged the volume from deleted volumes and that didn't help either.