Bug 1847974
Summary: | [RHV 4.4 Beta] Hosted-Engine setup failed with error " No package ovirt-engine available" using appliance. | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ulhas Surse <usurse> |
Component: | ovirt-hosted-engine-setup | Assignee: | Asaf Rachmani <arachman> |
Status: | CLOSED DUPLICATE | QA Contact: | Wei Wang <weiwang> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.4.0 | CC: | lsurette, mavital, pelauter |
Target Milestone: | ovirt-4.4.2 | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-26 12:40:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ulhas Surse
2020-06-17 13:23:17 UTC
2020-06-05 16:16:11,818+1000 ERROR ansible failed { "ansible_host": "localhost", "ansible_playbook": "/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml", "ansible_result": { "_ansible_delegated_vars": { "ansible_host": "<hostname>" }, "_ansible_no_log": false, "changed": false, "failures": [ "No package ovirt-engine available." ], RHVH 4.4 specific issue. Test with rhvh-4.4.0.21-0.20200518.0 (cockpit-ovirt-dashboard-0.14.6-1.el8ev.noarch,ovirt-hosted-engine-setup-2.4.4-1.el8ev.noarch) 1. Clean install rhvh-4.4.0.21-0.20200518.0 [root@hp-dl388g9-05 ~]# cat /etc/os-release NAME="Red Hat Enterprise Linux" VERSION="8.2" VERSION_ID="8.2" PLATFORM_ID="platform:el8" ID="rhel" ID_LIKE="fedora" VARIANT="Red Hat Virtualization Host" VARIANT_ID="ovirt-node" PRETTY_NAME="Red Hat Virtualization Host 4.4.0 (el8.2)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:8.2:GA:hypervisor" HOME_URL="https://www.redhat.com/" BUG_REPORT_URL="https://bugzilla.redhat.com/" # FIXME REDHAT_BUGZILLA_PRODUCT="Red Hat Virtualization" REDHAT_BUGZILLA_PRODUCT_VERSION=8.2 REDHAT_SUPPORT_PRODUCT="Red Hat Virtualization" REDHAT_SUPPORT_PRODUCT_VERSION=8.2 2. [root@hp-dl388g9-05 ~]# subscription-manager register --username=xxxx --password=xxxx --auto-attach Registering to: subscription.rhsm.redhat.com:443/subscription The system has been registered with ID: 5247c711-191f-4201-b467-ae9568f794ed The registered system name is: hp-dl388g9-05.lab.eng.pek2.redhat.com Installed Product Current Status: Product Name: Red Hat Virtualization Host Status: Subscribed Product Name: Red Hat Enterprise Linux for x86_64 Status: Subscribed 3. [root@hp-dl388g9-05 ~]# subscription-manager repos --list ... Repo ID: rhvh-4-beta-for-rhel-8-x86_64-rpms Repo Name: Red Hat Virtualization Host Beta for RHEL 8 x86_64 (RPMs) Repo URL: https://cdn.redhat.com/content/beta/layered/rhel8/x86_64/rhvh/4/os Enabled: 0 ... 4. [root@hp-dl388g9-05 ~]# subscription-manager repos --disable=* Repository 'amq-textonly-1-for-middleware-rpms' is disabled for this system. Repository 'satellite-tools-6.5-for-rhel-8-x86_64-aus-source-rpms' is disabled for this system. Repository 'openstack-beta-for-rhel-8-x86_64-debug-rpms' is disabled for this system. ... 5. [root@hp-dl388g9-05 ~]# subscription-manager repos --enable=rhvh-4-beta-for-rhel-8-x86_64-rpms Repository 'rhvh-4-beta-for-rhel-8-x86_64-rpms' is enabled for this system. [root@hp-dl388g9-05 ~]# yum repolist Updating Subscription Management repositories. repo id repo name rhvh-4-beta-for-rhel-8-x86_64-rpms Red Hat Virtualization Host Beta for RHEL 8 x86_64 (RPMs) 6. Deploy hosted engine via cockpit UI successfully. 7. [root@hp-dl388g9-05 ~]# hosted-engine --vm-status --== Host hp-dl388g9-05.lab.eng.pek2.redhat.com (id: 1) status ==-- Host ID : 1 Host timestamp : 14006 Score : 3400 Engine status : {"vm": "up", "health": "good", "detail": "Up"} Hostname : hp-dl388g9-05.lab.eng.pek2.redhat.com Local maintenance : False stopped : False crc32 : 9bad8797 conf_on_shared_storage : True local_conf_timestamp : 14006 Status up-to-date : True Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=14006 (Sun Jun 28 23:07:43 2020) host-id=1 score=3400 vm_conf_refresh_time=14006 (Sun Jun 28 23:07:43 2020) conf_on_shared_storage=True maintenance=False state=EngineUp stopped=False Ulhas, RHVH deploys hosted engine via online download rhvm-appliance successfully. FIO, please check the repos enabled in your environment, and make sure enable the repo "rhvh-4-beta-for-rhel-8-x86_64-rpms". I'm also not able to reproduceĀ it. From the logs, you already have the rhvm-appliance package, and the failure is about ovirt-engine package. ovirt-engine package should already be inside rhvm-appliance, so I don't see any reason to get "No package ovirt-engine available" error. This task runs on the HE VM, so the repo in HE VM is not required (as we already have the ovirt-engine package). I suggest connecting to the HE VM and check the logs/ovirt-engine package. Hi Ulhas, There are two points, maybe can help us: 1. After enabling the rhvh right repo, using below command to check the rpm is existed on host. # yum search rhvm-appliance 2. During hosted engine deployment, checking whether the rhvm-appliance is installed in to the host. # rpm -qa|grep rhvm-appliance If any one of them fail, I think it is none of hosted engine setup function's business. Closing since we are unable to reproduce it This issue is reproducible when applying OpenSCAP security profile. *** This bug has been marked as a duplicate of bug 1867158 *** |