cinder-volume with rbd driver should not accept image whose size is 0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
Currently, in cinder/
Since there is no validation check logic (Maybe I did not find codebase at least Ocata release), it just occurs exception like below
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
2019-02-18 10:04:19.791 25856 ERROR cinder.
I think it should any validation so that image with size 0 should be avoided for users.
Thanks
Could you provide steps for how you had a 0 size image?