Description of problem: Seen in engine log: 2018-01-23 07:46:06,803+01 WARN [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-76) [] File '/usr/share/ovirt-engine/ui-plugins/dashboard-resources/css/main-tab.d3769419.css' is 2839039 bytes l ong. Please reconsider using this servlet for files larger than 1048576 bytes. Version-Release number of selected component (if applicable): ovirt-engine-dashboard-1.2.1-1.el7.centos.noarch ovirt-engine-4.2.1.1-1.el7.centos.noarch
Severity?
FWIW - in dashboard master, the built size of main-tab.*.css is down to 1.4M. It's still over the 1M warning limit, but it is half the size.
(In reply to Yaniv Kaul from comment #1) > Severity? I don't knows implications on using files larger than 1M with this servlet so I can't tell. I would classify this as an improvement because if it would have caused real issues I would have expected to see ERROR here instead of WARNING. Setting severity low for now.
I think the warning should just be removed. We've been using this servlet (and its helper code) for years to serve docs PDFs and other things. I believe alonbl added the warning for files over 1M simply because we should use gzipping and chunking for larger files for better performance.
Verified upstream in ovirt-engine-4.3.0-0.0.master.20181101091940.git61310aa.el7.noarch The warning "File ... is ... bytes long. Please reconsider..." is no longer present in the engine.log, although the Dashboard CSS file is larger than 1 MB: # find /usr/share/ovirt-engine -follow -name '*.css' -size +1M -exec ls -lh {} \+ -rw-r--r--. 1 root root 2.2M Nov 1 15:57 /usr/share/ovirt-engine/ui-plugins/ui-extensions-resources/css/dashboard.a7ce4a11.css
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.