<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Gianluca,<br>
    <br>
    if you execute "engine-config --get ImageProxyAddress" the value of
    that attribute is your engine's fqdn?<br>
    <br>
    I had a similar issue in the past with my setup and in my case the
    problem was the wrong value of the attribute ImageProxyAddress, I
    hope this could be useful also for you.<br>
    <br>
    Greetings,<br>
    <br>
        Paolo<br>
    <br>
    <div class="moz-cite-prefix">Il 06/12/2017 07:22, Gianluca Cecchi ha
      scritto:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAG2kNCwUTfCcaGhQvCmi+3XbVnhCkkADkW0+gbSx5ccB9H-kgg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Tue, Dec 5, 2017 at 10:22 PM,
            Gianluca Cecchi <span dir="ltr">&lt;<a
                href="mailto:gianluca.cecchi@gmail.com" target="_blank"
                moz-do-not-send="true">gianluca.cecchi@gmail.com</a>&gt;</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">Hello,
                <div>I'm on oVirt 4.1.7, the latest in 4.1 right now.</div>
                <div>Initially in engine-setup when prompted I set Image
                  I/O Proxy to false.</div>
                <div><br>
                </div>
                <div>
                  <div>          Configure Image I/O Proxy             
                     : False</div>
                </div>
                <div><br>
                </div>
                <div>Now instead I would like to enable it, but if I run
                  engine-setup I can't find a way to do it. I can only
                  confirm the settings in a whole or exit the setup...</div>
                <div>How can I do?</div>
                <div><br>
                </div>
                <div>Currently I have these packages already installed
                  on the system</div>
                <div><br>
                </div>
                <div>ovirt-imageio-proxy-setup-1.0.<wbr>0-0.201701151456.git89ae3b4.el<wbr>7.centos.noarch<br>
                </div>
                <div>ovirt-imageio-proxy-1.0.0-0.20<wbr>1701151456.git89ae3b4.el7.cent<wbr>os.noarch<br>
                </div>
                <div>and</div>
                <div>
                  <div>[root@ovirt ~]# systemctl status
                    ovirt-imageio-proxy</div>
                  <div>● ovirt-imageio-proxy.service - oVirt ImageIO
                    Proxy</div>
                  <div>   Loaded: loaded (/usr/lib/systemd/system/ovirt<wbr>-imageio-proxy.service;
                    disabled; vendor preset: disabled)</div>
                  <div>   Active: inactive (dead)</div>
                  <div>[root@ovirt ~]#</div>
                </div>
                <div><br>
                </div>
                <div>Can I simply and manually enable/start the service
                  through systemctl commands?</div>
                <div><br>
                </div>
                <div>The same question arises in case I had not / had
                  enabled  VMConsole Proxy and/or WebSocket Proxy during
                  install and in a second time I want to enable / diable
                  them.</div>
                <div><br>
                </div>
                <div>Thanks,</div>
                <div>Gianluca</div>
                <div><br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
        <div class="gmail_extra">After reading the help page for
          engine-setup and discovering that the option
          "--reconfigure-optional-components" has no effect in 4.1 for
          Image I/O Proxy, I used the workaround offered throughout this
          bugzilla: <br>
        </div>
        <div class="gmail_extra"><a
            href="https://bugzilla.redhat.com/show_bug.cgi?id=1486753"
            target="_blank" moz-do-not-send="true">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1486753</a></div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Now it seems all ok, but the upload
          fails after going into pause just at the beginning with the
          message<br>
        </div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">"<br>
        </div>
        <div class="gmail_extra">Unable to upload image to disk
          de28015a-39e9-44e4-acb2-2d2e3b9cdc7f due to a network error.
          Make sure ovirt-imageio-proxy service is installed and
          configured, and ovirt-engine's certificate is registered as a
          valid CA in the browser. The certificate can be fetched from
