Created attachment 1170743 [details] vdsm and engine logs Description of problem: Unable to upload any files (disks). Version-Release number of selected component: rhevm-4.0.0.5-0.1.el7ev.noarch vdsm-4.18.3-0.el7ev.x86_64 ovirt-imageio-proxy-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch ovirt-imageio-daemon-0.2.1-1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Install engine and vdsm on hosts. 2. Engine side: 2.1. yum install ovirt-imageio-proxy 2.2. engine-setup 2.3. Change value in DB: UPDATE vdc_options SET option_value= 'ngavrilo1.scl.lab.tlv.redhat.com:54323' WHERE option_name = 'ImageProxyAddress'; (restart engine) 3. Host (vdsm): 3.1. yum install ovirt-imageio-daemon 3.2. service ovirt-imageio-daemon start 4. Browser side (Chrome): 4.1. Download: https://ngavrilo1.scl.lab.tlv.redhat.com/ovirt- engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA 4.2. go to setting -> manage certificates -> Authorities -> import -> (choose the downloaded file) -> mark every checkbox -> done 5. Try to upload a file/disk. Actual results: Upload is "paused by system". Expected results: File should be uploaded.
Can you please also attach proxy and chrome logs?
Created attachment 1172454 [details] chrome.log, engine.log, image-proxy.log, vdsm.log
Should this be on 4.0.2?
Yes.
Amit - shouldn't we respin ovirt-imageio to contain this fix?
No, The current version contains this fix.
Scenario changed a bit: now there is no need to change any values in the DB, and on host's side it's enough to install vdsm. Verified: vdsm-4.18.9-1.el7ev.x86_64 ovirt-imageio-daemon-0.3.0-0.el7ev.noarch ovirt-imageio-common-0.3.0-0.el7ev.noarch rhevm-4.0.2.3-0.1.el7ev.noarch ovirt-imageio-proxy-0.3.0-0.el7ev.noarch
The fix for this issue was included in RHV 4.
Remains in 4.0.5 Error message in the webUI when I tried to upload: Unable to upload image to disk 6c844b2d-e864-4e1b-8c34-7c3199f64da7 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. ENGINE.LOG 2017-01-05 14:18:00,529 INFO [org.ovirt.engine.core.bll.storage.disk.image.UploadImageStatusCommand] (default task-58) [39315b8b] Running command: UploadImageStatusCommand internal: false. Entities affected : ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_DISK with role type USER 2017-01-05 14:18:04,795 INFO [org.ovirt.engine.core.bll.storage.disk.image.UploadImageStatusCommand] (default task-72) [56bd66ba] Running command: UploadImageStatusCommand internal: false. Entities affected : ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_DISK with role type USER 2017-01-05 14:18:06,415 INFO [org.ovirt.engine.core.bll.storage.disk.image.UploadImageStatusCommand] (default task-83) [42b85aca] Running command: UploadImageStatusCommand internal: false. Entities affected : ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_DISK with role type USER 2017-01-05 14:18:06,416 INFO [org.ovirt.engine.core.bll.storage.disk.image.UploadImageCommand] (default task-83) [42b85aca] Updating image upload 143150ce-68e4-4ed4-8ae5-1b34a90cbb67 (image 6c844b2d-e864-4e1b-8c34-7c3199f64da7) phase to Paused by System (message: 'Sent 0MB') 2017-01-05 14:18:06,428 WARN [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-83) [42b85aca] Correlation ID: 42b85aca, Call Stack: null, Custom Event ID: -1, Message: Unable to upload image to disk 6c844b2d-e864-4e1b-8c34-7c3199f64da7 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. 2017-01-05 14:18:08,630 INFO [org.ovirt.engine.core.bll.storage.disk.image.UploadImageStatusCommand] (default task-85) [17f62f09] Running command: UploadImageStatusCommand internal: false. Entities affected : ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_DISK with role type USER