Bug 1755156
Summary: | [RFE] Cockpit: RHV deployment missing local appliance installation | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | schandle |
Component: | cockpit-ovirt | Assignee: | Aviv Turgeman <aturgema> |
Status: | CLOSED ERRATA | QA Contact: | Wei Wang <weiwang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.3.5 | CC: | aturgema, cshao, dfediuck, emarcus, lsvaty, mavital, mtessun, peyu, qiyuan, sbonazzo, shlei, weiwang, yaniwang |
Target Milestone: | ovirt-4.4.5 | Keywords: | FutureFeature |
Target Release: | 4.4.5 | Flags: | aturgema:
needinfo-
weiwang: testing_plan_complete+ |
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | cockpit-ovirt-0.14.20 | Doc Type: | Enhancement |
Doc Text: |
In this release, it is now possible to enter a path to the OVA archive for local appliance installation using the cockpit-ovirt UI.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-14 11:38:43 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
schandle
2019-09-24 21:54:34 UTC
Let's verify this issue is reproducible. Wei can you please try to reproduce? In theory installing the rpm should make cockpit happy. Afaik since RHV 4.0 you need to point to the rhvm-image with a config file that is installed using rhvm-appliance - there is no way to set the path manually during SHE installation neither on CLI nor on cockpit (as it is running the CLI script): [root@inf4 ~]# cat /etc/ovirt-hosted-engine/10-appliance.conf description=The RHV-M Appliance image (OVA) version=4.3-20200128.0.el7 path=/usr/share/ovirt-engine-appliance/rhvm-appliance-4.3-20200128.0.el7.ova sha1sum=2e3ae8a273913e60674611f2d8363de59a4f7273 [root@inf4 ~]# Also rhvm-appliance rpm does install this file: [root@inf4 ~]# rpm -q -l rhvm-appliance /etc/ovirt-hosted-engine/10-appliance.conf /usr/share/ovirt-engine-appliance /usr/share/ovirt-engine-appliance/rhvm-appliance-4.3-20200128.0.el7.ova [root@inf4 ~]# I will doublecheck that the manual entering of the path hasn't been re-added, but I believe this behaviour is expected. Looks like hosted-engine-delploy does ask for the path again (so this seem to have been re-added): please specify the path to the OVA archive you would like to use (leave it empty to skip, the setup will use rhvm-appliance rpm installing it if missing): Checking cockpit for the same steps there is no way to add a path to the VM appliance. No options are presented until Prepare VM. Clicking Prepare VM does run the ansible script for setting up SHE - ending with downloading the appliance image: [ INFO ] ok: [localhost] [ INFO ] TASK [ovirt.hosted_engine_setup : Install ovirt-engine-appliance rpm] So the workaround would be to install rhvm-appliance rpm and not just download it. Anyways we should have the options to specify an image in cockpit as well, as it is present in the CLI. I would expect that option within the "Advanced" section. Doing the same installation (disconnected) with rhevm-appliance installed using cockpit: The flow looks pretty much the same - no option for setting the rhvm-appliance. Prepare VM though uses the installed rhvm-appliance for installation. That said, as the CLI flow has again the option to manually specify the image, we should add this option to cockpit as well. This is a RFE bug. I can reproduce this bug. For cockpit: No option displays in cockpit UI for Hosted engine to specify the path of ovirt-engine-appliance. For CLI: There is an option to specify the path of ovirt-engine-appliance If you want to deploy with a custom engine appliance image, please specify the path to the OVA archive you would like to use (leave it empty to skip, the setup will use rhvm-appliance rpm installing it if missing): Shared connection to 10.73.73.105 closed. [weiwang@192 ~]$ No matter install rhvm-appliance or download it. The latest build rhvh-4.4.5.3-0.20210215.0 contains cockpit-ovirt-dashboard-0.14.19-1.el8ev.noarch, so QE will verify this bug after the new build which includes cockpit-ovirt-0.14.20 is coming. Hi Aviv, please review this updated doc text: In this release, it is now possible to enter a path to the OVA archive for local appliance installation using the cockpit-ovirt UI Hi Eli sorry for late response, and yes this looks good to me Test Version: RHVH-4.4-20210331.0-RHVH-x86_64-dvd1.iso cockpit-ws-224.2-1.el8.x86_64 subscription-manager-cockpit-1.27.18-1.el8_3.noarch cockpit-storaged-224.2-1.el8.noarch cockpit-bridge-224.2-1.el8.x86_64 cockpit-224.2-1.el8.x86_64 cockpit-system-224.2-1.el8.noarch cockpit-ovirt-dashboard-0.14.20-1.el8ev.noarch ovirt-hosted-engine-setup-2.4.9-4.el8ev.noarch ovirt-hosted-engine-ha-2.4.6-1.el8ev.noarch Test Steps: 1. Clean install RHVH 2. Install rhvm-appliance-4.4-20210310.0.el8ev.rpm to the host 3. Move the rhvm-appliance-4.4-20210310.0.el8ev.ova to /root/ 4. Remove the rhvm-appliance package from this host 5. Fill the OVA Archive Path in Advance of VM setting window within cockpit hosted engine wizard. e.g: /root/rhvm-appliance-4.4-20210310.0.el8ev.ova 6. Fill other right parameters and begin to deploy hosted engine Test Result The rhvm-appliance can be extracted successfully, and hosted engine deploy successful. Bug is fixed, move it to "VERIFIED" Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: RHV RHEL Host (ovirt-host) 4.4.z [ovirt-4.4.5] security, bug fix, enhancement), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1184 |