<a class="moz-txt-link-freetext" href="https://">https://</a>&lt;engine_url&gt;/ovirt-engine/services/pki-resource?resource=ca-certificate&amp;format=X509-PEM-CA</div>
        <div class="gmail_extra">"</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">I already fetched into firefox the
          certificate and selected all 3 check boxes when configuring...</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Any other thing to check?</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">On engine:</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">[root@ovirt ~]# firewall-cmd --list-all<br>
          public (active)<br>
            target: default<br>
            icmp-block-inversion: no<br>
            interfaces: eth0<br>
            sources: <br>
            services: ovirt-websocket-proxy ovirt-vmconsole-proxy
          ovirt-http dhcpv6-client ovirt-https ssh ovirt-postgres
          ovirt-fence-kdump-listener ovirt-imageio-proxy<br>
            ports: <br>
            protocols: <br>
            masquerade: no<br>
            forward-ports: <br>
            source-ports: <br>
            icmp-blocks: <br>
            rich rules: <br>
              <br>
          [root@ovirt ~]# </div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">[root@ovirt ~]# systemctl status
          ovirt-imageio-proxy.service -l<br>
          ● ovirt-imageio-proxy.service - oVirt ImageIO Proxy<br>
             Loaded: loaded
          (/usr/lib/systemd/system/ovirt-imageio-proxy.service; enabled;
          vendor preset: disabled)<br>
             Active: active (running) since Wed 2017-12-06 00:07:48 CET;
          7h ago<br>
           Main PID: 9402 (ovirt-imageio-p)<br>
             CGroup: /system.slice/ovirt-imageio-proxy.service<br>
                     └─9402 /usr/bin/python /usr/bin/ovirt-imageio-proxy<br>
          <br>
          Dec 06 00:07:47 ovirt systemd[1]: Starting oVirt ImageIO
          Proxy...<br>
          Dec 06 00:07:48 ovirt systemd[1]: Started oVirt ImageIO Proxy.<br>
          [root@ovirt ~]# <br>
        </div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">In 
          /var/log/ovirt-imageio-proxy/image-proxy.log</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">(MainThread) INFO 2017-12-06
          00:07:48,460 image_proxy:26:root:(main) Server started,
          successfully notified systemd</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">In engine.log</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">2017-12-06 00:10:07,534+01 INFO 
          [org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater]
          (DefaultQuartzScheduler1)
          [cefb309e-1127-4811-b69b-a7d83c3f7df6] Updating image upload
          208cc8c5-66ae-40aa-9748-04ee90c022a6 (image
          bad43962-dcc4-4f16-8b8e-dafc26573e2c) phase to Transferring
          (message: 'Initiating new upload')<br>
          2017-12-06 00:10:07,537+01 INFO 
          [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand]
          (DefaultQuartzScheduler1)
          [cefb309e-1127-4811-b69b-a7d83c3f7df6] Returning from
          proceedCommandExecution after starting transfer session for
          image transfer command '208cc8c5-66ae-40aa-9748-04ee90c022a6'<br>
          2017-12-06 00:10:10,506+01 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand]
          (default task-1) [dae9a850-5db2-40be-92ca-a6fff0d54aac]
          Running command: TransferImageStatusCommand internal: false.
          Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa
          Type: SystemAction group CREATE_DISK with role type USER<br>
          2017-12-06 00:10:14,512+01 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand]
          (default task-15) [ca329503-0916-43f4-99a7-e285775d5ffd]
          Running command: TransferImageStatusCommand internal: false.
          Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa
          Type: SystemAction group CREATE_DISK with role type USER<br>
          2017-12-06 00:10:18,512+01 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand]
          (default task-3) [66f4e540-670e-4e20-8003-4e740ee8c3b6]
          Running command: TransferImageStatusCommand internal: false.
          Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa
          Type: SystemAction group CREATE_DISK with role type USER<br>
          2017-12-06 00:10:20,442+01 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand]
          (default task-16) [403dd7c1-9f2b-4d26-8fae-f179ca1922e1]
          Running command: TransferImageStatusCommand internal: false.
          Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa
          Type: SystemAction group CREATE_DISK with role type USER<br>
          2017-12-06 00:10:20,443+01 INFO 
          [org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater]
          (default task-16) [403dd7c1-9f2b-4d26-8fae-f179ca1922e1]
          Updating image upload 208cc8c5-66ae-40aa-9748-04ee90c022a6
          (image bad43962-dcc4-4f16-8b8e-dafc26573e2c) phase to Paused
          by System (message: 'Sent 0MB')<br>
          2017-12-06 00:10:20,461+01 WARN 
          [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
          (default task-16) [403dd7c1-9f2b-4d26-8fae-f179ca1922e1]
          EVENT_ID: UPLOAD_IMAGE_NETWORK_ERROR(1,038), Correlation ID:
          403dd7c1-9f2b-4d26-8fae-f179ca1922e1, Call Stack: null, Custom
          ID: null, Custom Event ID: -1, Message: Unable to upload image
          to disk bad43962-dcc4-4f16-8b8e-dafc26573e2c due to a network
          error. Make sure ovirt-imageio-proxy service is installed and
          configured, and ovirt-engine's certificate is registered as a
          valid CA in the browser. The certificate can be fetched from
<a class="moz-txt-link-freetext" href="https://">https://</a>&lt;engine_url&gt;/ovirt-engine/services/pki-resource?resource=ca-certificate&amp;format=X509-PEM-CA<br>
          <br>
        </div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Thanks,</div>
        <div class="gmail_extra">Gianluca<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>