Glance image-upload truncates the image.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
Invalid
|
Undecided
|
Arnaud Legendre |
Bug Description
This may be a DUP of #1240355 but I am not sure.
I have three hosts which all are connected to the same shared NFS datastore and glance configured to use it. I am uploading an image and then try to download, but download returns empty string and there is an ERROR in the glance/api.log:
2014-08-25 09:11:01.438 2724 ERROR glance.api.common [893f9ace-
The reproducer:
# echo 123456 | glance -d image-create --name foo --disk-format raw --container-format bare
curl -i -X POST -H 'x-image-
HTTP/1.1 201 Created
content-length: 467
etag: f447b20a7fcbf53
location: http://
date: Mon, 25 Aug 2014 13:10:38 GMT
content-type: application/json
x-openstack-
{"image": {"status": "active", "deleted": false, "container_format": "bare", "min_ram": 0, "updated_at": "2014-08-
+------
| Property | Value |
+------
| checksum | f447b20a7fcbf53
| container_format | bare |
| created_at | 2014-08-25T13:10:20 |
| deleted | False |
| deleted_at | None |
| disk_format | raw |
| id | 46b9b487-
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | foo |
| owner | 94a68b099a674d5
| protected | False |
| size | 7 |
| status | active |
| updated_at | 2014-08-25T13:10:30 |
| virtual_size | None |
+------
[root@incomplet
curl -i -X GET -H 'X-Auth-Token: ***' -H 'Content-Type: application/json' -H 'User-Agent: python-
HTTP/1.1 200 OK
date: Mon, 25 Aug 2014 13:10:52 GMT
content-length: 470
content-type: application/json; charset=UTF-8
x-openstack-
{"images": [{"status": "active", "deleted_at": null, "name": "foo", "deleted": false, "container_format": "bare", "created_at": "2014-08-
curl -i -X GET -H 'X-Auth-Token: ***' -H 'Content-Type: application/
''
affects: | glance → glance-store |
@Arnaud, mind looking at this? I think you know the vmware driver better than anyone else here :D