[GH-ISSUE #594] Don't uderstand console configuration #448

Open
opened 2026-02-27 16:39:19 +03:00 by kerem · 1 comment
Owner

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?

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?
Author
Owner

@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:


<graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='192.168.0.200'>
      <listen type='address' address='192.168.0.200'/>
</graphics>

<!-- gh-comment-id:171627480 --> @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: <pre> <code> &ltgraphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='192.168.0.200'&gt &ltlisten type='address' address='192.168.0.200'/&gt &lt/graphics&gt </code> </pre>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#448
No description provided.