[ovirt-users] Engine deploy fails - "Wait for the host to be up"

2022-11-04 Thread simon
I use ansible to build a 3 node HCI environment, or at least I did with 4.4.6.

This fails every time with 4.5.2 - what broke?

Has anyone any idea what changed and if there's a simple resolution?

Kind Regards

Simon...


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


[ovirt-users] Re: expired host certificate

2022-11-04 Thread Diggy Mc
Nevermind.  I found "Enroll Certificate"  I had looked under "Management", but 
not "Installation".  **sigh**  Sorry for wasting your time.  :/
The host is back up and running.
___
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/YZF46LXOSMGPURAW43FE47FZEROKZNGH/


[ovirt-users] Virtual Machine Pools

2022-11-04 Thread Christopher Law
Hopefully, someone can clarify this a bit for me...

>From the redhat instructions...

"In principle, virtual machines in a pool are started when taken by a user, and 
shut down when the user is finished. However, virtual machine pools can also 
contain pre-started virtual machines. Pre-started virtual machines are kept in 
an up state, and remain idle until they are taken by a user. This allows users 
to start using such virtual machines immediately, but these virtual machines 
will consume system resources even while not in use due to being idle."

How do users request "take" virtual machines from the pool? For example with a 
windows machine where we want them to remote desktop into it using RDP? Or does 
this have to happen through some other portal? Do we have to give users access 
to the VM Portal?

Cheers,

Chris.
___
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/ZMSC3D3HPW4VO6ZAHCEAFSTIK5BYOQ4J/


[ovirt-users] The latest guest agent needs to be installed

2022-11-04 Thread Christopher Law
I've got a couple of VMs giving me this error message, "the latest guest agent 
needs to be installed and running". These VMs have the latest guest agent 
installed and it is running (virtio-win-1.9.24.iso)

The only change to the environment recently was one host has been upgraded from 
4.5.2 to 4.5.3. It seems to be the VMs that had at one point ran on this 
updated host. However, that host is currently turned off they are running on 
4.5.2 hosts and have been rebooted. These are Windows Server 2022, 2019 and 
Windows 11 VMs.

I will be updating the rest of the hosts this weekend so can see what happens 
then. The qemu-guest-agent tools is the same version running elsewhere even 
tried to repair it no change.

Any ideas?

Cheers,

Chris.
___
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/VCHUNZ4FAUH4MHHQTHEQBFRKLAUQCIIK/


[ovirt-users] Re: expired host certificate

2022-11-04 Thread Diggy Mc
Furthermore, I cannot put the host into local maintenance.  The command:
"hosted-engine --set-maintenance --mode=local"
yields the error:
RuntimeError: Couldn't  connect to VDSM within 60 seconds

"hosted-engine --vm-status" returns the error:
The hosted engine configuration has not been retrieved from shared storage yet,
please ensure that ovirt-ha-agent service is running.

"systemctl list-units --failed" reports the following fails:
libvirtd.service
libvirtd-admin.socket
libvirtd-ro.socket
libvirtd-tls.socket
libvirtd.socket

And although not listed above as failed, "systemctl status 
ovirt-ha-agent.service" says it exited with status=157.
___
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/D5QM6UIZDHT26FQJXPP3GWNEJLOSOBZA/


[ovirt-users] Re: expired host certificate

2022-11-04 Thread Diggy Mc
How do I run Enroll Certificate ???   It doesn't appear to be a command line 
command.

As for upgrading to 4.5, I can't upgrade because the hosted engine is running 
CentOS Linux, not CentOS 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/NIZKQUBIAAISUORVSJCB2J6HAUXRU3GE/


[ovirt-users] Re: infrastructure boostrap. (i.e engine start / autostart).

2022-11-04 Thread Michal Skrivanek


> On 4. 11. 2022, at 15:03, dupar...@esrf.fr wrote:
> 
> Thanks for your reply
> 
>> with oVirt or elsewhere?
> 
> That was with XEN,  OCFS2 cluster context, which is more prone to 
> instabilities.
> Anyway, loosing the manager/engine when things start going wrong is just 
> worsening the situation.

Yes, but oVirt does that quite differently. Despite the challenges around 
deployment I believe it's a way safer solution than trying to run this 
independently/manually.

Thanks,
michal

> ___
> 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/MR72VXWOPYNSNKBT2DUCKRYUOQWGHMTJ/
___
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/QKB35ICYTF24W7GCFZH6IGN4L34QZR4C/


[ovirt-users] Re: infrastructure boostrap. (i.e engine start / autostart).

2022-11-04 Thread duparchy
Thanks for your reply

> with oVirt or elsewhere?

That was with XEN,  OCFS2 cluster context, which is more prone to instabilities.
Anyway, loosing the manager/engine when things start going wrong is just 
worsening the situation.
___
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/MR72VXWOPYNSNKBT2DUCKRYUOQWGHMTJ/


[ovirt-users] Re: Please, Please Help - New oVirt Install/Deployment Failing - "Host is not up..."

2022-11-04 Thread Michal Skrivanek


