NetApp NFS driver: dst_img_local referenced before assignment
Bug #1309047 reported by
Alex Meade
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Alex Meade | ||
Icehouse |
Fix Released
|
Undecided
|
Andrew Kerr |
Bug Description
There is an incorrect try statement in netapp/nfs.py where if an error occurs when performing copyoffload. The finally statement will raise an error that masks the original issue. Details:
"Copy offload workflow unsuccessful. local variable 'dst_img_local' referenced before assignment"
Instead, this try statement should only wrap the lines that require the cleanup in the finally block instead of wrapping the entire code block.
Changed in cinder: | |
status: | New → In Progress |
assignee: | nobody → Alex Meade (alex-meade) |
Changed in cinder: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/88343
Review: https:/