ovirt-guest-agent running on Debian vm, but data doesn't show in web-gui

Software Version:4.2.5.2-1.el7 Installed agent (1.0.14, from source) following this: https://www.ovirt.org/documentation/how-to/guest-agent/install-the-guest-age... Some vm's run 1.0.13, but I have the same problem there. On the vm running agent 1.0.14 nothing shows in "Applications". On vm's running 1.0.13 it shows "ovirt-guest-agent-1.0.13.dfsg-2". systemctl status ovirt-guest-agent: ● ovirt-guest-agent.service - oVirt Guest Agent Loaded: loaded (/lib/systemd/system/ovirt-guest-agent.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2018-09-20 09:29:40 CEST; 2h 4min ago Process: 688 ExecStartPre=/bin/chown ovirtagent:ovirtagent /run/ovirt-guest-agent.pid (code=exited, status=0/SUCCESS) Process: 684 ExecStartPre=/bin/touch /run/ovirt-guest-agent.pid (code=exited, status=0/SUCCESS) Process: 682 ExecStartPre=/sbin/modprobe virtio_console (code=exited, status=0/SUCCESS) Main PID: 692 (python) Tasks: 4 (limit: 4915) CGroup: /system.slice/ovirt-guest-agent.service └─692 /usr/bin/python /usr/share/ovirt-guest-agent/ovirt-guest-agent.py sep. 20 11:30:24 circlemud python[692]: [90B blob data] sep. 20 11:30:25 circlemud python[692]: [155B blob data] sep. 20 11:30:25 circlemud python[692]: [100B blob data] sep. 20 11:30:25 circlemud userhelper[2662]: pam_succeed_if(ovirt-container-list:auth): requirement "user = ovirtagent" was met by user "ovirtagent" sep. 20 11:30:25 circlemud userhelper[2662]: running '/usr/share/ovirt-guest-agent/container-list' with root privileges on behalf of 'ovirtagent' sep. 20 11:32:25 circlemud python[692]: [90B blob data] sep. 20 11:32:25 circlemud python[692]: [155B blob data] sep. 20 11:32:25 circlemud python[692]: [100B blob data] sep. 20 11:32:25 circlemud userhelper[2696]: pam_succeed_if(ovirt-container-list:auth): requirement "user = ovirtagent" was met by user "ovirtagent" sep. 20 11:32:25 circlemud userhelper[2696]: running '/usr/share/ovirt-guest-agent/container-list' with root privileges on behalf of 'ovirtagent' Migrate fails: Query 'GetValidHostsForVmsQuery' failed: null (in engine.log) Snapshot: Could not detect Guest Agent on the VM Any suggestions?

