On Thu, Sep 30, 2021 at 12:23 PM <acly...@gmail.com> wrote:

Thanks for reporting.

> This may be the same issue as described here:
> https://lists.ovirt.org/archives/list/users@ovirt.org/thread/CJISJIDQKSINIJUA5UO6Y4BRFQYEOYLA/
> https://bugzilla.redhat.com/show_bug.cgi?id=1977276
>
> I am on 4.4.8.6-1.el8, installed a couple days ago from the ovirt node ISO. 
> In particular, I noticed if I SSH into the hosted engine and tail -f 
> /var/log/ovirt-imageio/daemon.log, in the failure case I get something like:
>
> 2021-09-30 08:15:52,330 INFO    (Thread-8) [http] OPEN connection=8 
> client=::ffff:192.168.1.53
> 2021-09-30 08:16:23,315 INFO    (Thread-8) [http] CLOSE connection=8 
> client=::ffff:192.168.1.53 [connection 1 ops, 30.984947 s] [dispatch 1 ops, 
> 0.000097 s]

There is no activity since the upload never started.

> No activity in tail -f /var/log/ovirt-imageio/daemon.log on the host (I only 
> have one host) in the failure case, just the engine. In the success case, 
> there is activity in both logs.
>
> It is very intermittent. Sometimes uploads work most of the time (maybe 4 out 
> of 5), and I've had other times that uploads do not work at all (0 out of 5).
>
> I think when it's behaving particularly badly, restarting the engine 
> (hosted-engine --vm-shutdown, then hosted-engine --vm-start) helps, but I 
> haven't figured out a reliable pattern. (I am logged in as admin.) I've tried 
> several browsers, closing/reopening the browser, etc.
>
> Hoping this info will help in tracking it down.

We tracked this down, and it is fixed upstream.

The fix should be available in 4.4.9.
See https://gerrit.ovirt.org/c/ovirt-engine/+/116861

Until this is fixed, you can upload using the SDK, which is also a
better way to upload and download
images anyway.

Install these packages on the host used for uploading:

    dnf install ovirt-imageio-client python3-ovirt-engine-sdk4

(packages are already installed on hosts and engine)

Create ovirt configuration file if needed:

$ cat ~/.config/ovirt.conf
[my-engine]
engine_url = https://my-engine.example.com
username = admin@internal
password = mypassword
cafile = /path/to/cacert.pem

cafile can be downloaded from:
https://my-engine.example.com/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA

Then you can upload using:

    python3 /usr/share/doc/python3-ovirt-engine-sdk4/examples/upload_disk.py
-c my-engine --sd-name my-storage-domain /path/to/iso

See --help for more options.

Nir
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VANDRITI5YPVDLCSJ7FSOPLBF5DDKCGB/

Reply via email to