[ovirt-users] overt-guest-agent Failure on latest Debian 9 Sretch

Michal Skrivanek michal.skrivanek at redhat.com
Tue Mar 27 16:40:35 UTC 2018



> On 27 Mar 2018, at 09:20, Sandro Bonazzola <sbonazzo at redhat.com> wrote:
> 
> Tomas, anything we can do here? 

More people complaining the better chance it gets fixed, but that should happen within Debian community.
Package updates are coming from debian package maintainer

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180327/e5551544/attachment.html>


More information about the Users mailing list