yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92554
[Bug 2025343] [NEW] horizon image upload fail - size over 1G
Public bug reported:
An error occurs when uploading an image larger than approximately 1
gigabytes.
it appears
{"data":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>413 Request Entity Too
Large</title>\n</head><body>\n<h1>Request Entity Too Large</h1>\nThe
requested resource does not allow request data with POST requests, or
the amount of data provided in\nthe request exceeds the capacity
limit.\n</body></html>\n","status":413,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/api/glance/images/","data":{"source_type":"file-
legacy","data":{},"is_copying":false,"protected":false,"min_disk":30,"min_ram":0,"container_format":"bare","disk_format":"qcow2","visibility":"public","name":"CentOS-8"},"_isDigested":true,"_chunkSize":null,"headers":{"Accept":"application/json,
text/plain, */*","X-Requested-
With":"XMLHttpRequest","X-CSRFToken":"NHilkpdwFjreV0KoSHmXh0g8UsJGxrU4ZEOy1umVlAPXGl8ilV9qCgYWHCxhUulN"},"_deferred":{"promise":{}}},"statusText":"Request
Entity Too Large","xhrStatus":"complete"}
or
TypeError: Cannot read properties of undefined (reading 'data')
It is possible that mod_deflate is imposing a restriction.
The workaround is at the bottom of horizon.conf like below
LimitRequestBody 0
or
use skyline :)
** Affects: horizon
Importance: Undecided
Status: New
** Description changed:
An error occurs when uploading an image larger than approximately 1
gigabytes.
I don't think there is a limit on the mod_deflate side.
The workaround is at the bottom of horizon.conf like below
LimitRequestBody 0
+
+
+ or
+
+ use skyline :)
** Description changed:
An error occurs when uploading an image larger than approximately 1
gigabytes.
+
+ it appears
+
+ {"data":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
+ 2.0//EN\">\n<html><head>\n<title>413 Request Entity Too
+ Large</title>\n</head><body>\n<h1>Request Entity Too Large</h1>\nThe
+ requested resource does not allow request data with POST requests, or
+ the amount of data provided in\nthe request exceeds the capacity
+ limit.\n</body></html>\n","status":413,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/api/glance/images/","data":{"source_type":"file-
+ legacy","data":{},"is_copying":false,"protected":false,"min_disk":30,"min_ram":0,"container_format":"bare","disk_format":"qcow2","visibility":"public","name":"CentOS-8"},"_isDigested":true,"_chunkSize":null,"headers":{"Accept":"application/json,
+ text/plain, */*","X-Requested-
+ With":"XMLHttpRequest","X-CSRFToken":"NHilkpdwFjreV0KoSHmXh0g8UsJGxrU4ZEOy1umVlAPXGl8ilV9qCgYWHCxhUulN"},"_deferred":{"promise":{}}},"statusText":"Request
+ Entity Too Large","xhrStatus":"complete"}
+
+ or
+
+ TypeError: Cannot read properties of undefined (reading 'data')
+
I don't think there is a limit on the mod_deflate side.
The workaround is at the bottom of horizon.conf like below
LimitRequestBody 0
-
or
use skyline :)
** Description changed:
An error occurs when uploading an image larger than approximately 1
gigabytes.
it appears
{"data":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>413 Request Entity Too
Large</title>\n</head><body>\n<h1>Request Entity Too Large</h1>\nThe
requested resource does not allow request data with POST requests, or
the amount of data provided in\nthe request exceeds the capacity
limit.\n</body></html>\n","status":413,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/api/glance/images/","data":{"source_type":"file-
legacy","data":{},"is_copying":false,"protected":false,"min_disk":30,"min_ram":0,"container_format":"bare","disk_format":"qcow2","visibility":"public","name":"CentOS-8"},"_isDigested":true,"_chunkSize":null,"headers":{"Accept":"application/json,
text/plain, */*","X-Requested-
With":"XMLHttpRequest","X-CSRFToken":"NHilkpdwFjreV0KoSHmXh0g8UsJGxrU4ZEOy1umVlAPXGl8ilV9qCgYWHCxhUulN"},"_deferred":{"promise":{}}},"statusText":"Request
Entity Too Large","xhrStatus":"complete"}
or
TypeError: Cannot read properties of undefined (reading 'data')
-
- I don't think there is a limit on the mod_deflate side.
+ It is possible that mod_deflate is imposing a restriction.
The workaround is at the bottom of horizon.conf like below
LimitRequestBody 0
or
use skyline :)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/2025343
Title:
horizon image upload fail - size over 1G
Status in OpenStack Dashboard (Horizon):
New
Bug description:
An error occurs when uploading an image larger than approximately 1
gigabytes.
it appears
{"data":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>413 Request Entity Too
Large</title>\n</head><body>\n<h1>Request Entity Too Large</h1>\nThe
requested resource does not allow request data with POST requests, or
the amount of data provided in\nthe request exceeds the capacity
limit.\n</body></html>\n","status":413,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/api/glance/images/","data":{"source_type":"file-
legacy","data":{},"is_copying":false,"protected":false,"min_disk":30,"min_ram":0,"container_format":"bare","disk_format":"qcow2","visibility":"public","name":"CentOS-8"},"_isDigested":true,"_chunkSize":null,"headers":{"Accept":"application/json,
text/plain, */*","X-Requested-
With":"XMLHttpRequest","X-CSRFToken":"NHilkpdwFjreV0KoSHmXh0g8UsJGxrU4ZEOy1umVlAPXGl8ilV9qCgYWHCxhUulN"},"_deferred":{"promise":{}}},"statusText":"Request
Entity Too Large","xhrStatus":"complete"}
or
TypeError: Cannot read properties of undefined (reading 'data')
It is possible that mod_deflate is imposing a restriction.
The workaround is at the bottom of horizon.conf like below
LimitRequestBody 0
or
use skyline :)
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/2025343/+subscriptions