On Thu, Sep 1, 2016 at 3:18 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Thu, Sep 1, 2016 at 3:12 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Thu, Sep 1, 2016 at 2:53 PM, Amit Aviram <aaviram@redhat.com> wrote:
Can you please run engine-setup again and check if the URL of the POST request is still localhost? bug https://bugzilla.redhat.com/show_bug.cgi?id=1365744 was about running the setup twice in order to install this feature to work. 



I seem to remember that I already did it, but I can do again.
Currently I'm on 4.0.2.
Is there any way to run engine-setup but without updating it to 4.0.3? ANy command line switch?


Found.. I forgot it "--offline" 
I'm going to do and verify, even if another post seems to confirm if doesn't change behavior...
 

Closed firefox from client and run engine-setup again:

Full output
[root@ractorshe tmp]# engine-setup --offline
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
          Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20160901151651-n77p09.log
          Version: otopi-1.5.1 (otopi-1.5.1-1.el7.centos)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization
         
          --== PRODUCT OPTIONS ==--
         
         
          --== PACKAGES ==--
         
         
          --== NETWORK CONFIGURATION ==--
         
[WARNING] Failed to resolve ractorshe.mydomain using DNS, it can be resolved only locally
          Setup can automatically configure the firewall on this system.
          Note: automatic configuration of the firewall may overwrite current settings.
          Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ INFO  ] firewalld will be configured as firewall manager.
         
          --== DATABASE CONFIGURATION ==--
         
          The detected DWH database size is 177 MB.
          Setup can backup the existing database. The time and space required for the database backup depend on its size. This process takes time, and in some cases (for instance, when the size is few GBs) may take several hours to complete.
          If you choose to not back up the database, and Setup later fails for some reason, it will not be able to restore the database and all DWH data will be lost.
          Would you like to backup the existing database before upgrading it? (Yes, No) [Yes]: 
         
          --== OVIRT ENGINE CONFIGURATION ==--
         
         
          --== STORAGE CONFIGURATION ==--
         
         
          --== PKI CONFIGURATION ==--
         
         
          --== APACHE CONFIGURATION ==--
         
         
          --== SYSTEM CONFIGURATION ==--
         
         
          --== MISC CONFIGURATION ==--
         
         
          --== END OF CONFIGURATION ==--
         
[ INFO  ] Stage: Setup validation
          During execution engine service will be stopped (OK, Cancel) [OK]: 
[ INFO  ] Hosted Engine HA is in Global Maintenance mode.
[ INFO  ] Cleaning stale zombie tasks and commands
         
          --== CONFIGURATION PREVIEW ==--
         
          Default SAN wipe after delete           : False
          Firewall manager                        : firewalld
          Update Firewall                         : True
          Host FQDN                               : ractorshe.mydomain
          Engine database secured connection      : False
          Engine database host                    : localhost
          Engine database user name               : engine
          Engine database name                    : engine
          Engine database port                    : 5432
          Engine database host name validation    : False
          DWH database secured connection         : False
          DWH database host                       : localhost
          DWH database user name                  : ovirt_engine_history
          DWH database name                       : ovirt_engine_history
          DWH database port                       : 5432
          DWH database host name validation       : False
          Engine installation                     : True
          PKI organization                        : mydomain
          DWH installation                        : True
          Backup DWH database                     : True
          Engine Host FQDN                        : ractorshe.mydomain
          Configure Image I/O Proxy               : True
          Configure VMConsole Proxy               : True
          Configure WebSocket Proxy               : True
         
          Please confirm installation settings (OK, Cancel) [OK]: 
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Unlocking existing entities
[ INFO  ] Checking the Engine database consistency
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping ovirt-fence-kdump-listener service
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping Image I/O Proxy service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Upgrading CA
[ INFO  ] Backing up database localhost:engine to '/var/lib/ovirt-engine/backups/engine-20160901151715.I5SnB1.dump'.
[ INFO  ] Creating/refreshing Engine database schema
[ INFO  ] Backing up database localhost:ovirt_engine_history to '/var/lib/ovirt-engine-dwh/backups/dwh-20160901151750.SNeOmC.dump'.
[ INFO  ] Creating/refreshing DWH database schema
[ INFO  ] Configuring Image I/O Proxy
[ INFO  ] Configuring WebSocket Proxy
[ INFO  ] Creating/refreshing Engine 'internal' domain database schema
[ INFO  ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'
[ INFO  ] Stage: Transaction commit
[ INFO  ] Stage: Closing up
[ INFO  ] Starting engine service
[ INFO  ] Starting dwh service
[ INFO  ] Restarting ovirt-vmconsole proxy service
         
          --== SUMMARY ==--
         
[ INFO  ] Restarting httpd
          Web access is enabled at:
          Internal CA DA:E6:04:34:99:A0:DB:CE:3F:0A:7B:A2:96:67:4C:7F:19:CA:95:5F
          SSH fingerprint: 19:56:8d:3e:50:fc:90:37:5a:ba:6c:57:30:b1:7d:93
         
          --== END OF SUMMARY ==--
         
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20160901151651-n77p09.log
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20160901151815-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ INFO  ] Execution of setup completed successfully


