Bug 1411654 - Can't install ovirt-engine-appliance rpm via cockpit while subscribed.
Summary: Can't install ovirt-engine-appliance rpm via cockpit while subscribed.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhevm-appliance
Version: unspecified
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ovirt-4.1.0-rc
: ---
Assignee: Ryan Barry
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-10 08:59 UTC by Yihui Zhao
Modified: 2019-04-28 13:13 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Previously, rhvm-appliance was not available via subscriptions on the RHV-H channels. In this release, rhvm-appliance is now used as the preferred deployment mechanism by ovirt-hosted-engine-setup, and is now available in the RHV-H channels.
Clone Of:
Environment:
Last Closed:
oVirt Team: Node
Target Upstream Version:
Embargoed:
rbarry: needinfo-


Attachments (Terms of Use)
yumfailed.png (33.01 KB, image/png)
2017-01-10 08:59 UTC, Yihui Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1066 0 normal SHIPPED_LIVE rhvm-appliance bug fix and enhancement update for RHV 4.1 2017-04-18 21:03:07 UTC

Description Yihui Zhao 2017-01-10 08:59:33 UTC
Created attachment 1239012 [details]
yumfailed.png

Description of problem: 
Don't install ovirt-engine-appliance rpm via cockpit while subscribed

Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.1-0.20170104.0
cockpit-ovirt-dashboard-0.10.7-0.0.3.el7ev.noarch
cockpit-ws-126-1.el7.x86_64
imgbased-0.9.2-0.1.el7ev.noarch


How reproducible: 
100% 
Regression bug 
Keywords: UI

Steps to Reproduce: 
1. Install RHVH 4.1
2. Login cockpit website hostIP:9090 with root account 
3. Subscribe with account "qa" via cockpit
4. Deploy HE via cockpit without engine-appliance pre-install


Actual results: 
After step 4, without appliance pre-install, and install ovirt-engine-appliance rpm failed.

Expected results: 
After step 4,Install ovirt-engine-appliance rpm successfully by the needed version.


Additional info: 
Repos: 
[root@dhcp-10-229 ~]# yum repolist all
Loaded plugins: imgbased-persist, product-id, search-disabled-repos, subscription-manager
repo id                                                                             repo name                                                                                          status
rhel-7-server-rhvh-4-beta-debug-rpms/x86_64                                         Red Hat Virtualization Host 7 Beta (Debug RPMs)                                                    enabled:   2
rhel-7-server-rhvh-4-beta-rpms/x86_64                                               Red Hat Virtualization Host 7 Beta (RPMs)                                                          enabled:  41
rhel-7-server-rhvh-4-beta-source-rpms/x86_64                                        Red Hat Virtualization Host 7 Beta (Source RPMs)                                                   enabled:  21
rhel-7-server-rhvh-4-debug-rpms/x86_64                                              Red Hat Virtualization Host 7 (Debug RPMs)                                                         enabled:   0
rhel-7-server-rhvh-4-rpms/x86_64                                                    Red Hat Virtualization Host 7 (RPMs)                                                               enabled:   6
rhel-7-server-rhvh-4-source-rpms/x86_64                                             Red Hat Virtualization Host 7 (Source RPMs)                                                        enabled:   6
rhel-atomic-7-cdk-2.2-debug-rpms                                                    Red Hat Container Development Kit 2.2 /(Debug RPMs)                                                enabled:   0
rhel-atomic-7-cdk-2.2-rpms                                                          Red Hat Container Development Kit 2.2 /(RPMs)                                                      enabled:   0
rhel-atomic-7-cdk-2.2-source-rpms                                                   Red Hat Container Development Kit 2.2 /(Source RPMs)                                               enabled:   0
rhel-atomic-7-cdk-2.3-debug-rpms                                                    Red Hat Container Development Kit 2.3 /(Debug RPMs)                                                enabled:   0
rhel-atomic-7-cdk-2.3-rpms                                                          Red Hat Container Development Kit 2.3 /(RPMs)                                                      enabled:   0
rhel-atomic-7-cdk-2.3-source-rpms                                                   Red Hat Container Development Kit 2.3 /(Source RPMs)                                               enabled:   0
rhel-atomic-7-devstudio-10.0-debug-rpms                                             Red Hat Developer Studio 10.0 /(Debug RPMs)                                                        enabled:   0
rhel-atomic-7-devstudio-10.0-rpms                                                   Red Hat Developer Studio 10.0 /(RPMs)                                                              enabled:   0
rhel-atomic-7-devstudio-10.0-source-rpms                                            Red Hat Developer Studio 10.0 /(Source RPMs)                                                       enabled:   0
rhel-atomic-host-beta-debug-rpms/x86_64                                             Red Hat Enterprise Linux Atomic Host Beta (Debug RPMs)                                             enabled:   0
rhel-atomic-host-beta-rpms/x86_64                                                   Red Hat Enterprise Linux Atomic Host Beta (RPMs)                                                   enabled:  34
rhel-atomic-host-beta-source-rpms                                                   Red Hat Enterprise Linux Atomic Host Beta (Source RPMs)                                            enabled:  22
rhel-atomic-host-debug-rpms/x86_64                                                  Red Hat Enterprise Linux Atomic Host (Debug RPMs)                                                  enabled:  49
rhel-atomic-host-htb-rpms/x86_64                                                    Red Hat Enterprise Linux Atomic Host HTB (RPMs)                                                    enabled:   0
rhel-atomic-host-rpms/x86_64                                                        Red Hat Enterprise Linux Atomic Host (RPMs)                                                        enabled: 136
rhel-atomic-host-source-rpms/x86_64                                                 Red Hat Enterprise Linux Atomic Host (Source RPMs)                                                 enabled:  66
rhel-atomic-preview-debug-rpms                                                      Red Hat Enterprise Linux Atomic Host Preview (Debug RPMs)                                          enabled:   0
rhel-atomic-preview-source-rpms                                                     Red Hat Enterprise Linux Atomic Host Preview (Source RPMs)                                         enabled:   0
repolist: 383

