
Hi Roy!
In fact "engine-config -a" works fine. It shows me the db config content. By the way, that engine is running ok as well. I just can't get engine connected to my samba4.
Watching postgresql log file, whenever I use engine-manage-domains or engine-config, the following messages are appended:
LOG: connection received: host=localhost port=33331 LOG: connection authorized: user=engine database=engine LOG: unexpected EOF on client connection
This is a multi-part message in MIME format. --------------030706080205060303080104 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/09/2013 03:12 PM, Eduardo Ramos wrote: please attach the engine-managed-domains log. just throwing a bone here, could you try another user or just a different password and see if it fails different? say 123? and BTW Rene has got samba4 working for him.
But engine-config works fine. I'm using CentOS 6.3 and using yum there are not update for postgresql or jdbc to update. The same with ovirt-engine.
I'm really not understanding why it doesn't works.
On 04/07/2013 05:57 AM, Roy Golan wrote:
On 04/04/2013 09:45 PM, Eduardo Ramos wrote:
Hi all!
I'm trying to connect my ovirt-engine in a samba4 server. Samba4 is ActiveDirectory complaint. But when I use engine-manage-domains, it returns me a strange message:
[root@ovirt-dir eduardo]# engine-manage-domains -action=add -domain=gsr.inpe.br -provider=activeDirectory -user=Administrator -interactive Enter password:
Error: Authentication Failed. Error in DNS configuration. Please verify the oVirt Engine host has a valid reverse DNS (PTR) record.. Problematic domain is: getconnection: driver class name=org.postgresql.xa.pgxadatasourcegetconnection: url=jdbc:postgresql://localhost:5432/enginegetconnection: considering encrypted passord.
it looks like engine-config have problems opening a db connection. The DNS reported error is a bug and is shown due to the connection error.
you should get that same error if you'll use $ engine.config -a
you have some problem connecting to the localhost postgres instance using the password entered during setup probably.
is your postgresql instance up the engine is able to connect to the db? engine-config is getting the password from the same source where the engine does.
also, a PTR record is no longer needed since openjdk 7 due to a change in the impl of the krb5 module.
secdomain=encryptdbpasswordexecute: beginning execution of action action_get.fetching key=domainname ver=general Failure while applying Kerberos configuration. Details: Authentication Failed. Error in DNS configuration. Please verify the oVirt Engine host has a valid reverse DNS (PTR) record.
Using host command, I got the following results:
[root@ovirt-dir eduardo]# host ovirt-dir.gsr.inpe.br ovirt-dir.gsr.inpe.br has address 150.163.80.125
[root@ovirt-dir eduardo]# host 150.163.80.125 125.80.163.150.in-addr.arpa domain name pointer ovirt-dir.gsr.inpe.br.
[root@ovirt-dir eduardo]# host -t srv _kerberos._tcp.gsr.inpe.br _kerberos._tcp.gsr.inpe.br has SRV record 1 0 88 samba4.gsr.inpe.br.
[root@ovirt-dir eduardo]# host samba4.gsr.inpe.br samba4.gsr.inpe.br has address 150.163.73.109
[root@ovirt-dir eduardo]# host 150.163.73.109 109.73.163.150.in-addr.arpa domain name pointer samba4.gsr.inpe.br.
As you can see, it is everything ok. No DNS problem.
Someone have any idea?
Thanks.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------030706080205060303080104 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 04/09/2013 03:12 PM, Eduardo Ramos wrote:<br> </div> <blockquote cite="mid:516405C9.9080701@freedominterface.org" type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> Hi Roy!<br> <br> In fact "engine-config -a" works fine. It shows me the db config content. By the way, that engine is running ok as well. I just can't get engine connected to my samba4.<br> <br> Watching postgresql log file, whenever I use engine-manage-domains or engine-config, the following messages are appended:<br> <br> <small>LOG: connection received: host=localhost port=33331<br> LOG: connection authorized: user=engine database=engine<br> LOG: unexpected EOF on client connection</small><br> </blockquote> please attach the engine-managed-domains log. <br> <br> just throwing a bone here, could you try another user or just a different password and see if it fails different? say 123? <br> <br> and BTW Rene has got samba4 working for him.<br> <blockquote cite="mid:516405C9.9080701@freedominterface.org" type="cite"> <br> But engine-config works fine. I'm using CentOS 6.3 and using yum there are not update for postgresql or jdbc to update. The same with ovirt-engine.<br> <br> I'm really not understanding why it doesn't works.<br> <br> <br> <div class="moz-cite-prefix">On 04/07/2013 05:57 AM, Roy Golan wrote:<br> </div> <blockquote cite="mid:516134F2.90404@redhat.com" type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <div class="moz-cite-prefix">On 04/04/2013 09:45 PM, Eduardo Ramos wrote:<br> </div> <blockquote cite="mid:515DCA50.1050003@freedominterface.org" type="cite"> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> Hi all!<br> <br> I'm trying to connect my ovirt-engine in a samba4 server. Samba4 is ActiveDirectory complaint. But when I use engine-manage-domains, it returns me a strange message:<br> <br> <small>[root@ovirt-dir eduardo]# engine-manage-domains -action=add -domain=gsr.inpe.br -provider=activeDirectory -user=Administrator -interactive<br> Enter password:<br> <br> Error: Authentication Failed. Error in DNS configuration. Please verify the oVirt Engine host has a valid reverse DNS (PTR) record.. Problematic domain is: getconnection: driver class name=org.postgresql.xa.pgxadatasourcegetconnection: url=jdbc:postgresql://localhost:5432/enginegetconnection: considering encrypted passord. </small></blockquote> <br> <br> it looks like engine-config have problems opening a db connection. The DNS reported error is a bug and is shown due to the connection error. <br> <br> you should get that same error if you'll use<br> $ engine.config -a<br> <br> you have some problem connecting to the localhost postgres instance using the password entered during setup probably.<br> <br> is your postgresql instance up the engine is able to connect to the db? engine-config is getting the password from the same source where the engine does.<br> <br> also, a PTR record is no longer needed since openjdk 7 due to a change in the impl of the krb5 module.<br> <br> <br> <blockquote cite="mid:515DCA50.1050003@freedominterface.org" type="cite"><small>secdomain=encryptdbpasswordexecute: beginning execution of action action_get.fetching key=domainname ver=general<br> Failure while applying Kerberos configuration. Details: Authentication Failed. Error in DNS configuration. Please verify the oVirt Engine host has a valid reverse DNS (PTR) record.<br> <br> <big><big><small>Using host command, I got the following results:<br> <small><br> [root@ovirt-dir eduardo]# host ovirt-dir.gsr.inpe.br<br> ovirt-dir.gsr.inpe.br has address 150.163.80.125<br> <br> [root@ovirt-dir eduardo]# host 150.163.80.125<br> 125.80.163.150.in-addr.arpa domain name pointer ovirt-dir.gsr.inpe.br.<br> <br> [root@ovirt-dir eduardo]# host -t srv _kerberos._tcp.gsr.inpe.br<br> _kerberos._tcp.gsr.inpe.br has SRV record 1 0 88 samba4.gsr.inpe.br.<br> <br> [root@ovirt-dir eduardo]# host samba4.gsr.inpe.br<br> samba4.gsr.inpe.br has address 150.163.73.109<br> <br> [root@ovirt-dir eduardo]# host 150.163.73.109<br> 109.73.163.150.in-addr.arpa domain name pointer samba4.gsr.inpe.br.<br> <br> <big>As you can see, it is everything ok. No DNS problem.<br> <br> Someone have any idea?<br> <br> Thanks.<br> </big></small></small></big></big></small> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </body> </html> --------------030706080205060303080104--