Opened firefox in client and web console.
Still in pause.
Still localhost lines
I also see one line of kind
I donna if related to this problem tough...

This ful output of web console
          This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.[Learn More]ractorshe.mydomain
Thu Sep 01 15:23:42 GMT+200 2016 org.ovirt.engine.ui.common.uicommon.ContextSensitiveHelpManager
INFO: No context-sensitive help was found on the server. It will not be available for this session.webadmin:1:12954
Thu Sep 01 15:23:42 GMT+200 2016 org.ovirt.engine.ui.webadmin.plugin.PluginManager
INFO: Plugin [dashboard] has registered the event handler objectwebadmin:1:12954
Thu Sep 01 15:23:42 GMT+200 2016 org.ovirt.engine.ui.webadmin.plugin.PluginManager
INFO: Plugin [dashboard] reports in as readywebadmin:1:12954
Thu Sep 01 15:23:47 GMT+200 2016 org.ovirt.engine.ui.webadmin.plugin.PluginManager
INFO: Initializing plugin [dashboard]webadmin:1:12954
Thu Sep 01 15:23:47 GMT+200 2016 org.ovirt.engine.ui.webadmin.plugin.PluginManager
INFO: Invoking event handler function [UiInit] for plugin [dashboard]webadmin:1:12954
Thu Sep 01 15:23:47 GMT+200 2016 org.ovirt.engine.ui.webadmin.plugin.PluginManager
INFO: Plugin [dashboard] is initialized and in use nowwebadmin:1:12954
Thu Sep 01 15:23:47 GMT+200 2016 org.ovirt.engine.ui.webadmin.plugin.PluginManager
INFO: Invoking event handler function [UserLogin] for plugin [dashboard]webadmin:1:12954
Thu Sep 01 15:24:24 GMT+200 2016 
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 15:24:26 GMT+200 2016 
INFO: Upload phase: Initializingwebadmin:1:12954
Thu Sep 01 15:24:28 GMT+200 2016 
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 15:24:29 GMT+200 2016 
INFO: Upload phase: Initializingwebadmin:1:12954
Thu Sep 01 15:24:33 GMT+200 2016 
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 15:24:34 GMT+200 2016 
INFO: Upload phase: Transferringwebadmin:1:12954
"Thu Sep 01 15:24:34 GMT+200 2016 
INFO: Starting upload to https://localhost:54323/images
With imaged ticket: 1e06c843-6253-42be-a3a2-85c20bd0e48d
With proxy ticket: eyJzYWx0IjoidDVjczVQeGdDbDg9IiwiZGF0YSI6IntcbiAgXCJuYmZcIiA6IDE0NzI3MzYyNjYsXG4gIFwiZXhwXCIgOiAxNDcyNzM5ODY2LFxuICBcImlhdFwiIDogMTQ3MjczNjI2NixcbiAgXCJ0cmFuc2Zlci10aWNrZXRcIiA6IFwiMWUwNmM4NDMtNjI1My00MmJlLWEzYTItODVjMjBiZDBlNDhkXCIsXG4gIFwi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te 0webadmin:1:12954
"Thu Sep 01 15:24:34 GMT+200 2016 
INFO: doUpload: Selected file: manageiq_01.qcow2 (size: 1677787136 bytes)"webadmin:1:12954
"Thu Sep 01 15:24:34 GMT+200 2016 
INFO: sendChunk: PUT https://localhost:54323/images/1e06c843-6253-42be-a3a2-85c20bd0e48d bytes 0-8388607/1677787136"webadmin:1:12954
Thu Sep 01 15:24:36 GMT+200 2016 
SEVERE: xhrHandle: Status: 0, text: , response: webadmin:1:12869

