Abnormal behavior on the reinstalled host
by ricardoot@gmail.com
Hello everyone,
I need help again with a host that I have reinstalled l and I don't understand why it doesn't work well.
I have managed to get the host status to UP. But I can't migrate MV to this host. Yes, I can start a VM on this host and I can migrate it to another but it can't go back if you want.
These are the errors I see:
ID: 128
2024-03-19 20:34:56,809+01 WARN [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-77603) [6ea57120-4e64-4b1d-a31f- 1072f69c478b] EVENT_ID: VM_MIGRATION_TRYING_RERUN(128), Failed to migrate VM srvlinux to Host ovirt51.mydomain due to an Error: Fatal error during migration. Trying to migrate to another Host.
It also happens that I cannot access the noVNC console on this Host but the VM is running. It gives me this error:
"Something went wrong, connection is closed"
If I put the host in maintenance mode it does not activate again and gives an error:
Operation Canceled
Error while executing action:
ovirt51.mydomain:
Cannot activate Host. Host has no unique id.
Resolved by reinstalling the host and checking to activate it. But it doesn't seem normal to me.
Please does anyone know how to resolve these issues?
Thank you.
OS Version:
RHEL - 8.9 - 1.8.el8
OS Description:
Rocky Linux 8.9 (Green Obsidian)
Kernel Version:
4.18.0 - 513.18.1.el8_9.x86_64
KVM Version:
6.2.0 - 40.module+el8.9.0+1654+f4df84c4.2
LIBVIRT Version:
libvirt-8.0.0-22.module+el8.9.0+1405+b6048078
VDSM Version:
vdsm-4.50.6-3.git5d82b9e88.el8
SPICE Version:
0.14.3 - 4.el8
GlusterFS Version:
glusterfs-10.5-1.el8s
CEPH Version:
librbd1-16.2.15-1.el8s
Open vSwitch Version:
openvswitch-2.15-4.el8
Nmstate Version:
nmstate-1.4.5-2.el8_9
Kernel Features:
MDS: (Not affected), L1TF: (Not affected), SRBDS: (Not affected), MELTDOWN: (Not affected), RETBLEED: (Not affected), SPECTRE_V1: (Mitigation: usercopy/swapgs barriers and __user pointer sanitization), SPECTRE_V2: (Mitigation: Enhanced / Automatic IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: SW sequence), ITLB_MULTIHIT: (Not affected), MMIO_STALE_DATA: (Mitigation: Clear CPU buffers; SMT vulnerable), TSX_ASYNC_ABORT: (Not affected), SPEC_STORE_BYPASS: (Mitigation: Speculative Store Bypass disabled via prctl), GATHER_DATA_SAMPLING: (Mitigation: Microcode), SPEC_RSTACK_OVERFLOW: (Not affected)
VNC Encryption:
Enabled
OVN configured:
No
7 months, 2 weeks
Hosted engine installation oVirt 4.5 initialize lockspace volume
by lbayerlein@lbayerlein.de
Hello,
hope, you are doing well. I try to install a new hosted engine on my environment to switch the storage this engine. I use following command to deploy the instance:
hosted-engine --deploy --4 --ansible-extra-vars=he_offline_deployment=true
Everything works fine, except the initialization of lockspace volume. Here I get:
```
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Remove temporary entry in /etc/hosts for the local VM]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set the name for add_host]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch the value of HOST_KEY_CHECKING]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get the username running the deploy]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Register the engine FQDN as a host]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Start ovirt-ha-broker service on the host]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Initialize lockspace volume]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Workaround for ovirt-ha-broker start failures]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Initialize lockspace volume]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 5, "changed": true, "cmd": ["hosted-engine", "--reinitialize-lock
space", "--force"], "delta": "0:00:00.269920", "end": "2024-03-20 14:43:00.366557", "msg": "non-zero return code", "rc"
: 1, "start": "2024-03-20 14:43:00.096637", "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_st
orage()\n File \"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py\", line 148, in get_stats_f
rom_storage\n result = self._proxy.get_stats()\n File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1112, in __ca
ll__\n return self.__send(self.__name, args)\n File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1452, in __requ
est\n verbose=self.__verbose\n File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1154, in request\n return se
lf.single_request(host, handler, request_body, verbose)\n File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1166, i
n 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 1268, in endheaders\n self._send_output(message_body, encode_chunked=encode_chunked
)\n File \"/usr/lib64/python3.6/http/client.py\", line 1044, in _send_output\n self.send(msg)\n File \"/usr/lib64/
python3.6/http/client.py\", line 982, in send\n self.connect()\n File \"/usr/lib/python3.6/site-packages/ovirt_host
ed_engine_ha/lib/unixrpc.py\", line 76, in connect\n self.sock.connect(base64.b16decode(self.host))\nFileNotFoundErr
or: [Errno 2] No such file or directory", "stderr_lines": ["Traceback (most recent call last):", " File \"/usr/lib64/p
ython3.6/runpy.py\", line 193, in _run_module_as_main", " \"__main__\", mod_spec)", " File \"/usr/lib64/python3.6/r
unpy.py\", line 85, in _run_code", " exec(code, run_globals)", " File \"/usr/lib/python3.6/site-packages/ovirt_host
ed_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 = bro
ker.get_stats_from_storage()", " File \"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py\", l
ine 148, in get_stats_from_storage", " result = self._proxy.get_stats()", " File \"/usr/lib64/python3.6/xmlrpc/clie
nt.py\", line 1112, in __call__", " return self.__send(self.__name, args)", " File \"/usr/lib64/python3.6/xmlrpc/cl
ient.py\", line 1452, in __request", " verbose=self.__verbose", " File \"/usr/lib64/python3.6/xmlrpc/client.py\", l
ine 1154, in request", " return self.single_request(host, handler, request_body, verbose)", " File \"/usr/lib64/pyt
hon3.6/xmlrpc/client.py\", line 1166, in single_request", " http_conn = self.send_request(host, handler, request_bod
y, verbose)", " File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1279, in send_request", " self.send_content(co
nnection, request_body)", " File \"/usr/lib64/python3.6/xmlrpc/client.py\", line 1309, in send_content", " connecti
on.endheaders(request_body)", " File \"/usr/lib64/python3.6/http/client.py\", line 1268, in endheaders", " self._se
nd_output(message_body, encode_chunked=encode_chunked)", " File \"/usr/lib64/python3.6/http/client.py\", line 1044, in
_send_output", " self.send(msg)", " File \"/usr/lib64/python3.6/http/client.py\", line 982, in send", " self.co
nnect()", " 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": []}
```
And I dont know, what is the reason. I zeroed the iscsi target, rebooted the hypervisor and updated all software packages.
```
[root@hypervisor01 ~]# rpm -qa|grep ovirt-host
ovirt-hosted-engine-setup-2.6.5-1.el8.noarch
ovirt-host-dependencies-4.5.0-3.el8.x86_64
ovirt-hosted-engine-ha-2.5.0-1.el8.noarch
ovirt-host-4.5.0-3.el8.x86_64
```
I tried the deployment without the ansible arguments. Unfortunately, the same error comes up. What can I do to solve this?
Thanks very much
balu
7 months, 3 weeks
Recreate engine without backup
by Igor Filipovic
Hi all,
I have a situation in which customer has deleted standalone engine completely (it was running on vmware), and all backups were saved on the same machine - so there is no backup available.
Can someone suggest how to preserve virtual machines which are still running on kvm hosts, and recreate standalone engine to be able to manage existing kvm hosts and machines? What could be scenario for this?
Thanks in advance and best regards!
Igor
7 months, 3 weeks
Server 2008R2 UEFI ISO Boot Problerm
by Clint Boggio
Greetings oVirt team
I'm using "Version 4.5.7-0.master.20240327074810.git14bca0502d.el8 on CentOS Stream 9"
I have occasion to restore a windows backup image for the purpose of data extraction. To accomplish this I need to boot off a Server 2008R2 ISO. The machine to be restored was UEFI based originally and so it is required to be UEFI for the restoration process.
I seem to be having a problem with booting off of the ISO image in the required UEFI-based system. In pursuit of a solution I've read on some of the other forums about this same problem on other KVM-based platforms.
Booting that same ISO after changing the VM to BIOS works flawlessly. In the articles and threads I've read there is mention of hyper-v services that load during the guest boot process that are causing the ISO boot to hang.
Is it possible to disable (or is it even necessary to disable) "hv_time,hv_relaxed,hv_spinlocks=0x2000" in the "Custom Properties" section of the VM config ?
If any of you have some insight into this problem and a possible solution I'd appreciate the feedback.
7 months, 3 weeks