My Oracle Support Banner

OLVM: engine-setup Fails With Error "[Errno 97] Address family not supported by protocol" (Doc ID 2947077.1)

Last updated on MARCH 05, 2024

Applies to:

Linux OS - Version Oracle Linux 8.7 with Unbreakable Enterprise Kernel [5.15.0] and later
Information in this document applies to any platform.


During a fresh installation, engine-setup fails with below errors.

Engine setup log:

2023-04-28 05:44:39,549+0000 DEBUG plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'start', 'ovirt-imageio.service') stderr:
Job for ovirt-imageio.service failed because the control process exited with error code.
See "systemctl status ovirt-imageio.service" and "journalctl -xe" for details.
2023-04-28 05:44:39,551+0000 DEBUG otopi.context context._executeMethod:145 method exception
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/otopi/", line 132, in _executeMethod
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt_imageio/", line 242, in _closeup_restart_service
File "/usr/share/otopi/plugins/otopi/services/", line 181, in state
RuntimeError: Failed to start service 'ovirt-imageio'
2023-04-28 05:44:39,559+0000 ERROR otopi.context context._executeMethod:154 Failed to execute stage 'Closing up': Failed to start service 'ovirt-imageio'

Daemon log for ovirt-imageio:

2023-04-27 12:04:09,334 ERROR (MainThread) [server] Server failed
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/", line 125, in create_socket
self.socket = socket.socket(self.address_family, self.socket_type)
File "/usr/lib64/python3.6/", line 144, in __init__
_socket.socket.__init__(self, family, type, proto, fileno)
OSError: [Errno 97] Address family not supported by protocol
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/", line 46, in main
server = Server(cfg)
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/", line 110, in __init__
self.remote_service = services.RemoteService(self.config, self.auth)
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/", line 73, in __init__
self._server = http.Server((, port), http.Connection)
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/", line 92, in __init__
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/", line 134, in create_socket
ovirt_imageio._internal.errors.ServerStartupError: Server failed to start: Failed to create socket for address='::'
address family=10 socket type=1 prefer IPv4=False. Underlying error is [Errno 97] Address family not supported by protocol


 New installation.


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

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