Bug 1537415
| Summary: | engine complains about serving files > 1M | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Sandro Bonazzola <sbonazzo> |
| Component: | General | Assignee: | Greg Sheremeta <gshereme> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Novotny <pnovotny> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 4.2.1 | CC: | bugs, gshereme, lsvaty, sbonazzo, tjelinek |
| Target Milestone: | ovirt-4.3.0 | Keywords: | CodeChange |
| Target Release: | 4.3.0 | Flags: | rule-engine:
ovirt-4.3?
tjelinek: ovirt-4.4? tjelinek: planning_ack? tjelinek: devel_ack+ lsvaty: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.3.0_alpha | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-02-13 07:48:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | UX | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sandro Bonazzola
2018-01-23 07:06:38 UTC
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. |