cinder image cache fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
John Griffith |
Bug Description
Enabled your cinder driver to use the image cache feature
create a volume from image.
It fails to create the cache image every time.
There is a silent failure in the volume/manager.py's _clone_image_volume
https:/
deleting the key volume_type fails, but since we wrap that entire block in a try Exception and return false, we never get notified why it failed.
I believe the patch that caused this failure is
https:/
as it changed the volume ref to a versionedobject and since we trap that failure and don't log it and return false, it silently fails.
I modified the except Exception to raise the exception that this is what I get
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
2015-12-11 16:56:37.948 TRACE cinder.
Fix proposed to branch: master /review. openstack. org/256966
Review: https:/