Hosted Engine Deployment failure

Hi, I ma tryinf to deploy hosted engine and keeps on failing with following errors. Am new to oVirt and unabe to figure out what the issues is? any help would be very much appreciated. [ INFO ] TASK [ovirt.ovirt.engine_setup : Install oVirt Engine package] [ ERROR ] fatal: [localhost -> 192.168.222.214]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'ovirt-4.4-centos-gluster8': repomd.xml parser error: Parse error at line: 68 (xmlParseStartTag: invalid element name\n)", "rc": 1, "results": []} [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Sync on engine machine] [ INFO ] changed: [localhost -> 192.168.222.214] [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set destination directory path] [ INFO ] ok: [localhost -> localhost] [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create destination directory] [ INFO ] changed: [localhost -> localhost] [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks] [ INFO ] ok: [localhost] [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Find the local appliance image] [ INFO ] ok: [localhost -> localhost] [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set local_vm_disk_path] [ INFO ] ok: [localhost -> localhost] [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Give the vm time to flush dirty buffers] [ INFO ] ok: [localhost -> localhost] [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Copy engine logs] [ INFO ] changed: [localhost] [ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Notify the user about a failure] [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "There was a failure deploying the engine on the local engine VM. The system may not be provisioned according to the playbook results: please check the logs for the issue, fix accordingly or re-deploy from scratch.\n"}

On Wed, Oct 20, 2021 at 8:35 AM Raj P <sunilvarma72@gmail.com> wrote:
Hi, I ma tryinf to deploy hosted engine and keeps on failing with following errors.
Am new to oVirt and unabe to figure out what the issues is? any help would be very much appreciated.
[ INFO ] TASK [ovirt.ovirt.engine_setup : Install oVirt Engine package] [ ERROR ] fatal: [localhost -> 192.168.222.214]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'ovirt-4.4-centos-gluster8': repomd.xml parser error: Parse error at line: 68 (xmlParseStartTag: invalid element name\n)", "rc": 1, "results": []}
This might be a problem with your repos, or with the mirror you use, or a proxy. Please check: 1. The output of this: rpm -qa | grep ovirt-release 2. Does this work? dnf install -y glusterfs You might try to edit one of /etc/yum.repos.d/ovirt-*.repo to use a specific mirror instead of mirrorlist, if you use mirrorlist - search there for gluster, comment the mirrorlist line and uncomment the baseurl line. Best regards, -- Didi

