Bug 1446922 - [downstream clone - 4.1.3] disk image upload fails (network error
Summary: [downstream clone - 4.1.3] disk image upload fails (network error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.0.6
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ovirt-4.1.3
: ---
Assignee: Daniel Erez
QA Contact: Natalie Gavrielov
URL:
Whiteboard:
Depends On: 1430243
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-30 14:55 UTC by rhev-integ
Modified: 2021-08-30 11:50 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1430243
Environment:
Last Closed: 2017-07-06 07:30:42 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-43184 0 None None None 2021-08-30 11:50:44 UTC
Red Hat Knowledge Base (Solution) 2730191 0 None None None 2017-04-30 14:57:07 UTC
Red Hat Product Errata RHEA-2017:1692 0 normal SHIPPED_LIVE Red Hat Virtualization Manager (ovirt-engine) 4.1.3 2017-07-06 11:24:35 UTC
oVirt gerrit 74329 0 master MERGED core: increase default value of UploadImageXhrTimeoutInSeconds 2017-04-30 14:57:07 UTC
oVirt gerrit 74423 0 ovirt-engine-4.1 MERGED core: increase default value of UploadImageXhrTimeoutInSeconds 2017-04-30 14:57:07 UTC

Description rhev-integ 2017-04-30 14:55:35 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1430243 +++
======================================================================

## Description of problem:

When I try to upload a disk image, it fails with the error:

WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-29) [cor-id] Correlation ID: [cor-id], Call Stack: null, Custom Event ID: -1, Message: Unable to upload image to disk <disk-img> 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.


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

rhevm-4.0.6.3-0.1.el7ev.noarch
ovirt-engine-4.0.6.3-0.1.el7ev.noarch
ovirt-imageio-common-0.3.0-0.el7ev.noarch
ovirt-imageio-proxy-0.4.0-0.el7ev.noarch
ovirt-imageio-proxy-setup-0.4.0-0.el7ev.noarch


## How reproducible:

Always

## Steps to Reproduce:

1. import CA
2. click 'disks' -> 'upload' -> start
3. select image to upload

## Actual results:

Some traffic can be seen over port 54323 (between client and rhevm), but then the status goes to 'paused by system'.  After a log time, originally stated error appears in the event tab

## Expected results:

disk image to import, or a more specific error provided as to the cause of the problem.

## Additional info

required ports are open, and 'ImageProxyAddress' is correct

(Originally by Marcus West)

Comment 5 rhev-integ 2017-04-30 14:55:53 UTC
Hi Marcus,

Please make sure:
* The *engine* ca is imported, i.e.:
  http://<engine_url>/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA
* Network isn't blocked (firewall, etc)
* You're logged to the WebAdmin using https and fqdn.

(Originally by Daniel Erez)

Comment 15 rhev-integ 2017-04-30 14:56:24 UTC
(In reply to Marcus West from comment #0)
Which browser are you using? did you try with another browser?

(Originally by Nir Soffer)

Comment 16 rhev-integ 2017-04-30 14:56:27 UTC
@Marcus:
* Does the client machine have any limitation on upload transfer speed?
* Can you please try to reduce the value of UploadImageChunkSizeKB (in vdc_options table) and check whether it mitigates the issue.

(Originally by Daniel Erez)

Comment 17 rhev-integ 2017-04-30 14:56:30 UTC
Another solution: try increasing the 'imaged_read_timeout_sec' value (e.g. 300), located in the proxy conf file (/etc/ovirt-imageio-proxy/ovirt-imageio-proxy.conf),
and restart the proxy service..

(Originally by Daniel Erez)

Comment 18 rhev-integ 2017-04-30 14:56:33 UTC
> which version of rhel and webob are installed in the working 4.0 env?

on rhevmhe1:

Red Hat Enterprise Linux Server release 7.3 (Maipo)
python-webob-1.2.3-6.el7.noarch
eap7-jboss-metadata-web-10.0.0-6.Final_redhat_1.1.ep7.el7.noarch
eap7-jboss-websocket-api_1.1_spec-1.1.1-1.Final_redhat_1.1.ep7.el7.noarch
ovirt-engine-4.0.6.3-0.1.el7ev.noarch
ovirt-imageio-common-0.5.0-0.el7ev.noarch
ovirt-imageio-proxy-0.5.0-0.el7ev.noarch
ovirt-imageio-proxy-setup-0.5.0-0.el7ev.noarch

> Which browser are you using? did you try with another browser?

browser: Firefox 45.4.0, on RHEL7 CSB  
I also have Chrome 54.0.2840.59, will try that also

(Originally by Marcus West)

Comment 27 rhev-integ 2017-04-30 14:56:59 UTC
Nir / Daniel,

Anything special in the scenario that should be tested? 
It seems to me just a regular UI upload..

(Originally by Natalie Gavrilov)

Comment 28 Natalie Gavrielov 2017-05-22 13:54:41 UTC
Verified using:
ovirt-engine-4.1.2.2-0.1.el7.noarch
rhevm-4.1.2.2-0.1.el7.noarch
ovirt-imageio-common-1.0.0-0.el7ev.noarch
ovirt-imageio-proxy-1.0.0-0.el7ev.noarch
ovirt-imageio-daemon-1.0.0-0.el7ev.noarch
vdsm-4.19.15-1.el7ev.x86_64

Scenario tested:
Upload images using python-sdk:
   a. rate: 1MB/s
   b. rate 512KB/s
Also checked data integrity using md5sum.

Comment 33 errata-xmlrpc 2017-07-06 07:30:42 UTC
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, 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/RHEA-2017:1692


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