Bug 1382770 - Can't display available errata for host in webadmin
Summary: Can't display available errata for host in webadmin
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.0.5
Hardware: Unspecified
OS: Unspecified
unspecified
high vote
Target Milestone: ---
: ---
Assignee: Moti Asayag
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-07 16:24 UTC by Petr Kubica
Modified: 2016-10-25 10:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-25 10:24:24 UTC
oVirt Team: Infra
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Petr Kubica 2016-10-07 16:24:54 UTC
Description of problem:
I have rhevm engine with satellite provider and I have problem with display available errata in webadmin:
Problem retrieving errata: The engine is not associated with a Foreman/Satellite provider. No errata for the engine are available.
(same error as without associated satellite)

but it worked from api:
https://[engine-fqdn]/ovirt-engine/api/hosts/[host-id]/katelloerrata 
it display a list of available errata 

In engine.log is only: 
ERROR [org.ovirt.engine.core.bll.host.provider.foreman.EngineForemanProviderFinder] (default task-47) [] Failed to find host on any provider by host name '[engine-fqdn]' 

Version-Release number of selected component (if applicable):
rhevm 4.0.5-0.1
Satellite 6.2.1

How reproducible:
always

Steps to Reproduce:
1. rhevm and satellite environment (added as external provider in rhevm, added as compute resource in satellite)
2. add already provisioned host to engine (host will be up)
3. errata page under External Providers tree

Actual results:
Error

Expected results:
Should display errata

Comment 1 Yaniv Kaul 2016-10-07 21:47:08 UTC
Dup of bug 1382833 ?

Comment 2 Oved Ourfali 2016-10-10 05:00:53 UTC
Please give Moti access to your environment to take a look.
The logic we do for engine errata is to look for this host in all configured providers.

Comment 3 Moti Asayag 2016-10-10 06:03:09 UTC
(In reply to Petr Kubica from comment #0)
> Description of problem:
> I have rhevm engine with satellite provider and I have problem with display
> available errata in webadmin:
> Problem retrieving errata: The engine is not associated with a
> Foreman/Satellite provider. No errata for the engine are available.
> (same error as without associated satellite)
> 
> but it worked from api:
> https://[engine-fqdn]/ovirt-engine/api/hosts/[host-id]/katelloerrata 
> it display a list of available errata 
> 
> In engine.log is only: 
> ERROR
> [org.ovirt.engine.core.bll.host.provider.foreman.
> EngineForemanProviderFinder] (default task-47) [] Failed to find host on any
> provider by host name '[engine-fqdn]' 
> 
> Version-Release number of selected component (if applicable):
> rhevm 4.0.5-0.1
> Satellite 6.2.1
> 
> How reproducible:
> always
> 
> Steps to Reproduce:
> 1. rhevm and satellite environment (added as external provider in rhevm,
> added as compute resource in satellite)
> 2. add already provisioned host to engine (host will be up)
> 3. errata page under External Providers tree

The Errata on the system tree presents the errata for the engine server.

In order to view the Errata of a specific host, you should add another step:
Click on 'Edit' host and select the specific Satellite external provider.
When you click on the specific Host, navigate to the 'General' sub-tab and click on the 'Errata' sub-sub tab.

> 
> Actual results:
> Error
> 
> Expected results:
> Should display errata

Comment 4 Petr Kubica 2016-10-25 10:24:24 UTC
Ahh I see, checked and it's working. Thanks.


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