Hi Didi, am not sure what the problem is, am getting different errors every time i try to do a dnf update. Below are the outputs for the given commands. 1. [root@ovirt-node1 ~]# rpm -qa | grep ovirt-release ovirt-release44-4.4.8.3-1.el8.noarch ovirt-release-host-node-4.4.8.3-1.el8.noarch 2. [root@ovirt-node1 ~]# dnf install -y glusterfs Ceph packages for x86_64 3.5 kB/s | 3.0 kB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 4.5 kB/s | 4.1 kB 00:00 CentOS-8 - Gluster 8 47 kB/s | 77 kB 00:01 virtio-win builds roughly matching what will be shippe 99 B/s | 3.0 kB 00:31 Copr repo for EL8_collection owned by sbonazzo 1.2 kB/s | 3.6 kB 00:03 Copr repo for gluster-ansible owned by sac 1.0 kB/s | 3.3 kB 00:03 Advanced Virtualization CentOS Stream packages for x86 3.9 kB/s | 3.0 kB 00:00 CentOS-8 Stream - oVirt 4.4 2.8 kB/s | 3.0 kB 00:01 CentOS-8 - OpsTools - co320% [=========================================================CentOS-8 - OpsTools - collectd 37 kB/s | 106 kB 00:02 Error: Failed to download metadata for repo 'ovirt-4.4-centos-opstools': repomd.xml parser error: Parse error at line: 68 (xmlParseStartTag: invalid element name ) 3. This is just an default installation and the below al the files in the yum.reps.d directory [root@ovirt-node1 yum.repos.d]# ls CentOS-Stream-AppStream.repo CentOS-Stream-HighAvailability.repo node-optional.repo CentOS-Stream-BaseOS.repo CentOS-Stream-Media.repo ovirt-4.4-dependencies.repo CentOS-Stream-Debuginfo.repo CentOS-Stream-PowerTools.repo ovirt-4.4.repo CentOS-Stream-Extras.repo CentOS-Stream-RealTime.repo 4. contents in the ovirt-4.4-dependencies.repo [root@ovirt-node1 yum.repos.d]# cat ovirt-4.4-dependencies.repo # imgbased: set-enabled [ovirt-4.4-epel] name = Extra Packages for Enterprise Linux 8 - $basearch metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=$basearch&infra=$infra&content=$contentdir enabled = 1 gpgcheck = 1 gpgkey = https://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [ovirt-4.4-centos-gluster8] name = CentOS-$releasever - Gluster 8 mirrorlist = http://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-gluster-8 gpgcheck = 1 enabled = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Storage includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [ovirt-4.4-virtio-win-latest] name = virtio-win builds roughly matching what will be shipped in upcoming RHEL baseurl = https://fedorapeople.org/groups/virt/virtio-win/repo/latest enabled = 1 gpgcheck = 0 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [ovirt-4.4-copr:copr.fedorainfracloud.org:sbonazzo:EL8_collection] name = Copr repo for EL8_collection owned by sbonazzo baseurl = https://copr-be.cloud.fedoraproject.org/results/sbonazzo/EL8_collection/epel... type = rpm-md gpgcheck = 1 gpgkey = https://copr-be.cloud.fedoraproject.org/results/sbonazzo/EL8_collection/pubk... repo_gpgcheck = 0 enabled = 1 enabled_metadata = 1 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [ovirt-4.4-copr:copr.fedorainfracloud.org:sac:gluster-ansible] name = Copr repo for gluster-ansible owned by sac baseurl = https://copr-be.cloud.fedoraproject.org/results/sac/gluster-ansible/epel-8-x... type = rpm-md gpgcheck = 1 gpgkey = https://copr-be.cloud.fedoraproject.org/results/sac/gluster-ansible/pubkey.g... repo_gpgcheck = 0 enabled = 1 enabled_metadata = 1 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [ovirt-4.4-centos-stream-advanced-virtualization] name = Advanced Virtualization CentOS Stream packages for $basearch baseurl = http://mirror.centos.org/centos/8-stream/virt/$basearch/advancedvirt-common/ enabled = 1 gpgcheck = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Virtualization module_hotfixes = 1 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [ovirt-4.4-centos-stream-ovirt44] name = CentOS-8 Stream - oVirt 4.4 baseurl = http://mirror.centos.org/centos/8-stream/virt/$basearch/ovirt-44/ enabled = 1 gpgcheck = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Virtualization includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [ovirt-4.4-centos-opstools] name = CentOS-8 - OpsTools - collectd mirrorlist = http://mirrorlist.centos.org/?arch=$basearch&release=$releasever&repo=opstools-collectd-5 gpgcheck = 1 enabled = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-OpsTools includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [ovirt-4.4-centos-stream-nfv-openvswitch] name = CentOS-$releasever - NFV OpenvSwitch baseurl = http://mirror.centos.org/centos/8-stream/nfv/$basearch/openvswitch-2/ gpgcheck = 1 enabled = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-NFV module_hotfixes = 1 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [ovirt-4.4-centos-ceph-pacific] name = Ceph packages for $basearch baseurl = http://mirror.centos.org/centos/8-stream/storage/$basearch/ceph-pacific enabled = 1 priority = 2 gpgcheck = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Storage includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [ovirt-4.4-openstack-victoria] name = OpenStack Victoria Repository baseurl = http://mirror.centos.org/centos/$releasever/cloud/$basearch/openstack-victor... gpgcheck = 1 enabled = 1 module_hotfixes = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Cloud includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [root@ovirt-node1 yum.repos.d]#