In debian I had also some issues, but I think by me the service was not running at all. But I had make this changes, and that helped me: In: */etc/ovirt-guest-agent.conf* change this: *[virtio] # device = /dev/virtio-ports/com.redhat.rhevm.vdsm device = /dev/virtio-ports/ovirt-guest-agent.0* Than in: */etc/udev/rules.d/55-ovirt-guest-agent.rules* Put this: *SYMLINK=="virtio-ports/ovirt-guest-agent.0", OWNER="ovirtagent", GROUP="ovirtagent"* And then update: *udevadm trigger --subsystem-match="virtio-ports"* Maybe this helps. Am Do., 20. Sep. 2018 um 12:00 Uhr schrieb Arild Ringøy <arild@tutanota.com
:
Software Version:4.2.5.2-1.el7
Installed agent (1.0.14, from source) following this: https://www.ovirt.org/documentation/how-to/guest-agent/install-the-guest-age... Some vm's run 1.0.13, but I have the same problem there.
On the vm running agent 1.0.14 nothing shows in "Applications". On vm's running 1.0.13 it shows "ovirt-guest-agent-1.0.13.dfsg-2".
systemctl status ovirt-guest-agent: ● ovirt-guest-agent.service - oVirt Guest Agent Loaded: loaded (/lib/systemd/system/ovirt-guest-agent.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2018-09-20 09:29:40 CEST; 2h 4min ago Process: 688 ExecStartPre=/bin/chown ovirtagent:ovirtagent /run/ovirt-guest-agent.pid (code=exited, status=0/SUCCESS) Process: 684 ExecStartPre=/bin/touch /run/ovirt-guest-agent.pid (code=exited, status=0/SUCCESS) Process: 682 ExecStartPre=/sbin/modprobe virtio_console (code=exited, status=0/SUCCESS) Main PID: 692 (python) Tasks: 4 (limit: 4915) CGroup: /system.slice/ovirt-guest-agent.service └─692 /usr/bin/python /usr/share/ovirt-guest-agent/ovirt-guest-agent.py
sep. 20 11:30:24 circlemud python[692]: [90B blob data] sep. 20 11:30:25 circlemud python[692]: [155B blob data] sep. 20 11:30:25 circlemud python[692]: [100B blob data] sep. 20 11:30:25 circlemud userhelper[2662]: pam_succeed_if(ovirt-container-list:auth): requirement "user = ovirtagent" was met by user "ovirtagent" sep. 20 11:30:25 circlemud userhelper[2662]: running '/usr/share/ovirt-guest-agent/container-list' with root privileges on behalf of 'ovirtagent' sep. 20 11:32:25 circlemud python[692]: [90B blob data] sep. 20 11:32:25 circlemud python[692]: [155B blob data] sep. 20 11:32:25 circlemud python[692]: [100B blob data] sep. 20 11:32:25 circlemud userhelper[2696]: pam_succeed_if(ovirt-container-list:auth): requirement "user = ovirtagent" was met by user "ovirtagent" sep. 20 11:32:25 circlemud userhelper[2696]: running '/usr/share/ovirt-guest-agent/container-list' with root privileges on behalf of 'ovirtagent'
Migrate fails: Query 'GetValidHostsForVmsQuery' failed: null (in engine.log) Snapshot: Could not detect Guest Agent on the VM
Any suggestions? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/VSG6JXPQYHWTEZ...

Hi Jon! Thanks for your reply! This did help me last time I had problems like this. The problem then was, like yours, that the agent wasn't running. But now it is. At least as far as I can see. When it wasn't running (or outdated) there was also a warning about this in the web-gui. Regards Arild

Il giorno gio 20 set 2018 alle ore 13:44 Arild Ringøy <arild@tutanota.com> ha scritto:
Hi Jon!
Thanks for your reply! This did help me last time I had problems like this. The problem then was, like yours, that the agent wasn't running. But now it is. At least as far as I can see. When it wasn't running (or outdated) there was also a warning about this in the web-gui.
Thanks for reporting, can you please open a bug on debian for this so the maintainer can check the guest agent?
Regards Arild _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/P6BQUWUODFUZNV...
-- SANDRO BONAZZOLA MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://red.ht/sig> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f2000000RgRyAAK>

Il giorno gio 20 set 2018 alle ore 14:30 Arild Ringøy <arild@tutanota.com> ha scritto:
Hello Sandro!
I'll do that. What logs would be best to attach?
Tomas can you help here?
Regards Arild _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/IPJCRDYZPZZPLP...
-- SANDRO BONAZZOLA MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://red.ht/sig> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f2000000RgRyAAK>

On Thu, 20 Sep 2018 14:37:39 +0200 Sandro Bonazzola <sbonazzo@redhat.com> wrote:
Il giorno gio 20 set 2018 alle ore 14:30 Arild Ringøy <arild@tutanota.com> ha scritto:
Hello Sandro!
I'll do that. What logs would be best to attach?
Tomas can you help here?
Please enable debug logs on VDSM host. Then stop / start the VM (don't reboot!) and share vdsm.log from the host. Tomas
Regards Arild _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/IPJCRDYZPZZPLP...
--
SANDRO BONAZZOLA
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo@redhat.com <https://red.ht/sig> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f2000000RgRyAAK>
-- Tomáš Golembiovský <tgolembi@redhat.com>

Sandro Bonazzola <sbonazzo@redhat.com> writes:
Il giorno gio 20 set 2018 alle ore 13:44 Arild Ringøy <arild@tutanota.com> ha scritto:
Hi Jon!
Thanks for your reply! This did help me last time I had problems like this. The problem then was, like yours, that the agent wasn't running. But now it is. At least as far as I can see. When it wasn't running (or outdated) there was also a warning about this in the web-gui.
Thanks for reporting, can you please open a bug on debian for this so the maintainer can check the guest agent?
The bugs are already reported: https://bugs.debian.org/ovirt-guest-agent Unfortunately they haven't been handled by the maintainer (CCed) so far, so users hit those problems again and again. :-( Regards, Milan
Regards Arild _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/P6BQUWUODFUZNV...

Hello Mian! Ok. Then I'll just keep calm and wait. Thanks to everyone who replied! Regards Arild

Arild Ringøy <arild@tutanota.com> writes:
Then I'll just keep calm and wait.
I'm afraid that won't help. I'll see if I can prepare a non-maintainer upload of the package with fixes. Regards, Milan

Ok. I wasn't sure if I should report a bug already reported. Great if you can come up with something. Highly appreciated. Regards Arild

Up and running here: Debian 8 / 9 See https://lists.ovirt.org/archives/list/users@ovirt.org/message/B4WKYJKYR323EH... Put download overt-agent into right place for the script. (lib/)
Am 09.10.2018 um 08:55 schrieb Arild Ringøy <arild@tutanota.com>:
Ok. I wasn't sure if I should report a bug already reported. Great if you can come up with something. Highly appreciated.
Regards Arild _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/5YXBHOCHP5HN3X...

Sorry for the delay in my reply. Up and running here also. After running the script, ovirt-node turned up under the "Applications" tab on my vm. There was also an upgrade on the ovirt nodes last week (or was it the one before that?), so that could have something to do with it as well.
participants (6)
-
Arild Ringøy
-
Jon bae
-
Milan Zamazal
-
Oliver Riesener
-
Sandro Bonazzola
-
Tomáš Golembiovský