Hi,
I'm observing some issues with network imports failing. For basic suite
supervdsmd fails to start with:
l 13 17:24:11 lago-basic-suite-master-host-0 python3[29380]: detected
unhandled Python exception in '/usr/share/vdsm/supervdsmd'
Jul 13 17:24:11 lago-basic-suite-master-host-0 abrt-server[29382]: Not
saving repeating crash in '/usr/share/vdsm/supervdsmd'
Jul 13 17:24:11 lago-basic-suite-master-host-0 daemonAdapter[29380]:
Traceback (most recent call last):
Jul 13 17:24:11 lago-basic-suite-master-host-0 daemonAdapter[29380]:
File "/usr/share/vdsm/supervdsmd", line 24, in <module>
Jul 13 17:24:11 lago-basic-suite-master-host-0 daemonAdapter[29380]:
from vdsm import supervdsm_server
Jul 13 17:24:11 lago-basic-suite-master-host-0 daemonAdapter[29380]:
File "/usr/lib/python3.6/site-packages/vdsm/supervdsm_server.py", line
66, in <module>
Jul 13 17:24:11 lago-basic-suite-master-host-0 daemonAdapter[29380]:
from vdsm.network.initializer import init_privileged_network_components
Jul 13 17:24:11 lago-basic-suite-master-host-0 daemonAdapter[29380]:
File "/usr/lib/python3.6/site-packages/vdsm/network/initializer.py",
line 32, in <module>
Jul 13 17:24:11 lago-basic-suite-master-host-0 daemonAdapter[29380]:
from vdsm.network import nmstate
Jul 13 17:24:11 lago-basic-suite-master-host-0 daemonAdapter[29380]:
ImportError: cannot import name 'nmstate'
While deploying he basic suite I can see smth like (this one's a bit
weird cause it's extracted from ansible logs, so might be trimmed):
File \"/usr/libexec/vdsm/vm_libvirt_hook.py\", line 29, in <module>
from vdsm.virt.vmdevices import storage
File
\"/usr/$ib/python3.6/site-packages/vdsm/virt/vmdevices/__init__.py\",
line 27, in <module>
from . import graphics
File
\"/usr/lib/python3.6/site-packages/vdsm/virt/vmdevices$graphics.py\",
line 27, in <module>
from vdsm.virt import displaynetwork
File
\"/usr/lib/python3.6/site-packages/vdsm/virt/displaynetwork.py\", line
23, in <module>\$ from vdsm.network import api as net_api
File \"/usr/lib/python3.6/site-packages/vdsm/network/api.py\", line
34, in <module>
from vdsm.network import netswitch
File
\"/usr/lib/python3.6/site-packages/vdsm/network/netswitch/__init__.py\",
line 23, in <module>
from . import configurator
File \"/usr/lib/python3.6/site-packages$vdsm/
Ales, could you take a look?
Regards, Marcin