Hello, I have been facing this issue since yesterday.
With a one controller and one compute setup using OpenStack Kilo, I am not able to launch an instance anymore. Using a cirros image, nova compute logs the following whenever I try to launch a VM: 2016-03-29 11:33:16.205 128567 TRACE nova.compute.manager [instance: 9846b306-3133-4fc8-a180-be736742c6b7] IOError: [Errno 32] Corrupt image download. Checksum was b649297f458524de2c0d597c6297d2b4 expected ee1eca47dc88f4879d8a229cc70a07c6 I tried downloading the image on both the controller and the compute. On the controller, I was able to download the image just fine (with the correct MD5 value). On compute, I got the incorrect hash error again: kkelkar@dchi:~$ glance --debug image-download --file test.img 644be734-22fb-4c31-8a8c-6263d38669d0 curl -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}226c9953fcc581616eafda6d61af65f2bbbe48a0' -H 'Content-Type: application/octet-stream' http://dcbak:9292/v2/images/644be734-22fb-4c31-8a8c-6263d38669d0/file HTTP/1.1 200 OK content-length: 13287936 content-md5: ee1eca47dc88f4879d8a229cc70a07c6 connection: keep-alive date: Tue, 29 Mar 2016 16:48:07 GMT content-type: application/octet-stream x-openstack-request-id: req-520218c0-e535-4851-9c23-f4b13b7e4bad Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/glanceclient/shell.py", line 637, in main args.func(client, args) File "/usr/lib/python2.7/dist-packages/glanceclient/v2/shell.py", line 236, in do_image_download utils.save_image(body, args.file) File "/usr/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 252, in save_image for chunk in data: File "/usr/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 398, in integrity_iter (md5sum, checksum)) IOError: [Errno 32] Corrupt image download. Checksum was a532f19a03d19ef6c7349935e45a50a4 expected ee1eca47dc88f4879d8a229cc70a07c6 kkelkar@dchi:~$ ls -ld test.img -rw-rw-r-- 1 kkelkar kkelkar 13287936 Mar 29 12:48 test.img kkelkar@dchi:~$ openssl dgst -md5 test.img MD5(test.img)= a532f19a03d19ef6c7349935e45a50a4 Every time I tried to download the image on the compute, I get a new hash value (albeit, a wrong one). I am using glance with file backend. The image is stored on the controller, kkelkar@dcbak:~$ ls -l /var/lib/glance/images/ total 12980 -rw-r----- 1 glance glance 13287936 Mar 29 10:23 644be734-22fb-4c31-8a8c-6263d38669d0 Did anybody faced a similar issue before? Thanks, Kaustubh
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack