Discussion:
[libvirt-users] Disable guest discovery in virt-manager
Gionatan Danti
2018-04-09 13:21:04 UTC
Permalink
Hi all,
on CentOS7 / RHEL7 launching virt-manager causes a "discovery process"
of the various configured VMs.

This discovery is executed by inspection and overlayed disk files and it
create a very short lived guest-xxxzzzyyy virtual machine. The end
result is a pretty icon to the left of the virtual machine entry (ie:
CentOS icon for a CentOS VM) and the list of installad packages inside
the virtual disk.

That said, I would like to disable such behavior. How can I do that?
Thanks.
--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: ***@assyoma.it - ***@assyoma.it
GPG public key ID: FF5F32A8
Pavel Hrdina
2018-04-09 13:47:44 UTC
Permalink
Post by Gionatan Danti
Hi all,
on CentOS7 / RHEL7 launching virt-manager causes a "discovery process" of
the various configured VMs.
This discovery is executed by inspection and overlayed disk files and it
create a very short lived guest-xxxzzzyyy virtual machine. The end result is
a pretty icon to the left of the virtual machine entry (ie: CentOS icon for
a CentOS VM) and the list of installad packages inside the virtual disk.
That said, I would like to disable such behavior. How can I do that?
Thanks.
Hi,

The option to enable/disable this feature was implemented recently
in upstream [1]. In order to get it into CentOS/RHEL you would have
to create a BUG for it.

As a workaround you can uninstall python-libguestfs package which is
used by virt-manager to run the introspection. If that package is
missing importing guestfs in the python code fails and the feature
is disabled.

Pavel

[1] <https://github.com/virt-manager/virt-manager/commit/6b1278ccda1bf52fd51c619858dfeaffb12a4029>
Gionatan Danti
2018-04-11 17:59:55 UTC
Permalink
Post by Pavel Hrdina
Hi,
The option to enable/disable this feature was implemented recently
in upstream [1]. In order to get it into CentOS/RHEL you would have
to create a BUG for it.
As a workaround you can uninstall python-libguestfs package which is
used by virt-manager to run the introspection. If that package is
missing importing guestfs in the python code fails and the feature
is disabled.
Pavel
[1]
<https://github.com/virt-manager/virt-manager/commit/6b1278ccda1bf52fd51c619858dfeaffb12a4029>
Thanks, I opened a BZ case for it:
https://bugzilla.redhat.com/show_bug.cgi?id=1566187
--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: ***@assyoma.it - ***@assyoma.it
GPG public key ID: FF5F32A8
Loading...