[virt-tools-list] virt-mamangr fails to install new image

Michal Prívozník mprivozn at redhat.com
Sun Dec 15 08:18:37 UTC 2019


On 12/14/19 11:41 PM, Ruben Safir wrote:
> Does anyone know why virt-manager is failing here?
> 
> Everything I think is updated on an Artix system
> 
> Unable to complete install: 'internal error: child reported
> (status=125): Unable to get host boot time: No such process'
> 
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in
> cb_wrapper
>     callback(asyncjob, *args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/createvm.py", line 2089, in
> _do_async_install
>     guest.installer_instance.start_install(guest, meter=meter)
>   File "/usr/share/virt-manager/virtinst/install/installer.py", line
> 542, in start_install
>     domain = self._create_guest(
>   File "/usr/share/virt-manager/virtinst/install/installer.py", line
> 491, in _create_guest
>     domain = self.conn.createXML(install_xml or final_xml, 0)
>   File "/usr/lib/python3.8/site-packages/libvirt.py", line 3928, in
> createXML
>     if ret is None:raise libvirtError('virDomainCreateXML() failed',
> conn=self)
> libvirt.libvirtError: internal error: child reported (status=125):
> Unable to get host boot time: No such process

I thought I fixed this. What is your libvirt version? You will need
v5.10.0 at least:

https://bugzilla.redhat.com/show_bug.cgi?id=1760885

The problem is that when libvirt chown()-s a file, it also records the
original owner in XATTRs and to detect stale attributes it also records
boot time among with the rest.

As a workaround you might disable this feature by setting
remember_owner=0 in /etc/libvirt/qemu.conf

Michal




More information about the virt-tools-list mailing list