[ovirt-users] Re: moving engine VM outside one ovirt environment

2023-10-21 Thread Gianluca Cecchi
On Sat, Oct 21, 2023 at 9:20 PM  wrote:

> What is the best way and steps to move engine VM outside the Ovirt
> environment. As of now the engine VM is controlling the host but running
> also on the same Ovirt host. VM must run on a different Ovirt environment.
> Want to move/migrate engine from hosted engine to stand alone VM
>
>
Latest post on this topic was from David one year ago:
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/YQWLGVB7NUALLGJ47QYWFTXD25UJX57Q/

There are some steps both inline in the mail and in the github link.
The github link seems to not work anymore and the correct link now to the
doc seems to be this one:
https://github.com/dmwhite823/ovirt-site/blob/migrating_from_self-hosted/source/documentation/migrating_from_a_self-hosted_engine_to_a_standalone_manager/master.adoc

Eventually David can give more insights on his tests. I never tried that
path
HIH,
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/IKQ4UYT62Y2F3F5FFR5SWVC6QY7BW56H/


[ovirt-users] Re: VDSM host_devops command HSMGetAllTasksStatusesVDS failed: Not SPM: ()

2023-10-21 Thread Tapesh Malvi
Hi,
I tired finding the errors, it says master storage is down. I tried few
things to check but I didn't find anything useful.

All our VMs are currently running but storage domain is inactive. I'm
afraid if I take a restart of ovirt host, even the running vms will go down.

If you could help me restore our storage domain?
I can share the logs with you.

On Sun, 22 Oct 2023, 12:33 am Strahil Nikolov, 
wrote:

> You need to find why the master storage domain fails. The best way is to
> connect to the engine VM/server and check the logs for the exact reason.
>
> Without it, the whole DC will be down.
> Once you power it up, the DC will power up.
>
> Best Rega,
> Strahil Nikolov
>
>
>
> On Saturday, October 21, 2023, 9:52 PM, tapz.m...@gmail.com wrote:
>
> Hi All,
>
> We are facing one issue in our environment. After importing a .ova image
> from Virtualbox to KVM, when we tried to remove the imported vm, suddenly
> getting below errors in event
>
> VDSM host_devops command HSMGetAllTasksStatusesVDS failed: Not SPM: ()
> Failed to activate Storage Domain domain_devops (Data Center
> datacenter_devops) by admin@internal-authz
>
> It is also observed that our datacenter is non-responsive.
>
> When we try to activate it, getting below error
> Failed Activating Storage Domain domain_devops on Data Center
> datacenter_devops
>
> Can somebody help?
> ___
> 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/J4X73GBCXPPTKOCXGN3WEPTRC5K5ZGL3/
>
>
___
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/EERAPSVREYLS75NXM2FL2IS456PB6HNK/


[ovirt-users] Re: HE deploy fails at "Initialize lockspace volume" step

2023-10-21 Thread Strahil Nikolov via Users
Simplest thing to check is if your host can discover and write to the LUN. Is 
it possible that more than 1 node has the same client IQN ?
Best Regards,Strahil Nikolov 





On Friday, October 20, 2023, 12:38 PM, Giuliano David 
 wrote:

Hi everyone.
I need help understanding a failure deploying the hosted engine on a 
fresh-installed oVirt 4.5.4 el8 node.
After the setup via official ISO, I login via ssh in the node and I 
issue the command:

# hosted-engine --deploy --4 --ansible-extra-vars=he_offline_deployment=true
-- Note --
The extra ansible variable is the only way I found to inhibit the 
deployed hosted engine downloading last OS updates that will break 
Python compatibility between the ansible playbook in the node deploying 
and the ansible host in the engine deployed.
Without that extra variable the deployment fails with fancy reasons.
-- End note --

The deployment goes, until i specify an iSCSI target and a (free) LUN.
The playbook adds the storage domain, creates the HE disk and transfert 
the HE vm to the domain. Then an error occurs:

