[ovirt-users] ovirt-guest-agent.service has broken in Debian 8 virtual machines after updates hosts to 4.2

Алексей Максимов aleksey.i.maksimov at yandex.ru
Tue Jan 2 15:15:33 UTC 2018


Hello, oVirt guru's

I just successfully updated my oVirt HE to 4.2.
But after I upgraded all hosts and virtual machine restart, the ovirt-guest-agent.service has stopped running in virtual machines with Debian Jessie.

----

# lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.10 (jessie)
Release:        8.10
Codename:       jessie

----

# dpkg -l | grep ovirt

ii  ovirt-guest-agent                    1.0.10.2.dfsg-2+deb8u1             all          daemon that resides within guest virtual machines


Note: This package installed from Debian Jessie official repo

----

# systemctl status ovirt-guest-agent.service

● ovirt-guest-agent.service - oVirt Guest Agent
   Loaded: loaded (/lib/systemd/system/ovirt-guest-agent.service; disabled)
   Active: failed (Result: exit-code) since Tue 2018-01-02 17:36:29 MSK; 23min ago
 Main PID: 3419 (code=exited, status=1/FAILURE)

Jan 02 17:36:29 APP3 systemd[1]: Started oVirt Guest Agent.
Jan 02 17:36:29 APP3 systemd[1]: ovirt-guest-agent.service: main process exited, code=exited, status=1/FAILURE
Jan 02 17:36:29 APP3 systemd[1]: Unit ovirt-guest-agent.service entered failed state.

----

>From /var/log/ovirt-guest-agent/ovirt-guest-agent.log:

MainThread::INFO::2018-01-02 17:36:29,764::ovirt-guest-agent::57::root::Starting oVirt guest agent
MainThread::ERROR::2018-01-02 17:36:29,768::ovirt-guest-agent::138::root::Unhandled exception in oVirt guest agent!
Traceback (most recent call last):
  File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 132, in <module>
    agent.run(daemon, pidfile)
  File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 63, in run
    self.agent = LinuxVdsAgent(config)
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 375, in __init__
    AgentLogicBase.__init__(self, config)
  File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 171, in __init__
    self.vio = VirtIoChannel(config.get("virtio", "device"))
  File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 150, in __init__
    self._stream = VirtIoStream(vport_name)
  File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 131, 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'

----

Before updating to version 4.2 (for version 4.1.8) everything worked fine.

Please help solve the problem


More information about the Users mailing list