On Tue, Oct 13, 2020 at 12:25 PM Tim Bordemann via Users
<[email protected]> wrote:
>
>
>
> > On 13. Oct 2020, at 10:01, Vojtech Juranek <[email protected]> wrote:
> >
> > On úterý 13. října 2020 9:37:11 CEST Tim Bordemann wrote:
> >>> On 12. Oct 2020, at 12:15, Vojtech Juranek <[email protected]> wrote:
> >>>
> >>> On pátek 9. října 2020 19:02:32 CEST tim-nospam--- via Users wrote:
> >>>> Hello.
> >>>>
> >>>> After an upgrade I am not able to upload images anymore via the ovirt ui.
> >>>> When testing the connection, I always get the error message "Connection
> >>>> to
> >>>> ovirt-imageio-proxy service has failed. Make sure the service is
> >>>> installed,
> >>>> configured, and ovirt-engine certificate is registered as a valid CA in
> >>>> the
> >>>> browser.".
> >>>>
> >>>> I found out that the imageio daemon doesn't listen on port 54323 anymore,
> >>>> so the browser can not connect to it. The daemon is configured to listen
> >>>> on port 54323 though:
> >>>>
> >>>> # cat /etc/ovirt-imageio/conf.d/50-engine.conf
> >>>> [...]
> >>>> [remote]
> >>>> port = 54323
> >>>> [...]
> >>>>
> >>>> The imageio daemon has been started successfully on the engine host as
> >>>> well
> >>>> as on the other hosts.
> >>>>
> >>>> I am currently stuck, what should I do next?
> >>>> The ovirt version I am using is 4.4.
> >>>
> >>> what is exact version of imageio? (rpm -qa|grep imageio)
> >>
> >> # rpm -qa|grep imageio
> >> ovirt-engine-setup-plugin-imageio-4.4.2.6-1.el8.noarch
> >> ovirt-imageio-daemon-2.0.10-1.el8.x86_64
> >> ovirt-imageio-common-2.0.10-1.el8.x86_64
> >> ovirt-imageio-client-2.0.10-1.el8.x86_64
> >>
> >>> On which port imageio listens? You can use e.g. netstat etc. Also plase
> >>> check imageio logs (/var/log/ovirt-imageio/daemon.log), what is there,
> >>> there shold
> >>> be something like this:
> >> # netstat -tulpn | grep 543
> >> tcp        0      0 0.0.0.0:54322           0.0.0.0:*               LISTEN
> >>   2527872/platform-py tcp        0      0 127.0.0.1:54324
> >> 0.0.0.0:*               LISTEN      2527872/platform-py
> >>> 2020-10-08 08:37:48,906 INFO    (MainThread) [services] remote.service
> >>> listening on ('::', 54323)
> >>
> >> 2020-10-09 17:46:38,216 INFO    (MainThread) [server] Starting 
> >> (pid=2527872,
> >> version=2.0.10) 2020-10-09 17:46:38,220 INFO    (MainThread) [services]
> >> remote.service listening on ('0.0.0.0', 54322) 2020-10-09 17:46:38,221 INFO
> >>   (MainThread) [services] control.service listening on ('127.0.0.1',
> >> 54324) 2020-10-09 17:46:38,227 INFO    (MainThread) [server] Ready for
> >> requests
> >>
> >> No entries for Port 54323 in the last 3 months. I found logentries in july
> >> though:
> >>
> >> [root@helios ~]# cat /var/log/ovirt-imageio/daemon.log | grep 54323
> >> 2020-07-11 10:13:24,777 INFO    (MainThread) [services] remote.service
> >> listening on ('::', 54323) [...]
> >> 2020-07-16 19:54:13,398 INFO    (MainThread) [services] remote.service
> >> listening on ('::', 54323) 2020-07-16 19:54:36,715 INFO    (MainThread)
> >> [services] remote.service listening on ('::', 54323)
> >>> Also, please check if there are any other config files (*.conf) in
> >>> /etc/ovirt- imageio/conf.d or in /usr/lib/ovirt-imageio/conf.d
> >>
> >> I have, but I couldn't find anything interesting in those two files:
> >>
> >> # ls -l /etc/ovirt-imageio/conf.d/
> >> total 8
> >> -rw-r--r--. 1 root root 1458 Oct  9 17:54 50-engine.conf
> >> -rw-r--r--. 1 root root 1014 Sep 15 11:16 50-vdsm.conf
> >
> > 50-vdsm.conf overwrites 50-engine.conf (later config taken alphabetically 
> > overwrites previous config if there is any).
> >
> > If you don't use engine as a host at the same time, stop an uninstall vdsm 
> > from engine (should remove also 50-vdsm.conf) and restart ovirt-imageio 
> > service.
> >
> > If you use engine as a host at the same time, note that this is 
> > unsupported. However, there were some patches in this area recently, but 
> > they are not released yet AFAICT. See [1, 2] for more details.
> >
> > [1] https://bugzilla.redhat.com/1871348
> > [2] 
> > https://lists.ovirt.org/archives/list/[email protected]/thread/W4OTINLXYDWG3YSF2OUQU3NW3ADRPGUR/
>
> Uninstalling vdsm would also remove nearly 500 packages on the machine. I 
> have disabled and masked the vdsm service for now and restarted the imageio 
> service. Uploading an image via the webui now works again.
> I will remove vdsm during a maintainence window and maybe even reinstall the 
> machine completely.

Uninstalling vdsm and it's 500 dependencies is safe, it is not needed
on the engine side unless you are using the same host as engine and
hypervisor host (all-in-one setup).

But using mainaintance windows is always safer.

Nir
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/D7W5NSQDUKOEWPIIPRO3H5NG7KQG3UKE/

Reply via email to