[Engine-devel] Engine on Fedora 20

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?

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.

On 12/19/2013 03:22 PM, Adam Litke wrote:
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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
is this with the wildfly jboss version?

On 19/12/13 15:43 -0500, Itamar Heim wrote:
On 12/19/2013 03:22 PM, Adam Litke wrote:
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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
is this with the wildfly jboss version?
Actually it's with the manually installed jboss-as-7.1.1.Final.tar.gz that I put in place using the older development environment setup instructions.

----- Original Message -----
From: "Adam Litke" <alitke@redhat.com> To: "engine-devel" <engine-devel@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@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. Greg

----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "Adam Litke" <alitke@redhat.com>, "Alon Bar-Lev" <alonbl@redhat.com> Cc: "engine-devel" <engine-devel@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@redhat.com> To: "engine-devel" <engine-devel@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@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

----- Original Message -----
From: "Alon Bar-Lev" <alonbl@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "Adam Litke" <alitke@redhat.com>, "engine-devel" <engine-devel@ovirt.org> Sent: Thursday, December 26, 2013 3:13:25 PM Subject: Re: [Engine-devel] Engine on Fedora 20
----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "Adam Litke" <alitke@redhat.com>, "Alon Bar-Lev" <alonbl@redhat.com> Cc: "engine-devel" <engine-devel@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@redhat.com> To: "engine-devel" <engine-devel@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@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
You're right, either of these works: #host engine engine 0.0.0.0/0 md5 #host engine engine ::0/0 md5 host all all 127.0.0.1/32 password host all all ::1/128 password Sorry for the spam.
participants (4)
-
Adam Litke
-
Alon Bar-Lev
-
Greg Sheremeta
-
Itamar Heim