NetApp ontap driver fails to clone file from glance and cinder image cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Cinder |
Undecided
|
Unassigned |
Bug Description
The netapp ontap cinder drivers always clones images from the glance store, or cached images (both on the same flexvol) with the function _clone_
There are two possible solutions:
1. Don't set dest_exists always to True. In my opinion there shouldn't already be a file with the same name, because a new volume always gets a new unique ID and if the destination file already exists netapp throws an error and the sys-admin should check it manually.
2. Implement a function to check if the file already exists, don't set it to True by default and move the function _clone_
tags: | added: drivers netapp |
Lars (l4rs) wrote : | #2 |
Yes, sure.
Cinder:
ii cinder-api 2:13.0.
ii cinder-common 2:13.0.
ii cinder-scheduler 2:13.0.
ii cinder-volume 2:13.0.
ii python-cinder 2:13.0.
ii python-cinderclient 1:3.5.0-0ubuntu1 all Python bindings to the OpenStack Volume API - Python 2.x
NetApp:
mynetapp::> version
NetApp Release 8.3.2P6: Mon Sep 12 12:29:03 UTC 2016
Do you need any further information?
Hi Lars, the issue is with the version of ONTAP. This has been resolved in ONTAP 9.x, so if you upgrade ONTAP to any 9.x version, you will not be seeing this.
Lars (l4rs) wrote : | #4 |
Hi, thank you for clarification. We will update our netapp storage and this bug can be closed.
Changed in cinder: | |
status: | New → Invalid |
Lars (l4rs) wrote : | #5 |
Hi Balasubramanian, where did you find that information, that this bug has been fixed in 9.2? We are looking for a minor update to fix this, because at the moment we are unable to update our netapp to 9.2. Thank you.
I am not sure if there is any documentation that reflects this, but I have tried it on 9.1, 9.2 and 9.3 and do not observe this issue.
Can you share some details about your environment? (Version of ONTAP, OpenStack)?