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

Nicolas Vaye nicolas.vaye at province-sud.nc
Mon Mar 26 20:16:53 UTC 2018


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%3e> 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>
De: Andrei Verovski <andreil1 at starlett.lv<mailto:Andrei%20Verovski%20%3candreil1 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
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 at ovirt.org<mailto:Users at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt_install_guest_agent_debian.sh
Type: application/x-shellscript
Size: 2659 bytes
Desc: ovirt_install_guest_agent_debian.sh
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180326/8ac7d564/attachment.bin>


More information about the Users mailing list