kimchi-project / wok

A cherrypy framework for multi-purpose plug-ins
https://github.com/kimchi-project/wok/releases/latest
Other
236 stars 77 forks source link

Missing "Virtualization" tab #295

Open ghost opened 4 years ago

ghost commented 4 years ago

Describe the bug After logging into Wok, there is no Virtualization tab.

Ubuntu 19.10, Wok 3.0.0, Kimchi 3.0.0 I followed the Ubuntu steps from this page for installation: https://github.com/kimchi-project/kimchi/releases

The virtualization on my system works, in fact I'm typing this report in a guest VM running on the Ubuntu server.

virsh list --all Id Name State

3 Sandbox running

virsh pool-list Name State Autostart

default active yes iso active yes iso2 active yes vms active yes

virsh net-list Name State Autostart Persistent

default active yes yes

Running wokd manually from a command line: python3 /bin/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 Memory Hotplug support .....: True Kimchi: Feature tests completed

Unknown device type: drm Failed to import plugin wok.plugins.kimchi.Kimchi, error: No module named 'ipaddr' Plugin configuration file /etc/wok/plugins.d/pycache.conf doesn't exist. [24/Jan/2020:16:36:52] ENGINE Listening for SIGTERM. [24/Jan/2020:16:36:52] ENGINE Listening for SIGHUP. [24/Jan/2020:16:36:52] ENGINE Listening for SIGUSR1. [24/Jan/2020:16:36:52] ENGINE Bus STARTING [24/Jan/2020:16:36:52] ENGINE Started monitor thread 'Autoreloader'. [24/Jan/2020:16:36:52] ENGINE Serving on http://127.0.0.1:8010

Kimchi: Running dependable feature tests [24/Jan/2020:16:36:52] ENGINE Started monitor thread 'Session cleanup'. 127.0.0.1 - - [24/Jan/2020:16:36:52] "HEAD /plugins/kimchi/images/icon-fedora.png HTTP/1.1" 404 5196 "" "" QEMU stream support .......: False Libvirt Stream Protocols ..: ['http', 'https', 'ftp', 'ftps', 'tftp'] Kimchi: Dependable feature tests completed

[24/Jan/2020:16:36:52] ENGINE Bus STARTED

Where it says "No module named 'ipaddr'" it had previously said 'ethtool' until I installed python3-ethtool. However I couldn't find a module for ipaddr that didn't already show as being installed.

As I said my VM runs just fine so any help on getting Kimchi going would be appreciated :-)

alinefm commented 4 years ago

Hey @philrigby

Could you paste the output of the command: pip3 search ipaddr ?

ipaddr should be installed when running sudo -H pip3 install -r https://raw.githubusercontent.com/kimchi-project/kimchi/master/requirements-UBUNTU.txt


I am also in Ubuntu 19.10 and I have the following:

alinemanera@nested-virt:~$ cat /etc/issue
Ubuntu 19.10 \n \l

alinemanera@nested-virt:~$ pip3 search ipaddr
ipaddr (2.2.0)   - Google's IP address manipulation library
  INSTALLED: 2.2.0 (latest)
ipmongo (0.1.3)  - Provide conversion of ipaddr object for MongoDB`
ghost commented 4 years ago

Hi @alinefm ... It was not installed, I went ahead and installed it, restarted wokd and that appears to of fixed it, thank you very much :-)

Phil.