Il mar 27 mar 2018, 18:40 Michal Skrivanek <michal.skrivanek@redhat.com> ha scritto:


On 27 Mar 2018, at 09:20, Sandro Bonazzola <sbonazzo@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


Nicolas, can you please open a ticket on Debian and post here the link? 






Il lun 26 mar 2018, 22:18 Nicolas Vaye <nicolas.vaye@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@hs-bremen.de%3e> Oliver.Riesener@hs-bremen.de<mailto:Oliver.Riesener@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@ovirt.org<mailto:users@ovirt.org>
De: Andrei Verovski <andreil1@starlett.lv<mailto:Andrei%20Verovski%20%3candreil1@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
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
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@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users