Inability to create VM using virt-manager
0
votes
1
answer
2126
views
I am trying to create some VM using the
virt-manager
and no matter what I do I am getting this error:
Unable to complete install: 'internal error: guest failed to start: Failure in libvirt_lxc startup: Failed to create /var/lib/libvirt/images/vol.qcow2/.oldroot: Not a directory
'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createvm.py", line 2001, in _do_async_install
installer.start_install(guest, meter=meter)
File "/usr/share/virt-manager/virtinst/install/installer.py", line 701, in start_install
domain = self._create_guest(
File "/usr/share/virt-manager/virtinst/install/installer.py", line 649, in _create_guest
domain = self.conn.createXML(install_xml or final_xml, 0)
File "/usr/lib/python3.9/site-packages/libvirt.py", line 4035, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirt.libvirtError: internal error: guest failed to start: Failure in libvirt_lxc startup: Failed to create /var/lib/libvirt/images/vol.qcow2/.oldroot: Not a directory
I have tried to set in /etc/libvirt/qemu.conf the user and group to match my user and group, installed libvirt-glusterfs and it doesn’t work. I am using: libvirtd (libvirt) 7.0.0
and virt-manager v.3.2.0
.
For the record, I am running Manjaro Linux i3wm and my kernel is 5.11
Asked by Georgi Stoyanov
(860 rep)
Mar 3, 2021, 12:34 PM
Last activity: Jul 14, 2025, 04:05 AM
Last activity: Jul 14, 2025, 04:05 AM