kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.12k stars 364 forks source link

[Debian] No Virtualisation tab #1100

Closed zaggynl closed 7 years ago

zaggynl commented 7 years ago

Looks similar to: https://github.com/kimchi-project/kimchi/issues/852

Installed debs in order wok,ginger-base, kimchi, ran apt-get install -f when needed, rebooted for kernel modules.

root@openmediavault:/# service wokd stop
root@openmediavault:/# wokd --environment=dev                                          
*** Ginger Base: Running capabilities tests ***
System Report Tool ...: True
Loading AptUpdate features.
System Update Tool ...: True
Repo Management Tool .: deb
*** Ginger Base: Capabilities tests completed ***
libvirt: QEMU Driver error : Domain not found: no domain with matching name 'FEATURETEST_VM'
libvirt: Storage Driver error : Storage pool not found: no storage pool with matching name 'FEATURETEST_POOL'

*** Kimchi: Running feature tests ***
Service Libvirtd running ...: True
libvirt:  error : Cannot find '' in path: No such file or directory
Cannot find '' in path: No such file or directory
NFS Target Probe support ...: False
Fibre Channel Host support .: True
Kernel VFIO support ........: True
Network Manager running ....: False
libvirt: Domain Config error : unsupported configuration: unknown device type 'memory'
Memory Hotplug support .....: False
*** Kimchi: Feature tests completed ***

libvirt: Firewall error : direct firewall backend requested, but /sbin/ebtables is not available: No such file or directory
Fatal: Unable to activate network default.
Details: direct firewall backend requested, but /sbin/ebtables is not available: No such file or directory
Failed to import plugin plugins.kimchi.Kimchi, error: Network default does not exist or is not active. Please, check the configuration in /etc/kimchi/template.conf to ensure it lists only valid networks.
[05/Jan/2017:22:10:51] ENGINE Listening for SIGHUP.
[05/Jan/2017:22:10:51] ENGINE Listening for SIGTERM.
[05/Jan/2017:22:10:51] ENGINE Listening for SIGUSR1.
[05/Jan/2017:22:10:51] ENGINE Bus STARTING
[05/Jan/2017:22:10:51] ENGINE Started monitor thread 'Autoreloader'.
[05/Jan/2017:22:10:51] ENGINE Started monitor thread 'Session cleanup'.
192.168.1.210 - - [05/Jan/2017:22:10:51] "GET /plugins/gingerbase/host/stats HTTP/1.0" 401 1016 "https://192.168.1.101:8001/" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0"
[05/Jan/2017:22:10:52] ENGINE Serving on http://127.0.0.1:8010

*** Kimchi: Running dependable feature tests ***
192.168.1.210 - - [05/Jan/2017:22:10:52] "GET /login.html?error=sessionTimeout HTTP/1.0" 200 22647 "https://192.168.1.101:8001/" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0"
INFO:cherrypy.access.139759965002512:192.168.1.210 - - [05/Jan/2017:22:10:52] "GET /login.html?error=sessionTimeout HTTP/1.0" 200 22647 "https://192.168.1.101:8001/" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0"
QEMU stream support .......: False
INFO:cherrypy.error:QEMU stream support .......: False
Libvirt Stream Protocols ..: ['http', 'https', 'ftp', 'ftps', 'tftp']
INFO:cherrypy.error:Libvirt Stream Protocols ..: ['http', 'https', 'ftp', 'ftps', 'tftp']
*** Kimchi: Dependable feature tests completed ***

INFO:cherrypy.error:*** Kimchi: Dependable feature tests completed ***
lcorreia commented 7 years ago

Hi, if it's a VM check if this solution works: https://pvital.wordpress.com/2015/09/18/nested-virtualization-and-the-network-issue

Regards,

On Thu, Jan 5, 2017 at 7:14 PM, zaggynl notifications@github.com wrote:

Looks similar to: #852 https://github.com/kimchi-project/kimchi/issues/852

Installed debs in order wok,ginger-base, kimchi, ran apt-get install -f when needed, rebooted for kernel modules.

root@openmediavault:/# service wokd stop root@openmediavault:/# wokd --environment=dev Ginger Base: Running capabilities tests System Report Tool ...: True Loading AptUpdate features. System Update Tool ...: True Repo Management Tool .: deb Ginger Base: Capabilities tests completed libvirt: QEMU Driver error : Domain not found: no domain with matching name 'FEATURETEST_VM' libvirt: Storage Driver error : Storage pool not found: no storage pool with matching name 'FEATURETEST_POOL'

Kimchi: Running feature tests Service Libvirtd running ...: True libvirt: error : Cannot find '' in path: No such file or directory Cannot find '' in path: No such file or directory NFS Target Probe support ...: False Fibre Channel Host support .: True Kernel VFIO support ........: True Network Manager running ....: False libvirt: Domain Config error : unsupported configuration: unknown device type 'memory' Memory Hotplug support .....: False Kimchi: Feature tests completed

