Bug 1534544

Summary: engine log 404 Error message for lang.css when viewing documentation
Product: Red Hat Enterprise Virtualization Manager Reporter: Avihai <aefrat>
Component: rhvm-docAssignee: Greg Sheremeta <gshereme>
Status: CLOSED ERRATA QA Contact: David Necpal <dnecpal>
Severity: low Docs Contact:
Priority: low    
Version: 4.2.1CC: bugs, gshereme, lsvaty, tjelinek
Target Milestone: ovirt-4.2.2Flags: dnecpal: testing_plan_complete-
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-23 12:51:22 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:
Attachments:
Description Flags
engine log none

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