kimchi
kimchi copied to clipboard
Kimchi can not load
I installed Wok and Kimchi on Ubuntu 17.10 .
But Kimchi Tab missing.
Here is my error log.
wok-error.log
Push server created on address /run/user/0/woknotifications
*** Kimchi: Running feature tests ***
Service Libvirtd running ...: True
operation failed: no storage pools were found on host '127.0.0.1'
NFS Target Probe support ...: True
Fibre Channel Host support .: True
Kernel VFIO support ........: True
Network Manager running ....: False
Memory Hotplug support .....: False
*** Kimchi: Feature tests completed ***
Unknown device type: drm
Failed to import plugin plugins.kimchi.Kimchi, error: An error occurred, but the cause is unknown
*** Ginger Base: Running capabilities tests ***
System Report Tool ...: True
Logging AptUpdate features.
System Update Tool ...: True
Repo Management Tool .: deb
*** Ginger Base: Capabilities tests completed ***
[25/Dec/2017:10:26:20] ENGINE Listening for SIGHUP.
[25/Dec/2017:10:26:20] ENGINE Listening for SIGTERM.
[25/Dec/2017:10:26:20] ENGINE Listening for SIGUSR1.
[25/Dec/2017:10:26:20] ENGINE Bus STARTING
[25/Dec/2017:10:26:21] ENGINE Serving on http://127.0.0.1:8010
*** Kimchi: Running dependable feature tests ***
[25/Dec/2017:10:26:21] ENGINE Started monitor thread 'Session cleanup'.
QEMU stream support .......: False
Libvirt Stream Protocols ..: ['http', 'https', 'ftp', 'ftps', 'tftp']
*** Kimchi: Dependable feature tests completed ***
[25/Dec/2017:10:26:21] ENGINE Bus STARTED
service wokd status
● wokd.service - Wok - Webserver Originated from Kimchi
Loaded: loaded (/lib/systemd/system/wokd.service; enabled; v Drop-In: /etc/systemd/system/wokd.service.d
└─kimchi.conf Active: active (running) since Mon 2017-12-25 10:26:19 CST; Docs: https://github.com/kimchi-project/wok/wiki
Process: 25763 ExecStop=/bin/kill -TERM $MAINPID (code=exited Main PID: 25766 (python2)
Tasks: 18 (limit: 4915)
CGroup: /system.slice/wokd.service
├─25766 python2 /usr/bin/wokd
└─25774 python2 /usr/bin/wokd
Dec 25 10:26:19 F3C-A1-05 systemd[1]: Started Wok - Webserver Originated from Kimchi.
Dec 25 10:26:20 F3C-A1-05 wokd[25766]: libvirt: error : An errror occurred, but the cause is unknown
virsh pool-list
Name State Autostart
-------------------------------------------
disk active yes
iso active yes
wokd --environment=dev
Push server created on address /run/user/0/woknotifications
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: Storage Driver error : operation failed: no storage pools were found on host '127.0.0.1'
operation failed: no storage pools were found on host '127.0.0.1'
NFS Target Probe support ...: True
Fibre Channel Host support .: True
Kernel VFIO support ........: True
Network Manager running ....: False
libvirt: Security Driver error : internal error: cannot load AppArmor profile 'libvirt-40229d38-c8cb-4238-8d6b-0507fc466873'
Memory Hotplug support .....: False
*** Kimchi: Feature tests completed ***
Unknown device type: drm
libvirt: error : An error occurred, but the cause is unknown
Failed to import plugin plugins.kimchi.Kimchi, error: An error occurred, but the cause is unknown
*** Ginger Base: Running capabilities tests ***
System Report Tool ...: True
Logging AptUpdate features.
System Update Tool ...: True
Repo Management Tool .: deb
*** Ginger Base: Capabilities tests completed ***
[25/Dec/2017:10:42:14] ENGINE Listening for SIGHUP.
[25/Dec/2017:10:42:14] ENGINE Listening for SIGTERM.
[25/Dec/2017:10:42:14] ENGINE Listening for SIGUSR1.
[25/Dec/2017:10:42:14] ENGINE Bus STARTING
[25/Dec/2017:10:42:14] ENGINE Started monitor thread 'Autoreloader'.
[25/Dec/2017:10:42:14] ENGINE Serving on http://127.0.0.1:8010
*** Kimchi: Running dependable feature tests ***
[25/Dec/2017:10:42:14] ENGINE Started monitor thread 'Session cleanup'.
127.0.0.1 - - [25/Dec/2017:10:42:14] "HEAD /plugins/kimchi/images/icon-fedora.png HTTP/1.1" 404 1247 "" ""
QEMU stream support .......: False
Libvirt Stream Protocols ..: ['http', 'https', 'ftp', 'ftps', 'tftp']
*** Kimchi: Dependable feature tests completed ***
[25/Dec/2017:10:42:14] ENGINE Bus STARTED
Libvirtd Version 3.6.0 from libvirt-bin
This is my install process, the stated process in the release didn't work for me:
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install nginx
wget wok.deb
wget kimchi.deb
sudo systemctl stop nginx
sudo dpkg -i wok.deb
sudo apt-get install -f
sudo systemctl stop nginx wokd
sudo dpkg -i kimchi.deb
sudo apt-get install -f
sudo reboot now
Once this is done, point your browser to https://localhost:8001 and you should get the Wok login screen. Type your user and password (the user that you typically use to log in to the machine) and you should see a "Virtualization" tab on top. That's where everything is involving Kimchi.
To add an iso file, go to the "Storage" section and hit the arrow at "Disks". Then hit the "Actions" button that pops up, hit "Add Volume".
Once done, head over to the "Templates" tab and hit "Add Template" to create a template for creating VMs (known as "Guests").
NOTE: Don't use special characters (@#$%()[]) or spaces in the names you use in Kimchi. They just cause problems.
NOTE: If you uploaded a file you will see an error stating "QEMU does not have permission" and will be unable to select the iso you uploaded. Instead, use the file path prompt for the first time use of the iso (eg. /var/lib/kimchi/isos/ubuntu17.10.iso
).
You may then add a guest by clicking the template you created.
Then start your machine! Voila!
NOTE: If you have a touchscreen laptop or other touchscreen device you want to use to operate the Console of your machine, you will end up having issues with the mouse vs touchscreen. To fix this, I updated noVNC to a version beyond what is supported by Ubuntu Package Manager.
You can do this by first marking novnc
not to update since you will be changing files used by it:
sudo apt-mark hold novnc
Then running the following commands in succession:
cd /usr/share/novnc
sudo mkdir old
sudo mv ./* ./old
sudo apt-get install git
sudo git clone https://github.com/novnc/noVNC.git
sudo mv ./noVNC/* ./
sudo rm -r noVNC/
sudo mv vnc.html vnc_auto.html
You will require git
if you don't have it.
Done! Hope this helps! If it does, please spread the word.
Libvirt is being blocked by AppArmor:
libvirt: Security Driver error : internal error: cannot load AppArmor profile 'libvirt-40229d38-c8cb-4238-8d6b-0507fc466873'
Try to add
/var/lib/libvirt/images/* r,
to /etc/apparmor.d/abstractions/libvirt-qemu
and then `systemctl restart apparmor.service``
Details at: https://github.com/coreos/bugs/issues/2083#issuecomment-338601550
There is also new packages available https://github.com/kimchi-project/kimchi/releases/tag/3.0.0 that were tested on Debian 10