libvirt: Firewall error : direct firewall backend requested, but /sbin/ebtables is not available: No such file or directory Fatal: Unable to activate network default. Details: direct firewall backend requested, but /sbin/ebtables is not available: No such file or directory Failed to import plugin plugins.kimchi.Kimchi, error: Network default does not exist or is not active. Please, check the configuration in /etc/kimchi/template.conf to ensure it lists only valid networks. [05/Jan/2017:22:10:51] ENGINE Listening for SIGHUP. [05/Jan/2017:22:10:51] ENGINE Listening for SIGTERM. [05/Jan/2017:22:10:51] ENGINE Listening for SIGUSR1. [05/Jan/2017:22:10:51] ENGINE Bus STARTING [05/Jan/2017:22:10:51] ENGINE Started monitor thread 'Autoreloader'. [05/Jan/2017:22:10:51] ENGINE Started monitor thread 'Session cleanup'. 192.168.1.210 - - [05/Jan/2017:22:10:51] "GET /plugins/gingerbase/host/stats HTTP/1.0" 401 1016 "https://192.168.1.101:8001/" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0" [05/Jan/2017:22:10:52] ENGINE Serving on http://127.0.0.1:8010

Kimchi: Running dependable feature tests 192.168.1.210 - - [05/Jan/2017:22:10:52] "GET /login.html?error=sessionTimeout HTTP/1.0" 200 22647 "https://192.168.1.101:8001/" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0" INFO:cherrypy.access.139759965002512:192.168.1.210 - - [05/Jan/2017:22:10:52] "GET /login.html?error=sessionTimeout HTTP/1.0" 200 22647 "https://192.168.1.101:8001/" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0" QEMU stream support .......: False INFO:cherrypy.error:QEMU stream support .......: False Libvirt Stream Protocols ..: ['http', 'https', 'ftp', 'ftps', 'tftp'] INFO:cherrypy.error:Libvirt Stream Protocols ..: ['http', 'https', 'ftp', 'ftps', 'tftp'] Kimchi: Dependable feature tests completed

INFO:cherrypy.error: Kimchi: Dependable feature tests completed

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kimchi-project/kimchi/issues/1100, or mute the thread https://github.com/notifications/unsubscribe-auth/ABbudswHaWbN45Eu8xe1gge8LUDP68hbks5rPV0pgaJpZM4LcIp6 .

--

Lucio Correia Software Engineer

zaggynl commented 7 years ago

I'm running OMV directly on server, thanks.

zaggynl commented 7 years ago

Seems to be resolved after installing dnsmasq and ebtables! Also needed qemu-utils, otherwise couldn't create a VM.

zaggynl commented 7 years ago

Made the following install/update scripts for myself, unless someone finds a better way: Install script:

#!/bin/bash
apt-get install dnsmasq ebtables qemu-utils
wget http://kimchi-project.github.io/gingerbase/downloads/latest/ginger-base.noarch.deb
dpkg -i ginger-base.noarch.deb
apt-get install -f
dpkg -i ginger-base.noarch.deb
wget http://kimchi-project.github.io/wok/downloads/latest/wok.noarch.deb
dpkg -i wok.noarch.deb
apt-get install -f
dpkg -i wok.noarch.deb
wget http://kimchi-project.github.io/kimchi/downloads/latest/kimchi.noarch.deb
dpkg -i kimchi.noarch.deb
apt-get install -f
dpkg -i kimchi.noarch.deb
systemctl enable libvirtd
systemctl enable dnsmasq
systemctl enable ebtables
systemctl enable wokd
service libvirtd start
service dnsmasq start
service ebtables start
service wokd start
rm *.deb
#--

Update script:

#!/bin/bash
wget http://kimchi-project.github.io/gingerbase/downloads/latest/ginger-base.noarch.deb
dpkg -i ginger-base.noarch.deb
apt-get install -f
wget http://kimchi-project.github.io/wok/downloads/latest/wok.noarch.deb
dpkg -i wok.noarch.deb
apt-get install -f
wget http://kimchi-project.github.io/kimchi/downloads/latest/kimchi.noarch.deb
dpkg -i kimchi.noarch.deb
apt-get install -f
service wokd restart
rm *.deb
#--
vtwaldo21 commented 6 years ago

just for anyone else that stumbles into this issue, the above didn't work for me. Instead it appears there must be a network interface named 'default', so I created one and all was good.

Timi7007 commented 6 years ago

As for the missing default network @vtwaldo21 mentioned: I had the same problem and this helped me fix it: https://blog.programster.org/kvm-missing-default-network