Bug 1534544 - engine log 404 Error message for lang.css when viewing documentation
Summary: engine log 404 Error message for lang.css when viewing documentation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhvm-doc
Version: 4.2.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ovirt-4.2.2
: ---
Assignee: Greg Sheremeta
QA Contact: David Necpal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-15 13:17 UTC by Avihai
Modified: 2019-05-16 13:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-05-23 12:51:22 UTC
oVirt Team: UX
Target Upstream Version:
Embargoed:
dnecpal: testing_plan_complete-


Attachments (Terms of Use)
engine log (556.18 KB, application/x-gzip)
2018-01-15 13:17 UTC, Avihai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 87995 0 master MERGED engine: decrease 404 log levels 2018-02-27 13:56:16 UTC
oVirt gerrit 88272 0 ovirt-engine-4.2 MERGED engine: decrease 404 log levels 2018-02-28 09:53:27 UTC

Description Avihai 2018-01-15 13:17:26 UTC
Created attachment 1381437 [details]
engine log

Description of problem:
The Administration Guide window open but the following ERROR appear in the engine.log. 

Engine log:
2018-01-15 15:08:30,595+02 ERROR [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-18) [] Can't read file '/usr/share/doc/rhvm-doc/manual/en-US/html/Administration_Guide/Common_Content/css/lang.css' for request '/ovirt-engine/docs/manual/en_US/html/Administration_Guide/Common_Content/css/lang.css', will send a 404 error response.


Version-Release number of selected component (if applicable):


How reproducible:
At Firefox it happens each time at chrome it only happened a couple of times.

Chrome Version 61.0.3163.100 (Official Build) (64-bit)
Firefox 

Steps to Reproduce:
1.Webadmin-> Dashboard -> Guide 

Actual results:
The Administration Guide window open but the following ERROR appear in the engine.log. 

Engine log:
2018-01-15 15:08:30,595+02 ERROR [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-18) [] Can't read file '/usr/share/doc/rhvm-doc/manual/en-US/html/Administration_Guide/Common_Content/css/lang.css' for request '/ovirt-engine/docs/manual/en_US/html/Administration_Guide/Common_Content/css/lang.css', will send a 404 error response.


Expected results:


Additional info:

Comment 1 Greg Sheremeta 2018-02-20 20:10:30 UTC
Tweaking the subject a bit.

It's actually sort of ok that the lang.css file is missing. It's missing due to a bug in the Red Hat Documentation brand template.

But it's not ok to spam the log with "Error" for this css file, nor do I think a 404 is a true error condition. It's info, warning at best. If an admin wants to see 404s, she can turn up logging to info. Perhaps we could consider a separate 404.log.

So I'm not going to deal specifically with lang.css in the fix. I'll just turn down 404s to info level.

Comment 2 David Necpal 2018-03-07 14:56:34 UTC
Verified on version: ovirt-engine-4.2.2.2-0.1.el7.noarch

2018-03-07 15:53:40,372+01 INFO  [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-9) [] Can't read file '/usr/share/doc/rhvm-doc/manual/en-US/Administration_Guide/html/Common_Content/css/lang.css' for request '/ovirt-engine/docs/Administration_Guide/Common_Content/css/lang.css' -- 404

Comment 3 Franta Kust 2019-05-16 13:07:26 UTC
BZ<2>Jira Resync


Note You need to log in before you can comment on or make changes to this bug.