Hi,
I new to oVirt want to install a all-in-one package for testing only.
Installed a vanilla Fedora 19 64bit and followed the guide.
sudo yum localinstall
http://ovirt.org/releases/ovirt-release-fedora.noarch.rpm
sudo yum install -y ovirt-engine-setup-plugin-allinone
sudo engine-setup
I get following error when running engine-setup:
[ INFO ] Starting engine service
[ INFO ] Restarting httpd
[ ERROR ] Failed to execute stage 'Closing up': Engine unreachable
[ INFO ] Stage: Clean up
Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20131128155012.log
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed
When trying to access the webinterface i get:
javax.ejb.EJBException: java.lang.IllegalStateException: Could not obtain connection to
the database. Please make sure that DB is up and accepting connections, and restart the
application.
org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:166)
I have tried to re-run the engine-setup and re-install Fedora/oVirt several times but it
does not help.
Is this a common error which I just can't find the documentation ?
Here is the full installation output and the last part of the logfile:
-----------------------------------------------------------------------
[ INFO ] Stage: Initializing
[ INFO ] Stage: Environment setup
Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-aio.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf']
Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20131128155012.log
Version: otopi-1.1.2 (otopi-1.1.2-1.fc19)
[ INFO ] Hardware supports virtualization
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup
[ INFO ] Stage: Environment customization
--== PACKAGES ==--
[ INFO ] Checking for product updates...
[ INFO ] No product updates found
--== ALL IN ONE CONFIGURATION ==--
Configure VDSM on this host? (Yes, No) [No]: yes
Local storage domain path [/var/lib/images]:
Local storage domain name [local_storage]:
--== NETWORK CONFIGURATION ==--
Host fully qualified DNS name of this server [
mydomain.com]:
firewalld was detected on your computer. Do you wish Setup to configure it?
(yes, no) [yes]:
--== DATABASE CONFIGURATION ==--
Where is the 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, or prefer to perform
that manually? (Automatic, Manual) [Automatic]:
Using existing credentials
--== OVIRT ENGINE CONFIGURATION ==--
Engine admin password:
Confirm engine admin password:
Application mode (Both, Virt, Gluster) [Both]: Virt
Default storage type: (NFS, FC, ISCSI, POSIXFS) [NFS]:
--== PKI CONFIGURATION ==--
Organization name for certificate [
myCompany.com]: myCompany
--== 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)
[Yes]:
Local ISO domain path [/var/lib/exports/iso]:
Local ISO domain name [ISO_DOMAIN]:
Configure WebSocket Proxy on this machine? (Yes, No) [Yes]:
--== END OF CONFIGURATION ==--
[ INFO ] Stage: Setup validation
--== CONFIGURATION PREVIEW ==--
Database name : engine
Database secured connection : False
Database host : localhost
Database user name : engine
Database host name validation : False
Datbase port : 5432
NFS setup : True
PKI organization : myCompany
NFS mount point : /var/lib/exports/iso
Application mode : virt
Firewall manager : firewalld
Configure WebSocket Proxy : True
Host FQDN :
mydomain.com
Datacenter storage type : nfs
Configure local database : True
Set application as default page : True
Configure Apache SSL : True
Configure VDSM on this host : True
Local storage domain directory : /var/lib/images
Please confirm installation settings (OK, Cancel) [OK]:
[ INFO ] Stage: Transaction setup
[ INFO ] Stopping engine service
[ INFO ] Stopping websocket-proxy service
[ INFO ] Stage: Misc configuration
[ INFO ] Stage: Package installation
[ INFO ] Stage: Misc configuration
[ INFO ] Initializing PostgreSQL
[ INFO ] Creating PostgreSQL database
[ INFO ] Configurating PostgreSQL
[ INFO ] Creating database schema
[ INFO ] Creating CA
[ INFO ] Configurating WebSocket Proxy
[ 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
--== SUMMARY ==--
An ISO NFS share has been created on this host.
If IP based access restrictions are required, edit:
entry /var/lib/exports/iso in
/etc/exports.d/ovirt-engine-iso-domain.exports
SSH fingerprint: XX XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX
Internal XX XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX
Web access is enabled at:
http://mydomain.com:80/ovirt-engine
https://mydomain.com:443/ovirt-engine
Please use the user "admin" and password specified in order to login
into oVirt Engine
--== END OF SUMMARY ==--
[ INFO ] Starting engine service
[ INFO ] Restarting httpd
[ ERROR ] Failed to execute stage 'Closing up': Engine unreachable
[ INFO ] Stage: Clean up
Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20131128155012.log
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
OVESETUP_SYSTEM/selinuxRestorePaths=list:'['/var/lib/images',
'/var/lib/exports/iso']'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
OVESETUP_SYSTEM/shmmax=int:'35554432'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
OVESETUP_SYSTEM/userApache=str:'apache'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
OVESETUP_SYSTEM/userEngine=str:'ovirt'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
OVESETUP_SYSTEM/userPostgres=str:'postgres'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
OVESETUP_SYSTEM/userRoot=str:'root'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
OVESETUP_SYSTEM/userVdsm=str:'vdsm'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
PACKAGER/keepAliveInterval=int:'30'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
PACKAGER/yumDisabledPlugins=list:'[]'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
PACKAGER/yumEnabledPlugins=list:'[]'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
PACKAGER/yumExpireCache=bool:'True'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
PACKAGER/yumRollback=bool:'True'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
PACKAGER/yumpackagerEnabled=bool:'True'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
SYSTEM/clockMaxGap=int:'5'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
SYSTEM/clockSet=bool:'False'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
SYSTEM/commandPath=str:'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
SYSTEM/reboot=bool:'False'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
SYSTEM/rebootAllow=bool:'True'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:456 ENV
SYSTEM/rebootDeferTime=int:'10'
2013-11-28 16:05:51 DEBUG otopi.context context.dumpEnvironment:458 ENVIRONMENT DUMP -
END
2013-11-28 16:05:51 DEBUG otopi.context context._executeMethod:123 Stage pre-terminate
METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate
2013-11-28 16:05:51 DEBUG otopi.context context._executeMethod:129 condition False
2013-11-28 16:05:51 INFO otopi.context context.runSequence:380 Stage: Termination
2013-11-28 16:05:51 DEBUG otopi.context context.runSequence:384 STAGE terminate
2013-11-28 16:05:51 DEBUG otopi.context context._executeMethod:123 Stage terminate METHOD
otopi.plugins.ovirt_engine_common.core.misc.Plugin._terminate
2013-11-28 16:05:51 ERROR otopi.plugins.ovirt_engine_common.core.misc misc._terminate:146
Execution of setup failed
2013-11-28 16:05:51 DEBUG otopi.context context._executeMethod:123 Stage terminate METHOD
otopi.plugins.otopi.dialog.human.Plugin._terminate
2013-11-28 16:05:51 DEBUG otopi.context context._executeMethod:123 Stage terminate METHOD
otopi.plugins.otopi.dialog.machine.Plugin._terminate
2013-11-28 16:05:51 DEBUG otopi.context context._executeMethod:129 condition False
2013-11-28 16:05:51 DEBUG otopi.context context._executeMethod:123 Stage terminate METHOD
otopi.plugins.otopi.core.log.Plugin._terminate