My Oracle Support Banner

OLVM: On Oracle Linux 5 Environments ovirt-guest-agent Service Fails with Error: "OSError: [Errno 2] No such file or directory: '/dev/virtio-ports/ovirt-guest-agent.0'" (Doc ID 2693656.1)

Last updated on AUGUST 07, 2020

Applies to:

Linux OS - Version Oracle Linux 7.7 with Unbreakable Enterprise Kernel [4.14.35] and later
Linux x86-64

Symptoms

ovirt-guest-agent running on Oracle Linux 5.7 VM fails with the below Error:

ovirt-guest-agent.log

MainThread::ERROR::ovirt-guest-agent::140::root::Unhandled exception in oVirt guest agent!
Traceback (most recent call last):
File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 134, in ?
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 466, 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_prefix"))
File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 160, in __init__
self._stream = VirtIoStream(vport_name)
File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 141, in __init__
self._vport = os.open(vport_name, os.O_RDWR)
OSError: [Errno 2] No such file or directory: '/dev/virtio-ports/ovirt-guest-agent.0'
MainThread::INFO::ovirt-guest-agent::59::root::Starting oVirt guest agent
MainThread::ERROR:ovirt-guest-agent::140::root::Unhandled exception in oVirt guest agent!

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.