> On 2. 11. 2022, at 11:01, Matthew J Black  wrote:
> 
> OK, so as I said I was going to do I've now gone through the logs.
> 
> I've place the log files into DropBox 
> (https://www.dropbox.com/sh/eymwdy8hzn3sa7z/AACscSP2eaFfoiN-QzyeEVfaa?dl=0)
> 
> There was only one significant part of the logs (at least that what it 
> appears to me) and I've included that extract below:
> 
> ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-...log Extract
> 
> ~~~
> 2022-11-01 21:34:57,395+1100 INFO ansible task start {'status': 'OK', 
> 'ansible_type': 'task', 'ansible_playbook': 
> '/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml', 
> 'ansible_task': 'ovirt.ovirt.hosted_engine_setup : Notify the user about a 
> failure'}
> 2022-11-01 21:34:57,395+1100 DEBUG ansible on_any args TASK: 
> ovirt.ovirt.hosted_engine_setup : Notify the user about a failure  kwargs 
> is_conditional:False 
> 2022-11-01 21:34:57,396+1100 DEBUG ansible on_any args localhost TASK: 
> ovirt.ovirt.hosted_engine_setup : Notify the user about a failure  kwargs 
> 2022-11-01 21:34:57,875+1100 INFO ansible skipped {'status': 'SKIPPED', 
> 'ansible_type': 'task', 'ansible_playbook': 
> '/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml', 
> 'ansible_task': 'Notify the user about a failure', 'ansible_host': 
> 'localhost'}
> 2022-11-01 21:34:57,876+1100 DEBUG ansible on_any args 
>   kwargs 
> 2022-11-01 21:34:58,359+1100 INFO ansible task start {'status': 'OK', 
> 'ansible_type': 'task', 'ansible_playbook': 
> '/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml', 
> 'ansible_task': 'ovirt.ovirt.hosted_engine_setup : Set host_id'}
> 2022-11-01 21:34:58,359+1100 DEBUG ansible on_any args TASK: 
> ovirt.ovirt.hosted_engine_setup : Set host_id  kwargs is_conditional:False 
> 2022-11-01 21:34:58,360+1100 DEBUG ansible on_any args localhost TASK: 
> ovirt.ovirt.hosted_engine_setup : Set host_id  kwargs 
> 2022-11-01 21:34:58,844+1100 DEBUG var changed: host "localhost" var 
> "host_id" type "" 
> value: ""eb33e62a-2929-499f-80de-b7ac38a075f5""
> 2022-11-01 21:34:58,844+1100 INFO ansible ok {'status': 'OK', 'ansible_type': 
> 'task', 'ansible_playbook': 
> '/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml', 
> 'ansible_host': 'localhost', 'ansible_task': 'Set host_id', 'task_duration': 
> 0}
> 2022-11-01 21:34:58,844+1100 DEBUG ansible on_any args 
>   kwargs 
> 2022-11-01 21:34:59,288+1100 INFO ansible task start {'status': 'OK', 
> 'ansible_type': 'task', 'ansible_playbook': 
> '/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml', 
> 'ansible_task': 'ovirt.ovirt.hosted_engine_setup : Collect error events from 
> the Engine'}
> 2022-11-01 21:34:59,289+1100 DEBUG ansible on_any args TASK: 
> ovirt.ovirt.hosted_engine_setup : Collect error events from the Engine  
> kwargs is_conditional:False 
> 2022-11-01 21:34:59,290+1100 DEBUG ansible on_any args localhost TASK: 
> ovirt.ovirt.hosted_engine_setup : Collect error events from the Engine  
> kwargs 
> 2022-11-01 21:35:00,157+1100 INFO ansible ok {'status': 'OK', 'ansible_type': 
> 'task', 'ansible_playbook': 
> '/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml', 
> 'ansible_host': 'localhost', 'ansible_task': 'Collect error events from the 
> Engine', 'task_duration': 1}
> 2022-11-01 21:35:00,157+1100 DEBUG ansible on_any args 
>   kwargs 
> 2022-11-01 21:35:00,625+1100 DEBUG var changed: host "localhost" var 
> "error_events" type "" value: "{
>"changed": false,
>"failed": false,
>"ovirt_events": [
>{
>"cluster": {
>"href": 
> "/ovirt-engine/api/clusters/c44e2594-989d-4f1e-8308-feec46918d67",
>"id": "c44e2594-989d-4f1e-8308-feec46918d67",
>"name": "my_cluster_1"
>},
>"code": 532,
>"custom_id": -1,
>"description": "Used memory of host ovirt_node_1.mynet.local in 
> cluster my_cluster_1 [100%] exceeded defined threshold [95%].",
>"flood_rate": 0,
>"host": {
>"href": 
> "/ovirt-engine/api/hosts/eb33e62a-2929-499f-80de-b7ac38a075f5",
>"id": "eb33e62a-2929-499f-80de-b7ac38a075f5",
>"name": "ovirt_node_1.mynet.local"
>},
>"href": "/ovirt-engine/api/events/142",
>"id": "142",
>"index": 142,
>"origin": "oVirt",
>"severity": "warning",
>"time": "2022-11-01 21:34:57.64+11:00"
>},
>{
>"cluster": {
>"href": 
> "/ovirt-engine/api/clusters/c44e2594-989d-4f1e-8308-feec46918d67",
>"id": "c44e2594-989d-4f1e-8308-feec46918d67",
>"name": "my_cluster_1"
>},
>"code": 519,
>"correlation_id": "65a04e79",
>"custom_id": -1,
>"description": "Host ovirt_node_1.mynet.local does not comply with 
> the cluster my_cluster_1 

[ovirt-users] Re: expired host certificate

2022-11-04 Thread Michal Skrivanek


> On 2. 11. 2022, at 22:13, Diggy Mc  wrote:
> 
> I'm running oVirt 4.4.  The "libvirtd" service won't start and it appears to 
> be because of an expired certificate.
> 
> How do I create and install a new certificate on the host.  Your help is much 
> appreciated.

run Enroll Certificate for the host, if it is in Maintenance state.
There's been quite a few fixes around certificate expiration/renewal in 4.5, 
you really should upgrade

Thanks,
michal

> 
> -- Diggy
> 
> ---
> ___
> 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/YH72ACVXJJSIMJ3VSO4FEWBT6RU3J4TA/
___
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/5LJ4SURNDM5QGRM324NZO52YWPOWLK2G/


[ovirt-users] Re: infrastructure boostrap. (i.e engine start / autostart).

2022-11-04 Thread Michal Skrivanek


> On 4. 11. 2022, at 10:49, dupar...@esrf.fr wrote:
> 
> Hi, 
> 
> We decided to run the oVirt engine (Oracle flavor) outside the 
> infrastructure. (Medium infrastructure, 10 Hosts, iSCSI storage arrays)
> We created a second, smaller infrastructure (Single host, local storage) for 
> management (engine) and monitoring (nagios, Dell storage manager etc..) . . 
> This secondary infrastructure's engine runs in the first infrastructure.
> 
> So, If you picture it, we're facing a "bootstrap" cross-dependency problem 
> where each engine need the other one to start.
> 
> This is actually a design we had when we were using Xen (Oracle's). 
> Xen provides the "xen create" command to start a VM, even w/o a manager. 
> Bootstrap problem solved. 
> 
> We're moving to oVirt and I understand that oVirt does not support 
> out-of-the-box starting a VM w/o the engine.
> 
> I've found a workaround that seems to work and would like your advice :
> 
> -  keep a dump of XML of the engine VM
> # virsh -r dumpxml prodEngine > prodEngine.xml
> 
> - When necessary use virsh to start the engine
> # virsh -c qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf 
> create prodEngine.xml


there' libvirt where you can do anything as you wish. The complexity is with 
network and storage preparation, that's why we need ovirt-engine because all 
the configuration and logic is there. You can run suff manually but then you 
have to handle all that yourself too. E.g. what happens if the VM dies, what 
happens if storage becomes disconnected, how do you connect it after host boot, 
etc.
That's what self-hosted engine feature does. It's not without its own issues, 
but it's there to care of all these cases

> 
> The only visible problem is a warning at the VM that was started manually 
> saying "Newer configuration for next run". A restart clears the warning and 
> there's does not seem to be consequences with the VM that had been started 
> from a dump xml.
> 
> Note : I understand that there is the "self-hosted" engine architecture that 
> solves that "bootstrap" problem. We're no into that for now. We had bad 
> experience with that design in the past. 

with oVirt or elsewhere?

Thanks,
michal

> ___
> 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/E2WM2N7G5VVIXI7M7VQEALSE7XO6RHUC/
___
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/7DLK4FBNOO35IOFL2UXW5K6OEJLXBA55/


[ovirt-users] infrastructure boostrap. (i.e engine start / autostart).

2022-11-04 Thread duparchy
Hi, 

We decided to run the oVirt engine (Oracle flavor) outside the infrastructure. 
(Medium infrastructure, 10 Hosts, iSCSI storage arrays)
We created a second, smaller infrastructure (Single host, local storage) for 
management (engine) and monitoring (nagios, Dell storage manager etc..) . . 
This secondary infrastructure's engine runs in the first infrastructure.

So, If you picture it, we're facing a "bootstrap" cross-dependency problem 
where each engine need the other one to start.

This is actually a design we had when we were using Xen (Oracle's). 
Xen provides the "xen create" command to start a VM, even w/o a manager. 
Bootstrap problem solved. 

We're moving to oVirt and I understand that oVirt does not support 
out-of-the-box starting a VM w/o the engine.

I've found a workaround that seems to work and would like your advice :

-  keep a dump of XML of the engine VM
# virsh -r dumpxml prodEngine > prodEngine.xml

- When necessary use virsh to start the engine
# virsh -c qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf 
create prodEngine.xml

The only visible problem is a warning at the VM that was started manually 
saying "Newer configuration for next run". A restart clears the warning and 
there's does not seem to be consequences with the VM that had been started from 
a dump xml.

Note : I understand that there is the "self-hosted" engine architecture that 
solves that "bootstrap" problem. We're no into that for now. We had bad 
experience with that design in the past. 
___
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/E2WM2N7G5VVIXI7M7VQEALSE7XO6RHUC/