2021-04-26 15:29:50,728 INFO (MainThread) [server] Starting (hostname=rvsmanager2 pid=13203, version=2.1.1)
2021-04-26 15:29:50,729 DEBUG (MainThread) [services] Creating remote.service on port 54323
2021-04-26 15:29:50,730 DEBUG (MainThread) [http] Prefer IPv4: False
2021-04-26 15:29:50,730 DEBUG (MainThread) [http] Available network interfaces: [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('::', 54323, 0, 0))]
2021-04-26 15:29:50,730 DEBUG (MainThread) [http] Creating server socket with family=AddressFamily.AF_INET6 and type=SocketKind.SOCK_STREAM
2021-04-26 15:29:50,732 ERROR (MainThread) [server] Server failed
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 91, in __init__
self.create_socket(prefer_ipv4)
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/http.py", line 123, 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
2021-04-26 15:29:50,919 INFO (MainThread) [server] Starting (hostname=rvsmanager2 pid=13208, version=2.1.1)
2021-04-26 15:29:50,919 DEBUG (MainThread) [services] Creating remote.service on port 54323
2021-04-26 15:29:50,920 DEBUG (MainThread) [http] Prefer IPv4: False
2021-04-26 15:29:50,920 DEBUG (MainThread) [http] Available network interfaces: [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('::', 54323, 0, 0))]
2021-04-26 15:29:50,920 DEBUG (MainThread) [http] Creating server socket with family=AddressFamily.AF_INET6 and type=SocketKind.SOCK_STREAM
2021-04-26 15:29:50,922 ERROR (MainThread) [server] Server failed
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 91, in __init__
self.create_socket(prefer_ipv4)
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/http.py", line 123, 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
# ovirt-imageio --show-config
{
"backend_file": {
"buffer_size": 8388608
},
"backend_http": {
"buffer_size": 8388608,
"ca_file": "/etc/pki/ovirt-engine/ca.pem"
},
"backend_nbd": {
"buffer_size": 8388608
},
"control": {
"port": 54324,
"prefer_ipv4": true,
"remove_timeout": 60,
"socket": "/run/ovirt-imageio/sock",
"transport": "tcp"
},
"daemon": {
"drop_privileges": true,
"group_name": "ovirtimg",
"max_connections": 8,
"poll_interval": 1.0,
"run_dir": "/run/ovirt-imageio",
"user_name": "ovirtimg"
},
"formatter_long": {
"format": "%(asctime)s %(levelname)-7s (%(threadName)s) [%(name)s] %(message)s"
},
"formatters": {
"keys": "long"
},
"handler_logfile": {
"args": "(\"/var/log/ovirt-imageio/daemon.log\",)",
"formatter": "long",
"class": "logging.handlers.RotatingFileHandler",
"kwargs": "{\"maxBytes\": 20971520, \"backupCount\": 10}",
"level": "DEBUG"
},
"handler_stderr": {
"formatter": "long",
"class": "logging.StreamHandler",
"level": "DEBUG"
},
"handlers": {
"keys": "logfile"
},
"local": {
"enable": false,
"socket": "\u0000/org/ovirt/imageio"
},
"logger_root": {
"handlers": "logfile",
"level": "DEBUG",
"propagate": 0
},
"loggers": {
"keys": "root"
},
"profile": {
"filename": "/run/ovirt-imageio/profile"
},
"remote": {
"host": "::",
"port": 54323
},
"tls": {
"ca_file": "/etc/pki/ovirt-engine/apache-ca.pem",
"cert_file": "/etc/pki/ovirt-engine/certs/apache.cer",
"enable": true,
"enable_tls1_1": false,
"key_file": "/etc/pki/ovirt-engine/keys/apache.key.nopass"
}
}