Ask Your Question
0

Is there a size limit to the images you can upload through horizon?

asked 2016-10-03 20:34:31 -0500

treed gravatar image

Attempted to upload large (> 300GB) VMDK image through Horizon. Received following message - "Danger: There was an error submitting the form. Please try again."

Please advise on any configurations or conversion that will allow for this image to be uploaded successfully. If further information is needed I will provide it ASAP.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-10-04 13:52:15 -0500

From the Horizon docs:

Horizon itself does not impose any restrictions on the size of file uploads, production deployments will want to consider configuring their server hosting the Horizon application to enforce such a limit to prevent large uploads exhausting system resources and disrupting services. Deployments using Apache2 can use the LimitRequestBody directive to achieve this.

I suspect this is what is happening in your case - a resource somewhere is being exhausted / a timeout is expiring and is failing the upload with the error you see in Horizon. The Apache logs (/var/log/httpd/) on wherever Horizon is running would be a good start, as would /var/log/glance/.

300GB is a pretty gigantic image for an http-based upload - I'd upload it via the glance commandline client if I possibly could.

edit flag offensive delete link more
0

answered 2016-10-10 07:46:17 -0500

thewizardofOZ gravatar image

300GB is quite big for http upload, your token will timeout eventually, I'd recommend you to use cli http://docs.openstack.org/cli-referen...

glance image-create command will work for you.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-10-03 20:34:31 -0500

Seen: 1,058 times

Last updated: Oct 10 '16