Bug 1098574 - Improve ovirt-websocket-proxy debbuging logs
Summary: Improve ovirt-websocket-proxy debbuging logs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Vinzenz Feenstra [evilissimo]
QA Contact: Jiri Belka
URL:
Whiteboard:
Depends On: 1232617
Blocks: 1072347
TreeView+ depends on / blocked
 
Reported: 2014-05-16 15:04 UTC by Amador Pahim
Modified: 2016-04-20 01:31 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-20 01:31:00 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:
sherold: Triaged+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 32138 0 master MERGED core: Adjust websockify to the new 0.6.0 API 2020-06-17 14:15:45 UTC
oVirt gerrit 46440 0 ovirt-engine-3.6 MERGED core: Adjust websockify to the new 0.6.0 API 2020-06-17 14:15:45 UTC

Description Amador Pahim 2014-05-16 15:04:32 UTC
It is hard to debug websocket proxy currently. In current version, we can catch extra information from ovirt-websocket-proxy service by edditing "/etc/init.d/ovirt-websocket-proxy" file, removing "--redirect-output \" (line 44). The daemon output then goes to the console.

Please improve ovirt-websocket-proxy log, by redirecting daemon outputs/debbug messages to a log file in "/var/log" directory.

Comment 2 Michal Skrivanek 2015-04-28 13:13:03 UTC
should be simple, just need to pick up the new python-websockify and finish up the posted patch

Comment 4 Barak 2015-07-06 13:43:43 UTC
This is not an RFE (hence removed the RFE from title)

Comment 5 Jiri Belka 2015-11-04 17:21:04 UTC
ok, rhevm-websocket-proxy-3.6.0.3-0.1.el6.noarch

[root@jb-rhevm36 tmp]# grep -i 'websocket.*trace' /var/log/messages
Nov  4 18:14:16 jb-rhevm36 2015-11-04 18:14:16,942 ovirt-websocket-proxy: INFO msg:824   - Recording to '/tmp/websocketproxy_trace.log.*'
[root@jb-rhevm36 tmp]# ls -l /tmp/websocketproxy_trace.log*
-rw-r--r--. 1 ovirt ovirt 1024000 Nov  4 18:18 /tmp/websocketproxy_trace.log.2
-rw-r--r--. 1 ovirt ovirt       0 Nov  4 18:18 /tmp/websocketproxy_trace.log.3
-rw-r--r--. 1 ovirt ovirt  131072 Nov  4 18:18 /tmp/websocketproxy_trace.log.4
-rw-r--r--. 1 ovirt ovirt       0 Nov  4 18:18 /tmp/websocketproxy_trace.log.5
[root@jb-rhevm36 tmp]# cat /etc/ovirt-engine/ovirt-websocket-proxy.conf.d/00-my.conf
TRACE_ENABLE=True
TRACE_FILE=/tmp/websocketproxy_trace.log


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