Comment 1 Sandro Bonazzola 2017-01-10 09:31:41 UTC
Simone, here we can either provide ovirt-engine-appliance within the downstream rhvm-appliance package or check for both within hosted-engine setup.
What do you prefer?

Comment 2 Simone Tiraboschi 2017-01-10 09:38:59 UTC
I'd prefer avoid checking for the two options in the upstream code; a rebranding patch could do the job but 'Provide' on the rhevm-appliance seams simpler.

Comment 3 Ryan Barry 2017-01-10 19:31:47 UTC
"Provides" is ok with me.

Just to verify, is rhvm-appliance/rhevm-appliance visible in the configured repos?

Comment 4 Yihui Zhao 2017-01-11 02:54:32 UTC
(In reply to Ryan Barry from comment #3)
> "Provides" is ok with me.
> 
> Just to verify, is rhvm-appliance/rhevm-appliance visible in the configured
> repos?

Hi.Ryan
   Could you provide your repos for me? Or How can it download the specified version of rhevm-appliance if needed.
For example, I want to download the old version rhevm-appliance via cockpit.

Thanks
Yihui

Comment 5 Ryan Barry 2017-01-11 03:26:50 UTC
I'm wondering whether yum on the CLI can find thevm-appliance with the RHVH subscription. I don't remember whether this ever made it was not the optional channels, and I only have an account which can test this on staging...

Comment 9 Emma Heftman 2017-02-09 15:55:35 UTC
Ryan, in order to fix the doc text for the Release Notes, I need to get a clearer understand of what this is resolving.
Can you confirm whether this problem actually occurred in 4.0 and is now being fixed in 4.1?

According to the reproduce steps, it happens in 4.1. So, has something changed in 4.1 that is causing this issue to occur?

Comment 10 Ryan Barry 2017-02-09 17:55:31 UTC
No, Emma.

This issue also occurred in 4.1, but ovirt-hosted-engine-setup in 4.0 did not require the appliance. It does in 4.1, so the issue is more pressing


Note You need to log in before you can comment on or make changes to this bug.