<div dir="auto">Tomas, anything we can do here? </div><br><div class="gmail_quote"><div dir="ltr">Il lun 26 mar 2018, 22:18 Nicolas Vaye <<a href="mailto:nicolas.vaye@province-sud.nc">nicolas.vaye@province-sud.nc</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Andrei,<br>
<br>
i have had the same problem and on Debian stretch the problem is the old version of agent from stretch repository.<br>
<br>
I downloaded 1.0.13 from Debian testing repo as *.deb file.<br>
<br>
With these new versions of guest-agent then is also a udev rules issue.<br>
<br>
The serial channels have been renamed and the rules didn`t match for ovirt.<br>
<br>
See the install script, as attachement (provided by <mailto:<a href="mailto:Oliver%2520Riesener%2520%253cOliver.Riesener@hs-bremen.de" target="_blank" rel="noreferrer">Oliver%20Riesener%20%3cOliver.Riesener@hs-bremen.de</a>%3e> <a href="mailto:Oliver.Riesener@hs-bremen.de" target="_blank" rel="noreferrer">Oliver.Riesener@hs-bremen.de</a><mailto:<a href="mailto:Oliver.Riesener@hs-bremen.de" target="_blank" rel="noreferrer">Oliver.Riesener@hs-bremen.de</a>>).<br>
<br>
May be it can help you.<br>
<br>
Regards,<br>
<br>
Nicolas Vaye<br>
<br>
-------- Message initial --------<br>
<br>
Date: Mon, 26 Mar 2018 17:29:16 +0300<br>
Objet: [ovirt-users] overt-guest-agent Failure on latest Debian 9 Sretch<br>
À: <a href="mailto:users@ovirt.org" target="_blank" rel="noreferrer">users@ovirt.org</a><mailto:<a href="mailto:users@ovirt.org" target="_blank" rel="noreferrer">users@ovirt.org</a>><br>
De: Andrei Verovski <<a href="mailto:andreil1@starlett.lv" target="_blank" rel="noreferrer">andreil1@starlett.lv</a><mailto:<a href="mailto:Andrei%2520Verovski%2520%253candreil1@starlett.lv" target="_blank" rel="noreferrer">Andrei%20Verovski%20%3candreil1@starlett.lv</a>%3e>><br>
<br>
Hi,<br>
<br>
I just installed latest Debian 9 Sretch under oVirt 4.2 and got this error:<br>
<br>
# tail -n 1000 ovirt-guest-agent.log<br>
MainThread::INFO::2018-03-26 17:09:57,400::ovirt-guest-agent::59::root::Starting oVirt guest agent<br>
MainThread::ERROR::2018-03-26 17:09:57,402::ovirt-guest-agent::141::root::Unhandled exception in oVirt guest agent!<br>
Traceback (most recent call last):<br>
File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 135, in <module><br>
agent.run(daemon, pidfile)<br>
File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 65, in run<br>
self.agent = LinuxVdsAgent(config)<br>
File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 472, in __init__<br>
AgentLogicBase.__init__(self, config)<br>
File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 188, in __init__<br>
self.vio = VirtIoChannel(config.get("virtio", "device"))<br>
File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 153, in __init__<br>
self._stream = VirtIoStream(vport_name)<br>
File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 134, in __init__<br>
self._vport = os.open(vport_name, os.O_RDWR)<br>
OSError: [Errno 2] No such file or directory: '/dev/virtio-ports/com.redhat.rhevm.vdsm’<br>
<br>
Followed this manual:<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1472293" rel="noreferrer noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1472293</a><br>
and run<br>
touch /etc/udev/rules.d/55-ovirt-guest-agent.rules<br>
# edit /etc/udev/rules.d/55-ovirt-guest-agent.rules<br>
SYMLINK=="virtio-ports/ovirt-guest-agent.0", OWNER="ovirtagent", GROUP="ovirtagent"<br>
udevadm trigger --subsystem-match="virtio-ports”<br>
<br>
AND this<br>
<br>
<a href="http://lists.ovirt.org/pipermail/users/2018-January/086101.html" rel="noreferrer noreferrer" target="_blank">http://lists.ovirt.org/pipermail/users/2018-January/086101.html</a><br>
touch /etc/ovirt-guest-agent/ovirt-guest-agent.conf # <— it didn't existed so I created it.<br>
# edit /etc/ovirt-guest-agent.conf<br>
[virtio]<br>
device = /dev/virtio-ports/ovirt-guest-agent.0<br>
<br>
reboot<br>
<br>
Yet still have same problem and error message.<br>
How to solve it ?<br>
<br>
Thanks in advance<br>
Andrei<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank" rel="noreferrer">Users@ovirt.org</a><mailto:<a href="mailto:Users@ovirt.org" target="_blank" rel="noreferrer">Users@ovirt.org</a>><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank" rel="noreferrer">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote></div>