Thu Sep 01 15:24:36 GMT+200 2016 
SEVERE: xhrError: 0 webadmin:1:12869

Thu Sep 01 15:24:36 GMT+200 2016 
WARNING: xhrError: Retrying (attempt 1 of 3)webadmin:1:12912
Thu Sep 01 15:24:39 GMT+200 2016 
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 15:24:39 GMT+200 2016 
INFO: Upload phase: Transferringwebadmin:1:12954
"Thu Sep 01 15:24:41 GMT+200 2016 
INFO: sendChunk: PUT https://localhost:54323/images/1e06c843-6253-42be-a3a2-85c20bd0e48d bytes 0-8388607/1677787136"webadmin:1:12954
Thu Sep 01 15:24:44 GMT+200 2016 
SEVERE: xhrHandle: Status: 0, text: , response: webadmin:1:12869

Thu Sep 01 15:24:44 GMT+200 2016 
SEVERE: xhrError: 0 webadmin:1:12869

Thu Sep 01 15:24:44 GMT+200 2016 
WARNING: xhrError: Retrying (attempt 2 of 3)webadmin:1:12912
Thu Sep 01 15:24:44 GMT+200 2016 
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 15:24:44 GMT+200 2016 
INFO: Upload phase: Transferringwebadmin:1:12954
GET 
XHR 
"Thu Sep 01 15:24:47 GMT+200 2016 
INFO: sendChunk: PUT https://localhost:54323/images/1e06c843-6253-42be-a3a2-85c20bd0e48d bytes 0-8388607/1677787136"webadmin:1:12954
Thu Sep 01 15:24:48 GMT+200 2016 
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 15:24:49 GMT+200 2016 
SEVERE: xhrHandle: Status: 0, text: , response: webadmin:1:12869

Thu Sep 01 15:24:49 GMT+200 2016 
SEVERE: xhrError: 0 webadmin:1:12869

Thu Sep 01 15:24:49 GMT+200 2016 
WARNING: xhrError: Retrying (attempt 3 of 3)webadmin:1:12912
Thu Sep 01 15:24:49 GMT+200 2016 
INFO: Upload phase: Transferringwebadmin:1:12954
Thu Sep 01 15:24:53 GMT+200 2016 
INFO: Polling for statuswebadmin:1:12954
"Thu Sep 01 15:24:53 GMT+200 2016 
INFO: sendChunk: PUT https://localhost:54323/images/1e06c843-6253-42be-a3a2-85c20bd0e48d bytes 0-8388607/1677787136"webadmin:1:12954
Thu Sep 01 15:24:53 GMT+200 2016 
INFO: Upload phase: Transferringwebadmin:1:12954
Thu Sep 01 15:24:54 GMT+200 2016 
SEVERE: xhrHandle: Status: 0, text: , response: webadmin:1:12869

Thu Sep 01 15:24:54 GMT+200 2016 
SEVERE: xhrError: 0 webadmin:1:12869

Thu Sep 01 15:24:54 GMT+200 2016 
SEVERE: Transfer failed after 3/3 errorswebadmin:1:12869

Thu Sep 01 15:24:54 GMT+200 2016 
WARNING: Finalizing upload with status CLIENT_ERRORwebadmin:1:12912
Thu Sep 01 15:24:54 GMT+200 2016 
INFO: Updating status to Paused by System