Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1446907

Summary: [RFE] - link to engine's certificate on upload image network error event should display the actual engine url instead of <engine_url>
Product: [oVirt] ovirt-engine Reporter: Natalie Gavrielov <ngavrilo>
Component: RFEsAssignee: Rob Young <royoung>
Status: CLOSED CURRENTRELEASE QA Contact: Avihai <aefrat>
Severity: medium Docs Contact:
Priority: low    
Version: 4.1.2CC: bugs, ebenahar
Target Milestone: ovirt-4.3.0Keywords: EasyFix, FutureFeature
Target Release: 4.3.0Flags: ylavi: ovirt-4.3?
rule-engine: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.0_alpha Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-13 07:46:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Natalie Gavrielov 2017-04-30 11:59:00 UTC
Description of problem:
In bug 1425774 event log shows the following message when a browser has no engine certificate:

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

IMHO, if it's possible to display the actual engine url where the certificate can be obtained from.. it would be best.
For example, if the engine's url is: my-ovirt-engine, the message would display:
https://my-ovirt-engine/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA

instead of <engine_url>

Comment 1 Daniel Erez 2018-09-20 14:37:02 UTC
*** Bug 1627019 has been marked as a duplicate of this bug. ***

Comment 2 Avihai 2018-10-14 10:48:24 UTC
Verified at 4.3.0-0.0.master.20181009124701.gitbd53f5b.el7.

New message display the actual engine url as expected :

From Engine log:
2018-10-14 13:44:31,971+03 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-68) [ca287735-2f85-4e11-8228-0348a6fe9f57] EVENT_ID: UPLOAD_IMAGE_NETWORK_ERROR(1,062), Unable to upload image to disk 6bf17634-6027-4d3b-95bf-451d2397565f due to a network error. Ensure that ovirt-imageio-proxy service is installed and configured and that ovirt-engine's CA certificate is registered as a trusted CA in the browser. The certificate can be fetched from https://storage-ge-03.scl.lab.tlv.redhat.com/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA

Comment 3 Sandro Bonazzola 2018-11-02 14:31:39 UTC
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.

Comment 4 Sandro Bonazzola 2018-11-02 14:47:52 UTC
Closed by mistake, moving back to qa -> verified

Comment 6 Sandro Bonazzola 2019-02-13 07:46:40 UTC
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.