glance image-create window 2012 R2 with 500 error

asked 2015-01-24 09:07:29 -0600

LZ gravatar image

I downloaded windows_server_2012_r2_standard_eval_kvm_20140607.qcow2.gz from

and follow the step with command

gunzip -cd windows_server_2012_r2_standard_eval_kvm_20140607.qcow2.gz | glance image-create --property hypervisor_type=hyperv --name "Windows Server 2012 R2 Std Eval" --container-format bare --disk-format qcow2

after about 60 seconds I got following error.

gzip: windows_server_2012_r2_standard_eval_kvm_20140607.qcow2.gz: unexpected end of file <html> <head> <title>500 Internal Server Error</title> </head> <body>

500 Internal Server Error

Failed to upload image 185aedfc-ea00-47d5-918a-d02e3fbea2ab

</body> </html> (HTTP 500)

edit retag flag offensive close merge delete


I am guessing this image might be rather large as having worked with a Win 2012 image before it was pretty big. I am wondering if you are running into a timeout. Check glance logs. I am assuming you do not get this error with smaller images?

schmaustech gravatar imageschmaustech ( 2015-01-25 06:12:16 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-01-25 12:18:12 -0600

ociuhandu gravatar image

Did you confirm the MD5 of the downloaded file? It looks like the gunzip process fails due to unexpected end of file.

edit flag offensive delete link more

answered 2015-01-24 12:13:22 -0600

Look at glance-api.log for the trace to get more info on why glance is returning a 500 error.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-01-24 09:07:29 -0600

Seen: 681 times

Last updated: Jan 24 '15