Fix TypeError when downloading an image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Undecided
|
wangyu | ||
Glance Client |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
There were two patches to fix TypeError when downloading an image[1][2],but It seems that this problem still exists.
[1]https:/
[2]https:/
The glance documentation states that None (empty image) is a valid return value. We have to handle this.
https:/
However,
When cinder uses glanceclient.
RequestIdProxy.
RequestIdProxy.
So image_chunks can not be None at any time, it need to be fixed.
Fix proposed to branch: master /review. opendev. org/731101
Review: https:/