Support user data content upto 1048576 bytes - updated jetty maxFormContentSize value to 1048576 bytes (default is 200000 bytes)#8420
Conversation
…00000 bytes), to support user data upto 1048576 bytes
|
@blueorangutan package |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #8420 +/- ##
============================================
- Coverage 30.85% 30.80% -0.06%
+ Complexity 34048 33980 -68
============================================
Files 5341 5341
Lines 374861 374870 +9
Branches 54518 54518
============================================
- Hits 115659 115468 -191
- Misses 243973 244145 +172
- Partials 15229 15257 +28
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8173 |
|
@blueorangutan test |
|
@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-8704)
|
kiranchavala
left a comment
There was a problem hiding this comment.
LGTM, Tested it manually by passing a user-data of size 686kb and there was no Error code 400 observed.
Also changed the global setting parameter value
"Vm userdata max length (vm.userdata.max.length) " to its max value of 1048576
sample userdata
test2.zip
…00000 bytes), to support user data upto 1048576 bytes (apache#8420) This PR enables support for user data content upto 1048576 bytes - updates jetty maxFormContentSize value to 1048576 bytes (default is 200000 bytes). CloudStack can support max user data content to 1048576 bytes (the size can be configurable through vm.userdata.max.length setting, max 1048576), but it's limited due to the default Jetty max content size, which is 200000 bytes. Configuration Reference from jetty doc: https://eclipse.dev/jetty/documentation/jetty-9/index.html#configuring-specific-webapp-deployment (check with maxFormContentSize here)
Description
This PR enables support for user data content upto 1048576 bytes - updates jetty maxFormContentSize value to 1048576 bytes (default is 200000 bytes).
CloudStack can support max user data content to 1048576 bytes (the size can be configurable through vm.userdata.max.length setting, max 1048576), but it's limited due to the default Jetty max content size, which is 200000 bytes.
Configuration Reference from jetty doc:
https://eclipse.dev/jetty/documentation/jetty-9/index.html#configuring-specific-webapp-deployment (check with maxFormContentSize here)
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Manually tested by creating instance with manual user data entry.
How did you try to break this feature and the system with this change?