OLVM: engine-setup Fails With Error "[Errno 97] Address family not supported by protocol"
(Doc ID 2947077.1)
Last updated on MAY 17, 2023
Applies to:
Linux OS - Version Oracle Linux 8.7 with Unbreakable Enterprise Kernel [5.15.0] and laterInformation in this document applies to any platform.
Symptoms
During a fresh installation, engine-setup fails with below errors.
Engine setup log:
2023-04-28 05:44:39,549+0000 DEBUG otopi.plugins.otopi.services.systemd 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/context.py", line 132, in _executeMethod method['method']() File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt_imageio/config.py", line 242, in _closeup_restart_service state=state, File "/usr/share/otopi/plugins/otopi/services/systemd.py", line 181, in state service=name, 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/http.py", line 125, in create_socket self.socket = socket.socket(self.address_family, self.socket_type) File "/usr/lib64/python3.6/socket.py", 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/server.py", line 46, in main server = Server(cfg) File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/server.py", line 110, in __init__ self.remote_service = services.RemoteService(self.config, self.auth) File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/services.py", line 73, in __init__ self._server = http.Server((config.remote.host, port), http.Connection) File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/http.py", line 92, in __init__ self.create_socket(prefer_ipv4) File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/http.py", line 134, in create_socket e)) 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
Changes
New installation.
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 |
Changes |
Cause |
Solution |