[ 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-lockspace", "--force"], 
"delta": "0:00:00.170053", "end": "2023-10-20 11:21:18.111299", "msg": 
"non-zero return code", "rc": 1, "start": "2023-10-20 11:21:17.941246", 
"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_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 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_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 ", "    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/

[ovirt-users] Re: Strange events during upgrade process to 4.5.4

2023-10-21 Thread Strahil Nikolov via Users
Hi James,
Have you checked the host logs ?Also connect to the Engine system and check the 
logs there.It could be caused by many reasons , but usually it’s network (dns, 
gateway, lost packets, MTU, etc).
Best Regards,Strahil Nikolov 



On Saturday, October 21, 2023, 9:58 PM, james.k...@missouri.edu wrote:

I recently began managing an Ovirt cluster.  It has 5 cpu nodes and 3 gpu nodes 
in two clusters.  When I started it was at 4.2.8 with a standalone engine.  I 
have henceforth been steadily upgrading it to 4.5.4.  I followed the upgrade 
guide and was successful in upgrading all 9 nodes from 4.2 to 4.3.10.  I then 
upgraded the engine to centos 8 with 4.4 engine.  I then rebuilt each of the 
nodes in the two data clusters to centos 8 ovirt 4.4 using the ovirt node 
installer iso.  They all joined the engine correctly.  I then upgraded the 
compatibility to 4.3 in both clusters and rebooted all the running VM's to also 
be at 4.3 compatibility.  I then upgraded the engine to 4.5.4 and proceeded to 
upgrade two nodes to 4.5.4.  They were successful and reattached to the engine 
correctly.  Here is where my issue arises.  Any VM that I migrate to the 4.5.4 
node from a 4.4.10 node migrates correctly and then within 5 minutes will 
automatically migrate back.  If I force pin a VM it stays running.  
 I have searched the logs but not found anything to explain such behavior.

Any assistance or idea ?
___
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/UWBKWAI3APKXACWDGMYHGEC5EKYVGXIY/



___
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/GTR6Y23EV3CKLF7JTPJPQAKICR472QJU/


[ovirt-users] Re: VDSM host_devops command HSMGetAllTasksStatusesVDS failed: Not SPM: ()

2023-10-21 Thread Strahil Nikolov via Users
You need to find why the master storage domain fails. The best way is to 
connect to the engine VM/server and check the logs for the exact reason.
Without it, the whole DC will be down.Once you power it up, the DC will power 
up.
Best Rega,Strahil Nikolov 




On Saturday, October 21, 2023, 9:52 PM, tapz.m...@gmail.com wrote:

Hi All,

We are facing one issue in our environment. After importing a .ova image from 
Virtualbox to KVM, when we tried to remove the imported vm, suddenly getting 
below errors in event

VDSM host_devops command HSMGetAllTasksStatusesVDS failed: Not SPM: ()
Failed to activate Storage Domain domain_devops (Data Center datacenter_devops) 
by admin@internal-authz

It is also observed that our datacenter is non-responsive.

When we try to activate it, getting below error
Failed Activating Storage Domain domain_devops on Data Center datacenter_devops

Can somebody help?
___
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/J4X73GBCXPPTKOCXGN3WEPTRC5K5ZGL3/



___
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/4MEGAT4QLRS7FLPAKGKNN4MILHV627PP/


[ovirt-users] moving engine VM outside one ovirt environment

2023-10-21 Thread vishal . merrit
What is the best way and steps to move engine VM outside the Ovirt environment. 
As of now the engine VM is controlling the host but running also on the same 
Ovirt host. VM must run on a different Ovirt environment. Want to move/migrate 
engine from hosted engine to stand alone VM
___
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/YKQQ5IROSEX6ALEGJEXBXMQTLWRQWCU5/


[ovirt-users] Cannot successfully import Windows vm to new ovirt deployment

2023-10-21 Thread Michaal R via Users
I am running into an issue that, from what little Google-fu I've been able to 
use, should be solved in oVirt 4.5. I'm trying to import WS2019 VMs from ESXi 7 
as OVFs or even OVAs. But when I do the import and set the OS to Windows Server 
2019 x64 in the admin portal, I get the error "Invalid time zone for the given 
OS type ". If I leave it at Other OS, the import fails with event ID 1153. I've 
been banging my head against this for over a week (previously couldn't get the 
management VM to complete setup), so any guidance is appreciated. Let me know 
what to pull to help me pin this down?

BTW, yes this is a self hosted install as a nested VM on ESXi. Kinda have to 
right now to test everything (easiest for me over doing a bare metal on my old 
PowerEdge 2900 at the moment). Running CentOS 9 Stream.
___
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/MZQ6TSOF2O6MV5MIMYQAVQRQQV27KBDD/


[ovirt-users] Engine on EL 9

2023-10-21 Thread David Carvalho via Users
Hello, good morning.

I’m using Oracle Linux and I intended to install a virtualization platffom with 
KVM and oracle VM. The Oracle documention  only mentions Oracle Linux 8 and 
there are no oVirt repositories available for OL 9.

I visited ovirt.org site and at the download page it only mentions:

Engine:

*   Red Hat Enterprise Linux 8.7 (or similar)
*   CentOS Stream 8

I still had no reply at Oracle foruns. Will there be a possibility to use this 
with Oracle Linux 9 soon?

I have 3 servers to install and I also intend to use Gluster FS.

Thanks and regards.

 

 

Os melhores cumprimentos

David Alexandre M. de Carvalho

═══

Especialista de Informática

Departamento de Informática

Universidade da Beira Interior

 

___
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/O3A5RFNUVLKD3STZP6TRR7754YR652DK/


[ovirt-users] No default gateway defined

2023-10-21 Thread gbv.kris--- via Users
When deploying isolated nested virtualization, we received the error "default 
gateway is not defined".
Two virtual machines were created in the zVirt virtualization environment: the 
first OS AstraLinux, the second OS zvirtNode. VM are connected to each other by 
a virtual network. After starting the installation in Hosted Engine mode using 
the command line, this error was received. The setup was performed without DNS 
and the default gateway
___
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/ULUH26OTBBSOHT3WRXLLPSVGR2KQZENX/


[ovirt-users] Strange events during upgrade process to 4.5.4

2023-10-21 Thread james . kump
I recently began managing an Ovirt cluster.  It has 5 cpu nodes and 3 gpu nodes 
in two clusters.  When I started it was at 4.2.8 with a standalone engine.  I 
have henceforth been steadily upgrading it to 4.5.4.  I followed the upgrade 
guide and was successful in upgrading all 9 nodes from 4.2 to 4.3.10.  I then 
upgraded the engine to centos 8 with 4.4 engine.  I then rebuilt each of the 
nodes in the two data clusters to centos 8 ovirt 4.4 using the ovirt node 
installer iso.  They all joined the engine correctly.  I then upgraded the 
compatibility to 4.3 in both clusters and rebooted all the running VM's to also 
be at 4.3 compatibility.  I then upgraded the engine to 4.5.4 and proceeded to 
upgrade two nodes to 4.5.4.  They were successful and reattached to the engine 
correctly.  Here is where my issue arises.  Any VM that I migrate to the 4.5.4 
node from a 4.4.10 node migrates correctly and then within 5 minutes will 
automatically migrate back.  If I force pin a VM it stays running.  
 I have searched the logs but not found anything to explain such behavior.

Any assistance or idea ?
___
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/UWBKWAI3APKXACWDGMYHGEC5EKYVGXIY/


[ovirt-users] VDSM host_devops command HSMGetAllTasksStatusesVDS failed: Not SPM: ()

2023-10-21 Thread tapz . malz
Hi All,

We are facing one issue in our environment. After importing a .ova image from 
Virtualbox to KVM, when we tried to remove the imported vm, suddenly getting 
below errors in event

VDSM host_devops command HSMGetAllTasksStatusesVDS failed: Not SPM: ()
Failed to activate Storage Domain domain_devops (Data Center datacenter_devops) 
by admin@internal-authz

It is also observed that our datacenter is non-responsive.

When we try to activate it, getting below error
Failed Activating Storage Domain domain_devops on Data Center datacenter_devops

Can somebody help?
___
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/J4X73GBCXPPTKOCXGN3WEPTRC5K5ZGL3/