Corrupt image download
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
High
|
Erno Kuvaja |
Bug Description
The logic to try to automatically switch from v2 to v1 has introduced a bug which corrupts the image download.
$ echo hello | glance image-create --disk-format raw --container-format bare --name image1
WARNING: The client is falling back to v1 because the accessing to v2 failed. This behavior will be removed in future versions
+------
| Property | Value |
+------
| checksum | b1946ac92492d23
| container_format | bare |
| created_at | 2015-08-
| deleted | False |
| deleted_at | None |
| disk_format | raw |
| id | 8ec57fee-
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | image1 |
| owner | 411423405e10431
| protected | False |
| size | 6 |
| status | active |
| updated_at | 2015-08-
| virtual_size | None |
+------
$ glance image-download 8ec57fee-
$ md5sum /tmp/image
0f3ba957fea840d
$ cat /tmp/image
WARNING: The client is falling back to v1 because the accessing to v2 failed. This behavior will be removed in future versions
hello
Changed in python-glanceclient: | |
assignee: | nobody → Erno Kuvaja (jokke) |
Changed in python-glanceclient: | |
status: | New → In Progress |
Changed in python-glanceclient: | |
importance: | Undecided → High |
tags: | added: 1.0.0-potential |
Changed in python-glanceclient: | |
milestone: | none → 1.1.0 |
status: | Fix Committed → Fix Released |
kragniz lives!