mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 15:45:51 +03:00
[GH-ISSUE #594] Don't uderstand console configuration #448
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @majales on GitHub (Jan 13, 2016).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/594
Hi,
First of all, thanks for you effort. Webvirtmgr looks very promising to me.
I have problem to fully and clearly understand how to properly configure console in my local network. I have one webserver with webvirtmgr only (IP 192.168.0.10 ) and then two dedicated servers with KVM (IP 192.168.0.100 and 192.168.0.200) configured in webvirtmgr via TCP connection. When I setup settings.py variables in this way:
WS_PORT = 6080
WS_HOST = '192.168.0.10'
WS_PUBLIC_HOST = '192.168.0.10'
console does not work.
I have tried to debug connections and it looks like it is searching for unix socket connection at webserver instead of at one of the KVM servers.
If I configure WS_HOST and WS_PUBLIC_HOST to IP 192.168.0.100 it works only with first KVM server and vice versa. In this case webvirtmgr-console process at webserver is not running.
supervisorctl status
webvirtmgr RUNNING pid 31391, uptime 0:04:39
webvirtmgr-console FATAL Exited too quickly (process log may have details)
So my question is how I shoud configure webvirtmgr console properly?
@majales commented on GitHub (Jan 14, 2016):
Hi again,
I have double checked everything but I got everytime "Connect timeout" error on console. I have tried tcpdump listening on websocket port 5700 on webserver with webvirtmgr installed and it is showing that my browser is trying to open websocket connection there and I don´t know why. Of course there is no websocket listening on webserver. It should be opening websocket on one of the KVM servers.
This is part of my vm config regarding VNC and websocket: