On Mon, Apr 27, 2020 at 11:05 PM Nir Soffer <nsof...@redhat.com> wrote:
>
> On Mon, Apr 27, 2020 at 12:24 PM Artur Socha <aso...@redhat.com> wrote:
> >
> > Hi,
> > After a long break I am trying setup my engine so that I could upload images
> > (ISO) there and use them when spinning new VMs. First I tried recent master
> > (FC31) and then latest 4.4 beta from RPMs (Centos8).
> >
> > I have ovirt-imageio daemon running on the same host engine is running. 
> > (with
> > the simplest possible configuration - TLS disabled)
>
> We require TLS for imageio, it is not secure enough to use without TLS and
> we don't support it.
>
> > Unfortunately when I hit 'test connection' in admin ui/storage/domain I keep
> > seeing error message complaining about ovirt-imageio-proxy setup.
> > I know that recently there has been quite a lot of changes related to the 
> > next
> > version of imageio.
>
> Probably because engine was not ready for imgeio in the latest beta build.
>
> > Is there something else besides ovirt-imageio daemon that I should have
> > installed/configured?  Perhaps there is some documentation I could use?
>
> On master everything (but development setup) works:
>
> commit ce3a94aedcfc85ede5bd7090cab27a9b592b4187
> Author: Daniel Erez <de...@redhat.com>
> Date:   Sun Apr 19 23:40:59 2020 +0300
>
>     core: increase ticket timeout value
>
>     Increased ImageTransferClientTicketValidityInSeconds to 300
>
>     Change-Id: Iae3fb6ad0c6b5af1e2dc747bfbc67375a5cd7b2c
>     Signed-off-by: Daniel Erez <de...@redhat.com>
>
>
> But this commit fixed development setup but broke installation from rpms:
>
> commit 81a5e757fd8768ace825140ca7dc701cc2e011ce
> Author: Vojtech Juranek <vjura...@redhat.com>
> Date:   Thu Apr 23 11:44:41 2020 +0200
>
>     spec: allow imageio config in dev env
>
>     Add $PREFIX into imageio config directory to allow imageio configuration
>     in development environment when config files are installed into
>     a specified directory.
>     Currently it fails with:
>
>         [Errno 13] Permission denied: '/etc/ovirt-imageio'
>
>     Change-Id: I9e13bba0e97f681b0b07d5a135be76113e391ddc
>     Signed-off-by: Vojtech Juranek <vjura...@redhat.com>
>
> Fix is here:
> https://gerrit.ovirt.org/c/108672

Merged, so installing from master should work now.

> For development setup there is this patch in review:
> https://gerrit.ovirt.org/c/108620
>
> Until the patch is ready, this is the recommended way to set up
> development environment:
>
> 1. Install ovirt-imageio service
>
>     dnf install ovit-imageio-daemon
>
> 2. Run engine setup
>
> This creates a working configuration file at
> $PREFIX/etc/ovirt-imagei/daemon.conf
>
> However it does not create a logger.conf file, so you need to create one.
> The default configuration will not work for you since you want to run
> ovirt-imageio as yourself, and you cannot write logs to
> /var/log/ovirt-imageio.
>
> 3. Create logger.conf for development
>
>     $ curl 
> https://raw.githubusercontent.com/oVirt/ovirt-imageio/master/daemon/test/conf/logger.conf
> >  $PREFIX/etc/ovirt-imageio/logger.conf
>
> Now run imageio using:
>
>     $ ./ovirt-imageio --conf-dir $PREFIX/etc/ovirt-imageio
>
>
>
>
> >
> >
> > thanks!
> >
> > --
> > Artur Socha
> > Senior Software Engineer, RHV
> > Red Hat
> >
> > _______________________________________________
> > Devel mailing list -- devel@ovirt.org
> > To unsubscribe send an email to devel-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/devel@ovirt.org/message/JDDVTQC6K7U56D5WAIYOQ4HDGORAVELR/
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/WMZ7MOC6O7KU6W6MNDDBNVXILCEEQI2V/

Reply via email to