ravada
ravada copied to clipboard
Can't start Ravada VM with IPv6 only.
Describe the bug I've tried to start a virtual machine using Ravada on an IPv6-only server. If I try to start the machine, this error occured.
To Reproduce Steps to reproduce the behavior:
- replace the appropriate listener at /etc/rvd_front.conf with
listen => ['http://[::]:8081']
- Login to Ravada web
- create a virtual machine (e.g. Windows 11)
- Try to start the machine
Expected behavior Start the virtual machine
Screenshots
Server (please complete the following information):
- OS: Ubuntu 22.04
- Ravada Version 2.1.0
Client (please complete the following information):
- Browser: - Browser Firefox
- OS: Fedora 38
Additional context There is an additional error log message:
Jul 19 13:21:58 server rvd_front[107109]: [2023-07-19 13:21:58.49419] [107109] [error] [4WeEWF9urPGf] Error: remote ip invalid 'fd00:fffe::2' at /usr/share/perl5/Ravada/Request.pm line 446.
Jul 19 13:21:58 server rvd_front[107109]: Ravada::Request::start_domain("Ravada::Request", "uid", 3, "id_domain", 2, "remote_ip", "fd00:fffe::2", "enable_host_devices", ...) called at /usr/sbin/rvd_front line 3330
The address fd00:fffe::2 is the appropriate address of my Fedora client.
Hm, I've noticed that other things also not works with ipv6 only - the itself VM runs, but can't be connected via spice:
Great you found it. Trying to build IPV6 may need more work. It is a pretty interesting project though and it would be nice to complete it.
In the specific part you found the crash, you have to know that Ravada relies heavily on iptables for security reasons. So first we need to make it work too. I have never used ipv6 but if you are willing to work on it I will give you all the assistance that I can.
Thank you for offering assistance. Tomorrow, I will open a new issue as a "collection thread" to discuss IPv6 support. As far as I have seen so far, there are unfortunately more construction sites. I will try my best to address these.