Hello All,
Hi all,
I'm trying to update my Ovirt engine with the following specs:
* hosted-engine 4.3 (updated to latest version of 4.3)
* Hosted on Centos 7 based Hosts
* Engine is hosted on iSCSI storage.
Target Ovirt-engine Host is one of the already existing hosts with RHEL 8.5 fresh
installation.
Update failed during the execution of "hosted-engine --deploy
--restore-from-file=backup.bck"
Below is the console log, and I'm also attaching some logs hope it helps:
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Initialize lockspace volume]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 5, "changed":
true, "cmd": ["hosted-engine", "--reinitialize-lockspace",
"--force"], "delta": "0:00:00.246116", "end":
"2022-03-04 14:47:45.602836", "msg": "non-zero return code",
"rc": 1, "start": "2022-03-04 14:47:45.356720",
"stderr": "Traceback (most recent call last):\n File
\"/usr/lib64/python3.6/runpy.py\", line 193, in _run_module_as_main\n
\"__main__\", mod_spec)\n File \"/usr/lib64/python3.6/runpy.py\",
line 85, in _run_code\n exec(code, run_globals)\n File
\"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/reinitialize_lockspace.py\",
line 30, in <module>\n ha_cli.reset_lockspace(force)\n File
\"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/client/client.py\",
line 286, in reset_lockspace\n stats = broker.get_stats_from_storage()\n File
\"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py\",
line 148, in get_stats_from_storage\n result = self._proxy.get_stats()\n File
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1112, in __call__\n return
self.__send(self.__name, args)\n File
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1452, in __request\n
verbose=self.__verbose\n File \"/usr/lib64/python3.6/xmlrpc/client.py\", line
1154, in request\n return self.single_request(host, handler, request_body, verbose)\n
File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1166, in single_request\n
http_conn = self.send_request(host, handler, request_body, verbose)\n File
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1279, in send_request\n
self.send_content(connection, request_body)\n File
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1309, in send_content\n
connection.endheaders(request_body)\n File
\"/usr/lib64/python3.6/http/client.py\", line 1264, in endheaders\n
self._send_output(message_body, encode_chunked=encode_chunked)\n File
\"/usr/lib64/python3.6/http/client.py\", line 1040, in _send_output\n
self.send(msg)\n File \"/usr/lib64/python3.6/http/client.py\", line 978, in
send\n self.connect()\n File
\"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/unixrpc.py\", line
76, in connect\n self.sock.connect(base64.b16decode(self.host))\nFileNotFoundError:
[Errno 2] No such file or directory", "stderr_lines": ["Traceback
(most recent call last):", " File \"/usr/lib64/python3.6/runpy.py\",
line 193, in _run_module_as_main", " \"__main__\", mod_spec)",
" File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code",
" exec(code, run_globals)", " File
\"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/reinitialize_lockspace.py\",
line 30, in <module>", " ha_cli.reset_lockspace(force)", "
File
\"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/client/client.py\",
line 286, in reset_lockspace", " stats =
broker.get_stats_from_storage()", " File
\"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py\",
line 148, in get_stats_from_storage", " result =
self._proxy.get_stats()", " File
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1112, in __call__", "
return self.__send(self.__name, args)", " File
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1452, in __request", "
verbose=self.__verbose", " File
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1154, in request", "
return self.single_request(host, handler, request_body, verbose)", " File
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1166, in single_request",
" http_conn = self.send_request(host, handler, request_body, verbose)",
" File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1279, in
send_request", " self.send_content(connection, request_body)", "
File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1309, in
send_content", " connection.endheaders(request_body)", " File
\"/usr/lib64/python3.6/http/client.py\", line 1264, in endheaders", "
self._send_output(message_body, encode_chunked=encode_chunked)", " File
\"/usr/lib64/python3.6/http/client.py\", line 1040, in _send_output",
" self.send(msg)", " File
\"/usr/lib64/python3.6/http/client.py\", line 978, in send", "
self.connect()", " File
\"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/unixrpc.py\", line
76, in connect", " self.sock.connect(base64.b16decode(self.host))",
"FileNotFoundError: [Errno 2] No such file or directory"], "stdout":
"", "stdout_lines": []}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
Thanks a lot for your help,
Kind regards,
Pavly