On Wed, Feb 6, 2019 at 12:24 PM Fedor Gavrilov <fgavrilo(a)redhat.com> wrote:
First, please keep Daniel in the CC, this is your best chance to get a help
on
this, and a good practice for most issues :-)
Thanks, Roy! I will try setting it up according to what you suggested.
Last attempt failed indeed: according to logs, both daemon and proxy
tried
establishing a connection with each other with some 200 OK in logs, no
error messages but nevertheless upload did not happen after all.
Did you restart engine after changing the config?
Did you add engine CA to the browser?
Did you check the browser console.log?
Can you share your logs?
Speaking about it, does anyone know more straightforward way to have
ISO
disk on data domain?
Uploading from the UI is the most straightforward way. But you need to get
a working setup
first.
I am not as much interested in debugging ISO upload but rather attaching it
to VM.
Sad that you are not interested in this yet, but in the meantime you can
use the ovirt SDK
upload_disk.py example.
1. install first the ovirt python sdk version 4:
dnf install python3-ovirt-engine-sdk4
2. Download the upload disk example:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload...
3. Change the configuration to match your setup (e.g. storage domain name)
4. Upload:
python upload_disk.py --direct /path/to/disk.iso
Note that --direct goes directly to the host, this is faster compared with
going to the proxy.
I think we should have a proper command line tool that make all this much
easier. We have
this RFE:
https://bugzilla.redhat.com/show_bug.cgi?id=1626262
Maybe you can be interested in implementing this?
Nir