[ovirt-users] Hosted deployment difficulties, am I missing anything?
Hi everyone, Last week I had a server go down, which was the only node in my deployment handling the hosted engine (ironically, this happened right when we were planning to move the he to HA). As a result, we have been trying to redeploy the engine but have had no success. We have tried installing on every ovirt node ng stable version from 4.4.10-4.5.4.el8 and .el9. Unfortunately, each time we try to deploy the engine from scratch, we receive either of two errors depending on the version. Some versions fail to create the default network, which can be manually fixed but leads to the following error. The deployment goes until the "Waiting for host to be up" stage; however, it fails without any information as to why. I've sifted through virtually all the logs but can't find the root cause. I am aware of an ongoing issue in the ansible collection (https://github.com/oVirt/ovirt-ansible-collection/issues/695); however, even the fix outlined there does not seem to solve this issue. Additionally, I have headed the recent advice from Sandro to switch to the nightly version. Unfortunately, this has also not been working on either ovirt node or CentOS 9/8, and today has resulted in the following error: [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["virsh", "net-dumpxml", "default"], "delta": "0:00:00.077767", "end": "2023-04-17 17:00:05.980049", "msg": "non-zero return code", "rc": 1, "start": "2023-04-17 17:00:05.902282", "stderr": "error: failed to get network 'default'\nerror: Network not found: no network with matching name 'default'", "stderr_lines": ["error: failed to get network 'default'", "error: Network not found: no network with matching name 'default'"], "stdout": "", "stdout_lines": []} [ ERROR ] Failed to execute stage 'Closing up': Failed getting local_vm_dir Please let me know what additional information needs to be provided; I am more than happy to do so. Is there something I'm missing here? Is there a version that is confirmed to be working at the moment? I am grateful for anyone who takes the time to look into my issue, Xavier Lauzon ___ 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/HXMQOSJKITV5T6257UPJ5TU2KTRU52HO/
[ovirt-users] Re: ovirt-engine - developer mode installation
Hi, On Mon, Apr 17, 2023 at 11:54 AM wrote: > Hi Martin, > > Sorry I have to grab you for more help. > > I'm checking the developer mode documentation and just installed the > packages listed under prerequisites. Now I come this line: > > Note on Java versions > The project is built and run using java 11. 4.3 branches and earlier are > excluded. > > > The java version in my CS8 is as : > java-1.8.0-openjdk-headless-1.8.0.352.b08-2.el8.x86_64 > That's OK OpenJDK 1.8 is the default version for CS8, it cannot be removed > java-11-openjdk-11.0.17.0.8-2.el8.x86_64 > java-11-openjdk-headless-11.0.17.0.8-2.el8.x86_64 > java-11-openjdk-devel-11.0.17.0.8-2.el8.x86_64 > That's OK, OpenJDK 11 is required for oVirt. The easiest way to force using OpenJDK 11 is to set JAVA_HOME in $HOME/.bash_profile: JAVA_HOME=/usr/lib/jvm/java-11 PATH=$JAVA_HOME/bin:$PATH export JAVA_HOME PATH That way you will ensure that you are using OpenJDK 11 Regards, Martin > Should I change/upgrade java? Any easy way to do it like `dnf module > switch-to`? > > Sincerely, > Yongsheng > ___ > 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/23T46V242K6KABDMI6KKWPTC45NLHDSS/ > -- Martin Perina Manager, Software Engineering Red Hat Czech s.r.o. ___ 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/DKJAOU6WZFSWU2BGE7SX6NBBGCU5ESKA/
[ovirt-users] Re: oVirt Installation script
Just to close this thread, I gave up on RHEL, CentOS and Rocky. I downloaded the oVirt iso which made me progress. However, I could not complete the deployment due to other issues (which I will raise as separate thread(s)). Thanks for the time. ___ 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/TZK4PMCLV36ZOV7RMXI6RI6X6B6DI2N4/
[ovirt-users] Re: ovirt-engine - developer mode installation
Hi Martin, Sorry I have to grab you for more help. I'm checking the developer mode documentation and just installed the packages listed under prerequisites. Now I come this line: Note on Java versions The project is built and run using java 11. 4.3 branches and earlier are excluded. The java version in my CS8 is as : java-1.8.0-openjdk-headless-1.8.0.352.b08-2.el8.x86_64 java-11-openjdk-11.0.17.0.8-2.el8.x86_64 java-11-openjdk-headless-11.0.17.0.8-2.el8.x86_64 java-11-openjdk-devel-11.0.17.0.8-2.el8.x86_64 Should I change/upgrade java? Any easy way to do it like `dnf module switch-to`? Sincerely, Yongsheng ___ 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/23T46V242K6KABDMI6KKWPTC45NLHDSS/
[ovirt-users] Re: ovirt-engine - developer mode installation
Hi Martin, Thanks for instruction! Great help. Sincerely Yongsheng ___ 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/P7ZYNMCO4FFR5TVLQUC3RVH6RBDCQSPB/
[ovirt-users] Re: ovirt-engine - developer mode installation
Hi, have you check the developer mode documentation? https://github.com/ovirt/ovirt-engine/#developer-mode-installation As mentioned there you need postgresql 12 or higher, so in CentOS Stream 8 you need to enable the correct dnf module, which provides the right postgresql version: dnf module -y enable postgresql:12 There are also other dnf modules which you will need to enable on CS8, more or less you will need the same modules as in production installation: https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_manager_with_local_databases/index.html#Enabling_the_Red_Hat_Virtualization_Manager_Repositories_install_RHVM Regards, Martin On Mon, Apr 17, 2023 at 9:29 AM wrote: > Hello , > > I'm doing a developer mode installation for ovirt-engine. I'd like to > install it based on CentOS 8 Stream, but no matched version of postgresql > packages are provided. Which CentOS version should I start this work? > > Sincerely, > Yongsheng > ___ > 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/KN4TZA4QXTCA353GW4K22XPIHI6D7TLQ/ > -- Martin Perina Manager, Software Engineering Red Hat Czech s.r.o. ___ 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/WCLKX7KXVLBOYKZSO6QFMVZ62LYWBXEZ/
[ovirt-users] ovirt-engine - developer mode installation
Hello , I'm doing a developer mode installation for ovirt-engine. I'd like to install it based on CentOS 8 Stream, but no matched version of postgresql packages are provided. Which CentOS version should I start this work? Sincerely, Yongsheng ___ 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/KN4TZA4QXTCA353GW4K22XPIHI6D7TLQ/