Il giorno mer 20 ott 2021 alle ore 09:03 Raj P <sunilvarma72@gmail.com> ha scritto:
Hi Didi,
am not sure what the problem is, am getting different errors every time i try to do a dnf update. Below are the outputs for the given commands.
1. [root@ovirt-node1 ~]# rpm -qa | grep ovirt-release ovirt-release44-4.4.8.3-1.el8.noarch ovirt-release-host-node-4.4.8.3-1.el8.noarch
2. [root@ovirt-node1 ~]# dnf install -y glusterfs Ceph packages for x86_64 3.5 kB/s | 3.0 kB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 4.5 kB/s | 4.1 kB 00:00 CentOS-8 - Gluster 8 47 kB/s | 77 kB 00:01 virtio-win builds roughly matching what will be shippe 99 B/s | 3.0 kB 00:31 Copr repo for EL8_collection owned by sbonazzo 1.2 kB/s | 3.6 kB 00:03 Copr repo for gluster-ansible owned by sac 1.0 kB/s | 3.3 kB 00:03 Advanced Virtualization CentOS Stream packages for x86 3.9 kB/s | 3.0 kB 00:00 CentOS-8 Stream - oVirt 4.4 2.8 kB/s | 3.0 kB 00:01 CentOS-8 - OpsTools - co320% [=========================================================CentOS-8 - OpsTools - collectd 37 kB/s | 106 kB 00:02 Error: Failed to download metadata for repo 'ovirt-4.4-centos-opstools': repomd.xml parser error: Parse error at line: 68 (xmlParseStartTag: invalid element name )
Sounds like your network is flaky and dnf can't complete the download of repomd.xml. It's downloading at 99 bytes per second so it really looks like very bad connectivity.
3. This is just an default installation and the below al the files in the yum.reps.d directory
[root@ovirt-node1 yum.repos.d]# ls CentOS-Stream-AppStream.repo CentOS-Stream-HighAvailability.repo node-optional.repo CentOS-Stream-BaseOS.repo CentOS-Stream-Media.repo ovirt-4.4-dependencies.repo CentOS-Stream-Debuginfo.repo CentOS-Stream-PowerTools.repo ovirt-4.4.repo CentOS-Stream-Extras.repo CentOS-Stream-RealTime.repo
4. contents in the ovirt-4.4-dependencies.repo
[root@ovirt-node1 yum.repos.d]# cat ovirt-4.4-dependencies.repo # imgbased: set-enabled [ovirt-4.4-epel] name = Extra Packages for Enterprise Linux 8 - $basearch metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=$basearch&infra=$infra&content=$contentdir enabled = 1 gpgcheck = 1 gpgkey = https://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options
[ovirt-4.4-centos-gluster8] name = CentOS-$releasever - Gluster 8 mirrorlist = http://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-gluster-8 gpgcheck = 1 enabled = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Storage includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options
[ovirt-4.4-virtio-win-latest] name = virtio-win builds roughly matching what will be shipped in upcoming RHEL baseurl = https://fedorapeople.org/groups/virt/virtio-win/repo/latest enabled = 1 gpgcheck = 0 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options
[ovirt-4.4-copr:copr.fedorainfracloud.org:sbonazzo:EL8_collection] name = Copr repo for EL8_collection owned by sbonazzo baseurl = https://copr-be.cloud.fedoraproject.org/results/sbonazzo/EL8_collection/epel... type = rpm-md gpgcheck = 1 gpgkey = https://copr-be.cloud.fedoraproject.org/results/sbonazzo/EL8_collection/pubk... repo_gpgcheck = 0 enabled = 1 enabled_metadata = 1 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options
[ovirt-4.4-copr:copr.fedorainfracloud.org:sac:gluster-ansible] name = Copr repo for gluster-ansible owned by sac baseurl = https://copr-be.cloud.fedoraproject.org/results/sac/gluster-ansible/epel-8-x... type = rpm-md gpgcheck = 1 gpgkey = https://copr-be.cloud.fedoraproject.org/results/sac/gluster-ansible/pubkey.g... repo_gpgcheck = 0 enabled = 1 enabled_metadata = 1 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options
[ovirt-4.4-centos-stream-advanced-virtualization] name = Advanced Virtualization CentOS Stream packages for $basearch baseurl = http://mirror.centos.org/centos/8-stream/virt/$basearch/advancedvirt-common/ enabled = 1 gpgcheck = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Virtualization module_hotfixes = 1 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options
[ovirt-4.4-centos-stream-ovirt44] name = CentOS-8 Stream - oVirt 4.4 baseurl = http://mirror.centos.org/centos/8-stream/virt/$basearch/ovirt-44/ enabled = 1 gpgcheck = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Virtualization includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options
[ovirt-4.4-centos-opstools] name = CentOS-8 - OpsTools - collectd mirrorlist = http://mirrorlist.centos.org/?arch=$basearch&release=$releasever&repo=opstools-collectd-5 gpgcheck = 1 enabled = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-OpsTools includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options
[ovirt-4.4-centos-stream-nfv-openvswitch] name = CentOS-$releasever - NFV OpenvSwitch baseurl = http://mirror.centos.org/centos/8-stream/nfv/$basearch/openvswitch-2/ gpgcheck = 1 enabled = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-NFV module_hotfixes = 1 includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options
[ovirt-4.4-centos-ceph-pacific] name = Ceph packages for $basearch baseurl = http://mirror.centos.org/centos/8-stream/storage/$basearch/ceph-pacific enabled = 1 priority = 2 gpgcheck = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Storage includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options
[ovirt-4.4-openstack-victoria] name = OpenStack Victoria Repository baseurl = http://mirror.centos.org/centos/$releasever/cloud/$basearch/openstack-victor... gpgcheck = 1 enabled = 1 module_hotfixes = 1 gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Cloud includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options [root@ovirt-node1 yum.repos.d]#
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/QWRQWARENBKY5Q...
-- Sandro Bonazzola MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://www.redhat.com/> *Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.*

Hi Sandro, Am not sure where the problem is, I am on a 1gig link with 500 mbps upload download on average. I think its just happening with the repos and its a different error every time. [root@ovirt-node1 ~]# dnf update -y oVirt Node Optional packages from CentOS Stream 8 - BaseOS 45 kB/s | 106 kB 00:02 Error: Failed to download metadata for repo 'onn-baseos': repomd.xml parser error: Parse error at line: 68 (xmlParseStartTag: invalid element name )

Do you use proxy ? Best Regards,Strahil Nikolov On Thu, Oct 21, 2021 at 5:07, Raj P<sunilvarma72@gmail.com> wrote: Hi Sandro, Am not sure where the problem is, I am on a 1gig link with 500 mbps upload download on average. I think its just happening with the repos and its a different error every time. [root@ovirt-node1 ~]# dnf update -y oVirt Node Optional packages from CentOS Stream 8 - BaseOS 45 kB/s | 106 kB 00:02 Error: Failed to download metadata for repo 'onn-baseos': repomd.xml parser error: Parse error at line: 68 (xmlParseStartTag: invalid element name ) _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/ENTBPXPDEQOYCW...
participants (4)
-
Raj P
-
Sandro Bonazzola
-
Strahil Nikolov
-
Yedidyah Bar David