-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Description
Hi,
I can build, start and connect to the docker container by using the provided dockerfile in the contrib/ directory.
But when running elbe initvm create
, it doesn't do anything except displaying an error message every few seconds:
elbe@987bc96de8be:/elbe$ elbe initvm create
libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
If I abort the command, I get this:
elbe@987bc96de8be:/elbe$ elbe initvm create
libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
^CTraceback (most recent call last):
File "/usr/lib/python3/dist-packages/elbepack/initvmaction.py", line 87, in __init__
self.conn = libvirt.open("qemu:///system")
File "/usr/lib/python3/dist-packages/libvirt.py", line 255, in open
if ret is None:raise libvirtError('virConnectOpen() failed')
libvirt.libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/elbe", line 60, in <module>
cmdmod.run_command(sys.argv[2:])
File "/usr/lib/python3/dist-packages/elbepack/commands/initvm.py", line 89, in run_command
action = InitVMAction(args[0])
File "/usr/lib/python3/dist-packages/elbepack/initvmaction.py", line 498, in __init__
InitVMAction.__init__(self, node, initvmNeeded=False)
File "/usr/lib/python3/dist-packages/elbepack/initvmaction.py", line 95, in __init__
time.sleep(10)
KeyboardInterrupt
The behavior is the same on ELBE v14.6 and v14.2. My host system is an Ubuntu 22.04.
Any help or pointers would be appreciated.
Metadata
Metadata
Assignees
Labels
No labels