Got error if create image with v2 and update it with v1
Bug #1258160 reported by
Feilong Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Yanis Guenane |
Bug Description
When I was test something, I create an empty image with v2 by:
glance --os-image-
And then I update it with v1 like:
glance image-update 82a0c149-
Then there will be an error as below though the update successfully.
int() argument must be a string or a number, not 'NoneType'
Changed in glance: | |
assignee: | nobody → Yanis Guenane (yanis-guenane) |
Changed in glance: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in glance: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
After tracking down the issue, the problem come from the fact that
* In v2: image_meta['size'] is None
* In v1: image_meta['size'] is 0