From: "Greg Sheremeta" <gshereme(a)redhat.com>
To: "Adam Litke" <alitke(a)redhat.com>, "Alon Bar-Lev"
<alonbl(a)redhat.com>
Cc: "engine-devel" <engine-devel(a)ovirt.org>
Sent: Thursday, December 26, 2013 10:09:46 PM
Subject: Re: [Engine-devel] Engine on Fedora 20
----- Original Message -----
> From: "Adam Litke" <alitke(a)redhat.com>
> To: "engine-devel" <engine-devel(a)ovirt.org>
> Sent: Thursday, December 19, 2013 3:22:55 PM
> Subject: Re: [Engine-devel] Engine on Fedora 20
>
> On 19/12/13 15:05 -0500, Adam Litke wrote:
> >Has anyone had success running ovirt-engine on Fedora 20? I upgraded
> >my system on Wednesday and thought everything was fine but then I
> >started getting the following error:
> >
> >2013-12-19 14:53:31,447 ERROR [org.ovirt.engine.core.bll.Backend] (MSC
> >service thread 1-5) Error in getting DB connection. The database is
> >inaccessible. Original exception is:
> >DataAccessResourceFailureException: Error retreiving database
> >metadata; nested exception is
> >org.springframework.jdbc.support.MetaDataAccessException: Could not
> >get Connection for extracting meta data; nested exception is
> >org.springframework.jdbc.CannotGetJdbcConnectionException: Could not
> >get JDBC Connection; nested exception is java.sql.SQLException:
> >javax.resource.ResourceException: IJ000453: Unable to get managed
> >connection for java:/ENGINEDataSource
> >
> >Has anyone encountered this recently?
>
> Thanks to alonb for his help on IRC. As it turns out, I had a poorly
> configured pg_hba.conf file that only started causing problems on F20.
> To fix I replaced my contents with the following two lines:
>
> host engine engine 0.0.0.0/0 md5
> host engine engine ::0/0 md5
>
> Otherwise, it seems to be working fine.
> _______________________________________________
> Engine-devel mailing list
> Engine-devel(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/engine-devel
>
This happened to me too.
Alon, should we wiki this in
http://www.ovirt.org/OVirt_Engine_Development_Environment#Database ? The
current instructions say to use 127.0.0.1 instead of 0.0.0.0
Also, I find it strange that 127.0.0.1 wasn't working for me, whereas 0.0.0.0
does.
loopback should work. Have you put the ipv6 entry as well?
Alon