Hello everyone,
I was trying to setup ovirt Engine on a 1gig FE24 box on Digitalocean. But the `engine-setup` command fails.
Here is the traceback.
+++$ sudo engine-setup --generate-answer=/root/answer.txt [ INFO ] Stage: Initializing[ INFO ] Stage: Environment setupConfiguration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss. conf', '/etc/ovirt-engine-setup.conf. d/10-packaging.conf'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup- 20170310092548-r5c2c7.log Version: otopi-1.6.0 (otopi-1.6.0-1.fc24)[ INFO ] Stage: Environment packages setup[ INFO ] DNF Package iproute-4.4.0-3.fc24.x86_64 is already installed, skipping.[ INFO ] Stage: Programs detection[ INFO ] Stage: Environment setup[ INFO ] Stage: Environment customization
--== PRODUCT OPTIONS ==--
Configure Engine on this host (Yes, No) [Yes]:Configure Image I/O Proxy on this host? (Yes, No) [Yes]:Configure WebSocket Proxy on this host (Yes, No) [Yes]:Please note: Data Warehouse is required for the engine. If you choose to not configure it on this host, you have to configure it on a remote host, and then configure the engine on this host so that it can access the database of the remote Data Warehouse host.Configure Data Warehouse on this host (Yes, No) [Yes]:Configure VM Console Proxy on this host (Yes, No) [Yes]:
--== PACKAGES ==--
[ INFO ] Checking for product updates...[ INFO ] DNF Package ovirt-engine-extension-aaa-jdbc-1.1.2-1.fc24.noarch is already installed, skipping. [ INFO ] DNF Package ovirt-engine-wildfly-10.1.0-1.fc24.x86_64 is already installed, skipping. [ INFO ] DNF Package ovirt-engine-wildfly-overlay-10.0.0-1.fc24.noarch is already installed, skipping. [ INFO ] DNF Package ovirt-engine-4.1.0.4-1.fc24.noarch is already installed, skipping. [ INFO ] DNF Package ovirt-host-deploy-1.6.0-1.fc24.noarch is already installed, skipping. [ INFO ] DNF Package ovirt-engine-cli-3.6.9.2-1.fc24.noarch is already installed, skipping. [ INFO ] DNF Package ovirt-iso-uploader-4.0.2-1.fc24.noarch is already installed, skipping. [ INFO ] DNF Package ovirt-engine-dashboard-1.1.0-1.fc24.noarch is already installed, skipping. [ INFO ] DNF Package ovirt-engine-websocket-proxy-4.1.0.4-1.fc24.noarch is already installed, skipping. [ INFO ] DNF Package ovirt-engine-dwh-4.1.0-1.fc24.noarch is already installed, skipping. [ INFO ] No product updates found
--== NETWORK CONFIGURATION ==--
Host fully qualified DNS name of this server [fedora-ovirt-engine-1gb-blr1-01]: [WARNING] Host name fedora-ovirt-engine-1gb-blr1-01 has no domain suffix [WARNING] Failed to resolve fedora-ovirt-engine-1gb-blr1-01 using DNS, it can be resolved only locally [WARNING] Host name fedora-ovirt-engine-1gb-blr1-01 has no domain suffix [WARNING] Host name fedora-ovirt-engine-1gb-blr1-01 has no domain suffix [WARNING] Host name fedora-ovirt-engine-1gb-blr1-01 has no domain suffix
--== DATABASE CONFIGURATION ==--
Where is the DWH database located? (Local, Remote) [Local]:Setup can configure the local postgresql server automatically for the DWH to run. This may conflict with existing applications.Would you like Setup to automatically configure postgresql and create DWH database, or prefer to perform that manually? (Automatic, Manual) [Automatic]:Where is the Engine database located? (Local, Remote) [Local]:Setup can configure the local postgresql server automatically for the engine to run. This may conflict with existing applications.Would you like Setup to automatically configure postgresql and create Engine database, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
--== OVIRT ENGINE CONFIGURATION ==--
Engine admin password:Confirm engine admin password:Application mode (Virt, Gluster, Both) [Both]:
--== STORAGE CONFIGURATION ==--
Default SAN wipe after delete (Yes, No) [No]:
--== PKI CONFIGURATION ==--
Organization name for certificate [Test]:
--== APACHE CONFIGURATION ==--
Setup can configure the default page of the web server to present the application home page. This may conflict with existing applications.Do you wish to set the application as the default page of the web server? (Yes, No) [Yes]:Setup can configure apache to use SSL using a certificate issued from the internal CA.Do you wish Setup to configure that, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
--== SYSTEM CONFIGURATION ==--
Configure an NFS share on this server to be used as an ISO Domain? (Yes, No) [No]:
--== MISC CONFIGURATION ==--
Please choose Data Warehouse sampling scale:(1) Basic(2) Full(1, 2)[1]:
--== END OF CONFIGURATION ==--
[ INFO ] Stage: Setup validation[WARNING] Cannot validate host name settings, reason: resolved host does not match any of the local addresses[WARNING] Warning: Not enough memory is available on the host. Minimum requirement is 4096MB, and 16384MB is recommended.Do you want Setup to continue, with amount of memory less than recommended? (Yes, No) [No]: Yes
--== CONFIGURATION PREVIEW ==--
Application mode : bothDefault SAN wipe after delete : FalseUpdate Firewall : FalseHost FQDN : fedora-ovirt-engine-1gb-blr1-01 Configure local Engine database : TrueSet application as default page : TrueConfigure Apache SSL : TrueEngine database secured connection : FalseEngine database user name : engineEngine database name : engineEngine database host : localhostEngine database port : 5432Engine database host name validation : FalseEngine installation : TruePKI organization : TestDWH installation : TrueDWH database secured connection : FalseDWH database host : localhostDWH database user name : ovirt_engine_history2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/log=bool:'True'2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup- 20170310092548-r5c2c7.log', mode 'a' at 0x7fbfed878660>' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt- engine-setup-20170310092548- r5c2c7.log' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilter=_MyLoggerFilter:'filter' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'[]'2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x56413aa51480>]' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logRemoveAtExit=bool:'False' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END2017-03-10 09:25:48 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.misc.Plugin._init 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/dialect=str:'human'2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END2017-03-10 09:25:48 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.human.Plugin._init 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/autoAcceptDefault=bool:'False' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/boundary=str:'--=451b80dc-996f-432e-9e4f- 2b29ef6d1141=--' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END2017-03-10 09:25:48 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.machine.Plugin._init 2017-03-10 09:25:48 DEBUG otopi.context context._executeMethod:134 condition False2017-03-10 09:25:48 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db. connection.Plugin._boot 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password']' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END2017-03-10 09:25:48 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db. connection.Plugin._boot 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password']' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END2017-03-10 09:25:48 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db. engine_connection.Plugin._boot 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password']' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END2017-03-10 09:25:48 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa. Plugin._boot 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/ adminPassword']' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END2017-03-10 09:25:48 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca. Plugin._boot 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/ adminPassword', 'OVESETUP_PKI/storePassword']' 2017-03-10 09:25:48 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END2017-03-10 09:25:48 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.core.misc.Plugin._init 2017-03-10 09:25:48 DEBUG otopi.context context.dumpSequence:737 SEQUENCE DUMP - BEGIN2017-03-10 09:25:48 DEBUG otopi.context context.dumpSequence:739 STAGE boot2017-03-10 09:25:48 DEBUG otopi.context context.dumpSequence:744 METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._ preinit (None) 2017-03-10 09:25:48 DEBUG otopi.context context.dumpSequence:744 METHOD otopi.plugins.ovirt_engine_setup.base.core.misc.Plugin._ preinit (None) 2017-03-10 09:25:48 DEBUG otopi.context context.dumpSequence:744 METHOD otopi.plugins.otopi.core.log.Plugin._init (otopi.core.log.init) 2017-03-10 09:25:48 DEBUG otopi.context context.dumpSequence:744 METHOD otopi.plugins.otopi.dialog.misc.Plugin._init (None) :$2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/hostileServices=str:'ovirt- engine-dwhd,ovirt-engine- notifier' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckEnabled=bool:'False' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckMinimumMB=int:'4096' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckRecommendedMB=int:' 16384' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckThreshold=int:'90' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/nfsConfigEnabled=bool:'False' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/nfsConfigEnabled_ legacyInPostInstall=bool:' False' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/nfsServiceName=str:'nfs- server' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/selinuxBooleans=list:'[{' state': 'on', 'boolean': 'httpd_can_network_connect'}]' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/selinuxContexts=list:'[]' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/selinuxRestorePaths=list:'[]' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/shmmax=int:'68719476736' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userApache=str:'apache' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userEngine=str:'ovirt' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userPostgres=str:'postgres' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userRoot=str:'root' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userVdsm=str:'vdsm' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userVmConsole=str:'ovirt-vmconsole' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyConfig= bool:'True' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyPort=int: '2222' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES=str:'ovirt-engine- websocket-proxy' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES_SETUP=str:'ovirt- engine-setup-plugin-websocket- proxy' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfDisabledPlugins=list:'[]' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfExpireCache=bool:'True' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfRollback=bool:'True' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfpackagerEnabled=bool:'True' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/keepAliveInterval=int:'30' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumDisabledPlugins=list:'[]' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumEnabledPlugins=list:'[]' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumExpireCache=bool:'True' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumRollback=bool:'True' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumpackagerEnabled=bool:'False' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/clockMaxGap=int:'5'2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/clockSet=bool:'False'2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/commandPath=str:'/usr/local/sbin:/usr/local/bin:/ usr/sbin:/usr/bin:/sbin:/bin' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/reboot=bool:'False'2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/rebootAllow=bool:'True'2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/rebootDeferTime=int:'10' 2017-03-10 09:28:57 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END2017-03-10 09:28:57 DEBUG otopi.context context._executeMethod:128 Stage pre-terminate METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate 2017-03-10 09:28:57 DEBUG otopi.context context._executeMethod:134 condition False2017-03-10 09:28:57 INFO otopi.context context.runSequence:687 Stage: Termination2017-03-10 09:28:57 DEBUG otopi.context context.runSequence:691 STAGE terminate2017-03-10 09:28:57 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._ terminate 2017-03-10 09:28:57 ERROR otopi.plugins.ovirt_engine_common.base.core.misc misc._terminate:150 Execution of setup failed 2017-03-10 09:28:57 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate PI documentation is available at https://dnf.readthedocs.org/en/latest/api.html .2017-03-10 09:28:57 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate 2017-03-10 09:28:57 DEBUG otopi.context context._executeMethod:134 condition False2017-03-10 09:28:57 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.otopi.core.log.Plugin._terminate DWH database name : ovirt_engine_historyDWH database port : 5432DWH database host name validation : FalseConfigure local DWH database : TrueConfigure Image I/O Proxy : TrueConfigure VMConsole Proxy : TrueConfigure WebSocket Proxy : True
Please confirm installation settings (OK, Cancel) [OK]:[ 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 ] DNF Package ovirt-vmconsole-proxy-1.0.4-1.fc24.noarch is already installed, skipping. [ INFO ] Stage: Misc configuration[ INFO ] Upgrading CA[ INFO ] Initializing PostgreSQL[ INFO ] Creating PostgreSQL 'engine' database[ INFO ] Configuring PostgreSQL[ INFO ] Creating PostgreSQL 'ovirt_engine_history' database[ INFO ] Configuring PostgreSQL[ INFO ] Creating CA[ INFO ] Creating/refreshing Engine database schema[ INFO ] Creating/refreshing DWH database schema[ INFO ] Configuring Image I/O Proxy[ INFO ] Setting up ovirt-vmconsole proxy helper PKI artifacts[ INFO ] Setting up ovirt-vmconsole SSH PKI artifacts[ 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[ ERROR ] Failed to execute stage 'Closing up': Failed to start service 'ovirt-engine'[ INFO ] Stage: Clean upLog file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup- 20170310092548-r5c2c7.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20170310092857-setup. conf' [ INFO ] Generating answer file '/root/answer.txt'[ INFO ] Stage: Pre-termination[ INFO ] Stage: Termination[ ERROR ] Execution of setup failed+++
Here is the log file stored at `/var/log/ovirt-engine/setup/ovirt-engine-setup- 20170310092548-r5c2c7.log` at pastebin https://paste. fedoraproject.org/paste/ xRuJV2biq77txOVC~ cE7rV5M1UNdIGYhyRLivL9gydE=/
Thanks,Tasdik
_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel