[ovirt-users] Re: Hosted engine installation oVirt 4.5 initialize lockspace volume

2024-04-03 Thread Strahil Nikolov via Users
Have you checked if the initiator name is proper IQN and unique ?

Best Regards,
Strahil Nikolov 
 
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 \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 ", "    
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", "   

[ovirt-users] Re: Server 2008R2 UEFI ISO Boot Problerm

2024-04-03 Thread Clint Boggio
If I change to "Other OS" or any flavor of Linux i get the same result. I've 
changed the ISO to a W764 ISO as well with the same hang. More modern versions 
of Windows Server boot fine, but I am not able to restore the backup with a 
version higher than 2008R2.

This link "https://bugs.launchpad.net/qemu/+bug/1593605; references a similar 
problem that I am having and it's where I got the idea to pass the custom CPU 
flags.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SRAITV53GNV6GKCCNQMSIXBIS5PNOCZT/


[ovirt-users] Re: Server 2008R2 UEFI ISO Boot Problerm

2024-04-03 Thread Gianluca Cecchi
On Wed, Apr 3, 2024 at 5:17 PM Clint Boggio  wrote:

> 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.
>
>
Never tried but just a guess, as in the past I had the opposite problem
importing from vSphere.
What does it happen if you change the VM operating System in oVirt to
"Other OS", or even to Linux?

Gianluca
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZN22T4Z6CFDISBKGDZ2LDYVLG3F6R3OI/


[ovirt-users] Server 2008R2 UEFI ISO Boot Problerm

2024-04-03 Thread 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.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DX2UNOUTZ6Z2B6ROGPLVWSNN6XY7E3XF/