<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Aug 11, 2016 at 3:39 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 10, 2016 at 4:20 PM, Amit Aviram <span dir="ltr"><<a href="mailto:aaviram@redhat.com" target="_blank">aaviram@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:small">It seems like you have an early version of ovirt-4.0, if you'll update your version it might solve some of your problems (such as the exception in the screenshot). soon, the size and format will be deduced from the image as well, so many things will be clearer.</div><div style="font-size:small"><br></div><div style="font-size:small">If you want to stay with your version, you'll need to do the following steps in order to upload the file:</div><div style="font-size:small">- At the engine's host, yum install ovirt-imageio-proxy</div><div style="font-size:small">- Then, run engine-setup.</div><div style="font-size:small">- Add the engine's CA to the Authorities list in your browser. (you can download it from <a href="https://engineaaviram.usersys.redhat.com:8443/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA" style="color:rgb(52,101,164)" target="_blank">https://%your_engine%/ovi<wbr>rt-engine/services/pki-resourc<wbr>e?resource=ca-certificate&<wbr>format=X509-PEM-CA</a>)</div><div style="font-size:small"><br></div><div style="font-size:small">regarding the size- you can choose a bigger size than the original file's size.</div><div style="font-size:small"><br></div><div style="font-size:small">Hope that works out for you!</div><div style="font-size:small"><br></div><div style="font-size:small"><br></div></div></blockquote></div></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">Hello,</div><div class="gmail_extra">I updated both engine and host to 4.0.2 RC4 and during the engine-setup phase I indeed see this:</div><div class="gmail_extra"><br></div><div class="gmail_extra">...</div><div class="gmail_extra"><div class="gmail_extra"><br></div><div class="gmail_extra"> PACKAGE: [install] ovirt-imageio-common-0.3.0-1.<wbr>el7.noarch</div><div class="gmail_extra"> PACKAGE: [install] ovirt-imageio-proxy-0.3.0-0.<wbr>201606191345.git9f3d6d4.el7.<wbr>centos.noarch</div><div class="gmail_extra"> PACKAGE: [install] ovirt-imageio-proxy-setup-0.3.<wbr>0-0.201606191345.git9f3d6d4.<wbr>el7.centos.noarch</div><div class="gmail_extra"><br></div><div class="gmail_extra">and the configuration preview appeared as</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"> --== CONFIGURATION PREVIEW ==--</div><div class="gmail_extra"> </div><div class="gmail_extra"> Default SAN wipe after delete : False</div><div class="gmail_extra"> Firewall manager : firewalld</div><div class="gmail_extra"> Update Firewall : True</div><div class="gmail_extra"> Host FQDN : ractorshe.mydomain</div><div class="gmail_extra"> Upgrade packages : True</div><div class="gmail_extra"> Engine database secured connection : False</div><div class="gmail_extra"> Engine database host : localhost</div><div class="gmail_extra"> Engine database user name : engine</div><div class="gmail_extra"> Engine database name : engine</div><div class="gmail_extra"> Engine database port : 5432</div><div class="gmail_extra"> Engine database host name validation : False</div><div class="gmail_extra"> DWH database secured connection : False</div><div class="gmail_extra"> DWH database host : localhost</div><div class="gmail_extra"> DWH database user name : ovirt_engine_history</div><div class="gmail_extra"> DWH database name : ovirt_engine_history</div><div class="gmail_extra"> DWH database port : 5432</div><div class="gmail_extra"> DWH database host name validation : False</div><div class="gmail_extra"> Engine installation : True</div><div class="gmail_extra"> PKI organization : mydomain</div><div class="gmail_extra"> DWH installation : True</div><div class="gmail_extra"> Backup DWH database : True</div><div class="gmail_extra"> Engine Host FQDN : ractorshe.mydomain</div><div class="gmail_extra"> Configure VMConsole Proxy : True</div><div class="gmail_extra"> Configure WebSocket Proxy : True</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br>Should I have seen anything related to image proxy in engine-setup configuration preview above?<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">The version installed is: </div><div class="gmail_extra">ovirt-imageio-proxy-0.3.0-0.<wbr>201606191345.git9f3d6d4.el7.<wbr>centos.noarch</div><div class="gmail_extra"><br></div><div class="gmail_extra">I don't get anymore the exception in the GUI but again the upload goes into paused mode as soon as it starts</div><div class="gmail_extra"><br></div><div class="gmail_extra">I see that part of the new package there is also a service</div><div class="gmail_extra"><br></div><div class="gmail_extra">[root@ractorshe log]# systemctl status ovirt-imageio-proxy.service</div><div class="gmail_extra">● ovirt-imageio-proxy.service - oVirt ImageIO Proxy</div><div class="gmail_extra"> Loaded: loaded (/usr/lib/systemd/system/<wbr>ovirt-imageio-proxy.service; disabled; vendor preset: disabled)</div><div class="gmail_extra"> Active: inactive (dead)</div><div class="gmail_extra">[root@ractorshe log]#</div><div class="gmail_extra"><br></div><div class="gmail_extra">Do I have to enable and start it?</div><div class="gmail_extra">What TCP ports does the upload use? Does the client communicate with the engine or directly with the host?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Gianluca</div><div class="gmail_extra"><br></div></div></div>
</blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Probably I have to run engine-setup two times: the first installs the package and the second configures it.</div><div class="gmail_extra">But, at the second run, I do get a new answer</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"> --== PRODUCT OPTIONS ==--</div><div class="gmail_extra"> </div><div class="gmail_extra"> Configure Image I/O Proxy on this host? (Yes, No) [Yes]: </div><div class="gmail_extra"><br></div><div class="gmail_extra">then </div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"> --== CONFIGURATION PREVIEW ==--</div><div class="gmail_extra"> </div><div class="gmail_extra"> Default SAN wipe after delete : False</div><div class="gmail_extra"> Firewall manager : firewalld</div><div class="gmail_extra"> Update Firewall : True</div><div class="gmail_extra"> Host FQDN : ractorshe.mydomain</div><div class="gmail_extra"> Engine database secured connection : False</div><div class="gmail_extra"> Engine database host : localhost</div><div class="gmail_extra"> Engine database user name : engine</div><div class="gmail_extra"> Engine database name : engine</div><div class="gmail_extra"> Engine database port : 5432</div><div class="gmail_extra"> Engine database host name validation : False</div><div class="gmail_extra"> DWH database secured connection : False</div><div class="gmail_extra"> DWH database host : localhost</div><div class="gmail_extra"> DWH database user name : ovirt_engine_history</div><div class="gmail_extra"> DWH database name : ovirt_engine_history</div><div class="gmail_extra"> DWH database port : 5432</div><div class="gmail_extra"> DWH database host name validation : False</div><div class="gmail_extra"> Engine installation : True</div><div class="gmail_extra"> PKI organization : mydomain</div><div class="gmail_extra"> DWH installation : True</div><div class="gmail_extra"> Backup DWH database : True</div><div class="gmail_extra"> Engine Host FQDN : ractorshe.mydomain</div><div class="gmail_extra"> Configure Image I/O Proxy : True</div><div class="gmail_extra"> Configure VMConsole Proxy : True</div><div class="gmail_extra"> Configure WebSocket Proxy : True</div><div class="gmail_extra"><div class="gmail_extra"> </div><div class="gmail_extra"> Please confirm installation settings (OK, Cancel) [OK]: </div></div><div class="gmail_extra">[ INFO ] Cleaning async tasks and compensations</div><div class="gmail_extra">[ INFO ] Unlocking existing entities</div><div class="gmail_extra">[ INFO ] Checking the Engine database consistency</div><div class="gmail_extra">[ INFO ] Stage: Transaction setup</div><div class="gmail_extra">[ INFO ] Stopping engine service</div><div class="gmail_extra">[ INFO ] Stopping ovirt-fence-kdump-listener service</div><div class="gmail_extra">[ INFO ] Stopping dwh service</div><div class="gmail_extra">[ INFO ] Stopping Image I/O Proxy service</div><div class="gmail_extra">[ INFO ] Stopping websocket-proxy service</div><div class="gmail_extra">[ INFO ] Stage: Misc configuration</div><div class="gmail_extra">[ INFO ] Stage: Package installation</div><div class="gmail_extra">[ INFO ] Stage: Misc configuration</div><div class="gmail_extra">[ INFO ] Upgrading CA</div><div class="gmail_extra">[ INFO ] Backing up database localhost:engine to '/var/lib/ovirt-engine/backups/engine-20160811161431.XgUmV1.dump'.</div><div class="gmail_extra">[ INFO ] Creating/refreshing Engine database schema</div><div class="gmail_extra">[ INFO ] Backing up database localhost:ovirt_engine_history to '/var/lib/ovirt-engine-dwh/backups/dwh-20160811161505.h8lDcR.dump'.</div><div class="gmail_extra">[ INFO ] Creating/refreshing DWH database schema</div><div class="gmail_extra">[ INFO ] Configuring Image I/O Proxy</div><div class="gmail_extra">[ INFO ] Configuring WebSocket Proxy</div><div class="gmail_extra">[ INFO ] Creating/refreshing Engine 'internal' domain database schema</div><div class="gmail_extra">[ INFO ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'</div><div class="gmail_extra">[ INFO ] Stage: Transaction commit</div><div class="gmail_extra">[ INFO ] Stage: Closing up</div><div class="gmail_extra">[ INFO ] Starting engine service</div><div class="gmail_extra">[ INFO ] Starting dwh service</div><div class="gmail_extra">[ ERROR ] Failed to execute stage 'Closing up': Failed to start service 'ovirt-imageio-proxy'</div><div class="gmail_extra">[ INFO ] Stage: Clean up</div><div class="gmail_extra"> Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20160811161247-y37b3y.log</div><div class="gmail_extra">[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20160811161529-setup.conf'</div><div class="gmail_extra">[ INFO ] Stage: Pre-termination</div><div class="gmail_extra">[ INFO ] Stage: Termination</div><div class="gmail_extra">[ ERROR ] Execution of setup failed</div><div class="gmail_extra"><br></div><div class="gmail_extra">And in log file</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 starting service ovirt-imageio-</div><div class="gmail_extra">proxy</div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl',</div><div class="gmail_extra"> 'start', 'ovirt-imageio-proxy.service'), executable='None', cwd='None', env=None</div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/syst</div><div class="gmail_extra">emctl', 'start', 'ovirt-imageio-proxy.service'), rc=1</div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemc</div><div class="gmail_extra">tl', 'start', 'ovirt-imageio-proxy.service') stdout:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemc</div><div class="gmail_extra">tl', 'start', 'ovirt-imageio-proxy.service') stderr:</div><div class="gmail_extra">Job for ovirt-imageio-proxy.service failed because the control process exited with error code. See "systemctl st</div><div class="gmail_extra">atus ovirt-imageio-proxy.service" and "journalctl -xe" for details.</div><div class="gmail_extra"><br></div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.context context._executeMethod:142 method exception</div><div class="gmail_extra">Traceback (most recent call last):</div><div class="gmail_extra"> File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod</div><div class="gmail_extra"> method['method']()</div><div class="gmail_extra"> File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt_imageio_proxy/config.py", line 351, in _closeup</div><div class="gmail_extra"> state=state,</div><div class="gmail_extra"> File "/usr/share/otopi/plugins/otopi/services/systemd.py", line 141, in state</div><div class="gmail_extra"> service=name,</div><div class="gmail_extra">RuntimeError: Failed to start service 'ovirt-imageio-proxy'</div><div class="gmail_extra">2016-08-11 16:15:29 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Closing up': Failed to start service 'ovirt-imageio-proxy'</div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN</div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/error=bool:'True'</div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError("Failed to start service 'ovirt-imageio-proxy'",), <traceback object at 0x3676290>)]'</div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END</div><div class="gmail_extra">2016-08-11 16:15:29 INFO otopi.context context.runSequence:687 Stage: Clean up</div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.context context.runSequence:691 STAGE cleanup</div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._cleanup</div><div class="gmail_extra">2016-08-11 16:15:29 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20160811161247-y37b3y.log</div><div><br></div><div>Any hint? Do I have to run engine-setup again and disable image io proxy? The engine seems to be working.....</div><div><br></div></div></div></div></div>