Closed dutchiechris closed 7 years ago
Hi dutchiechris ,
Yes, that's a problem with the change in accessor; it actually came up when we were making the change but figured it would be safe because the original version wasn't out long and was early.
Regardless, it's not too bad to just add a fall back in case of failures and check for the old-style. Here's a quick gist of what I think would be a descent solution, I'll add another step in cases where it has to do the fallback where it also updates the volume with the attribute setting. Have to wait til tomorrow before I can get some testing on it though.
https://gist.github.com/j-griffith/db1408303c233aebe870e85a0826ae2e
Thanks, John
I've submitted PR #58 to address the naming issues: https://github.com/NetApp/netappdvp/pull/58
Fixed in e7e2db5
https://github.com/NetApp/netappdvp/pull/34, a change to support more flexible volume naming, does not appear to be backward compatible; a volume created prior to 1.3.2 cannot be connected to with 1.3.2. This is a breaking change.
An example error message:
The root cause appears to be that prior to this change the nDVP used the SolidFire volume name to identify the correct volume, and after it uses a new volume attributes value from key
docker-name
.I was able to regain management by manually setting the volume attributes:
First, find the volumeID of the volume that you need to 'upgrade' to support 1.3.2 by creating a json file (or checking in the GUI); in my example netappdvp-docker15 (docker vol
docker15
with the default nDVP added prefix):Then run that API against the cluster:
We see it is
46
, so this is the one we need to modify:Create a modify JSON file with the following attributes:
Thereafter you can manage the volume again. Repeat for all vols you want to update to be compatible with 1.3.2