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

Michal Prívozník mprivozn at redhat.com
Tue Dec 17 19:39:12 UTC 2019


On 12/17/19 1:10 PM, Ruben Safir wrote:
> I'll give this a try with the conf file but the update to 5.10, which
> just came down from the Artix repos, still givss the same error
> 
> I downloaded 5:10 and it still gives the same error (different status?)
> 
> 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

Can you please check if there is /proc/uptime file and what its content
is? Also, are you using glibc or some other libc (like musl for instance)?

Even more, if you are in a debug mood, you can try to apply this patch:

https://www.redhat.com/archives/libvir-list/2019-December/msg01045.html

set a breakpoint on virHostGetBootTimeOnceInit() and
virHostGetBootTimeProcfs() and see what is going on.

Michal




More information about the virt-tools-list mailing list