Closed dutchiechris closed 7 years ago
yeah, there's a few things missing in that implementation, I've got a fix started, should have it posted here early next week.
I've got this started in a branch here: https://github.com/j-griffith/netappdvp/tree/update_attributes_on_sf_clone
Few details to finish up and some testing then I'll get a PR up for it.
@j-griffith,
Great to hear you are working on it!
I noticed while using the docker create -o from=source-vol
syntax to create a clone in v1.3 that QoS settings are also inherited on the clone (good) but if you pass -o type=dev
or -o qos=100,200,300
it does not override them (bad).
While working on this bit of code can you also modify to update QoS on the clone if provided by the user? Thanks!
Fixed in e7e2db5
Related to the change https://github.com/NetApp/netappdvp/pull/34 cloning broke.
Create a vol and a clone of it:
Docker says everything is ok. Try to mount the clone:
Checking the attributes metadata of the clone it is empty:
Looks like the create clone logic was not updated to populate the attributes metadata which then causes the subsequent mount to fail.
Also, if you create a new clone with underscores in the name (example:
docker volume create -d netapp --name base__clone -o from=base
) it succeeds to make a Docker vol but no SolidFire vol is actually created. Please fix/verify underscore support for src and clone vol as well.