Bug 1425774 - add a link to engine's certificate on upload image network error event
Summary: add a link to engine's certificate on upload image network error event
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.1.2
: 4.1.2
Assignee: Daniel Erez
QA Contact: Natalie Gavrielov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-22 11:49 UTC by Daniel Erez
Modified: 2019-04-28 10:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-23 08:20:56 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.1+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 72875 0 master MERGED webadmin: add url to UPLOAD_IMAGE_NETWORK_ERROR 2017-02-22 19:06:39 UTC
oVirt gerrit 72945 0 ovirt-engine-4.1 MERGED webadmin: add url to UPLOAD_IMAGE_NETWORK_ERROR 2017-02-23 13:00:07 UTC

Description Daniel Erez 2017-02-22 11:49:29 UTC
Created attachment 1256423 [details]
missing_certificate_event

Description of problem:
Upon uploading an image from the WebAdmin, if the engine certificate is missing in the browser, a link to the certificate should be a part of the event for easier mitigation of the issue.

Version-Release number of selected component (if applicable):
4.1

How reproducible:
100%

Steps to Reproduce:
1. Have a browser with no engine certificate
2. Upload an image from the WebAdmin

Actual results:
The following event is displayed:
Unable to upload image to disk ${DiskId} due to a network error. Make sure ovirt-imageio-proxy service is installed and configured, and ovirt-engine's certificate is registered as a valid CA in the browser.

Expected results:
The event includes an (hard-coded) link:
The certificate can be fetched from https://<engine_url>/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA 

Additional info:
Attached is a screenshot

Comment 1 Natalie Gavrielov 2017-04-30 11:47:57 UTC
Verified, rhevm-4.1.2-0.1.el7.noarch

Unable to upload image to disk ce410d60-3bb5-44cd-b96a-5c44babc8fc8 due to a network error. Make sure ovirt-imageio-proxy service is installed and configured, and ovirt-engine's certificate is registered as a valid CA in the browser. The certificate can be fetched from https://<engine_url>/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA


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