[Users] problems adding a domain

Hi all, I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs: 2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp.. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value. 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"? Best regards, Cristian Falcas

On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas <cristi.falcas@gmail.com>wrote:
Hi all,
I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:
2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp.. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value. 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?
Best regards, Cristian Falcas
Hi, I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?

This is a multi-part message in MIME format. --------------020505050403040904010200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/02/2012 10:52 PM, Cristian Falcas wrote:
On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas <cristi.falcas@gmail.com <mailto:cristi.falcas@gmail.com>> wrote:
Hi all,
I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:
2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp.. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value. 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?
Best regards, Cristian Falcas
Hi,
I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
pls attach the whole log and the full command line. --------------020505050403040904010200 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 12/02/2012 10:52 PM, Cristian Falcas wrote:<br> </div> <blockquote cite="mid:CAMo7R_fKDORUK5q6DfH4Rwunv-h1Z66SSuE2wE1q5KcWMcjODA@mail.gmail.com" type="cite"><br> <div class="gmail_extra"><br> <br> <div class="gmail_quote">On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas <span dir="ltr"><<a moz-do-not-send="true" href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br> <br> I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:<br> <br> 2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..<br> Exception message is: DNS name not found [response code 3]<br> Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.<br> Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.<br> 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.<br> 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility<br> <br> <br> It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?<br> <br> Best regards,<br> Cristian Falcas<br> </blockquote> </div> <br> <br> Hi, <br> <br> I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?<br> <br> <br> </div> <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> pls attach the whole log and the full command line.<br> </body> </html> --------------020505050403040904010200--

On Mon, Dec 3, 2012 at 9:08 AM, Roy Golan <rgolan@redhat.com> wrote:
On 12/02/2012 10:52 PM, Cristian Falcas wrote:
On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas <cristi.falcas@gmail.com>wrote:
Hi all,
I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:
2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp.. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value. 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?
Best regards, Cristian Falcas
Hi,
I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
pls attach the whole log and the full command line.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Also the file /etc/ovirt-engine/krb5.conf is not created. Doing a tcpdump trace, I it's asking the dns server to resolve the name "_ldap._tcp". The response is "Standard query response, No such name". Command: engine-manage-domains -action=add -domain=company.com-provider=ActiveDirectory -user= user.name -passwordFile=/tmp/pass Logs: 2012-12-02 22:56:44,038 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-12-02 22:56:44,052 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-12-02 22:56:48,033 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp.. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. 2012-12-02 22:56:48,033 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value. 2012-12-02 22:56:48,050 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility

This is a multi-part message in MIME format. --------------070901030500080101040401 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/03/2012 11:47 AM, Cristian Falcas wrote:
On Mon, Dec 3, 2012 at 9:08 AM, Roy Golan <rgolan@redhat.com <mailto:rgolan@redhat.com>> wrote:
On 12/02/2012 10:52 PM, Cristian Falcas wrote:
On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas <cristi.falcas@gmail.com <mailto:cristi.falcas@gmail.com>> wrote:
Hi all,
I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:
2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp.. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value. 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?
Best regards, Cristian Falcas
Hi,
I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
pls attach the whole log and the full command line.
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
Also the file /etc/ovirt-engine/krb5.conf is not created.
Doing a tcpdump trace, I it's asking the dns server to resolve the name "_ldap._tcp". The response is "Standard query response, No such name".
Command: engine-manage-domains -action=add -domain=company.com <http://company.com> -provider=ActiveDirectory -user=user.name <http://user.name> -passwordFile=/tmp/pass
Logs:
2012-12-02 22:56:44,038 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-12-02 22:56:44,052 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-12-02 22:56:48,033 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp.. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. 2012-12-02 22:56:48,033 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value. 2012-12-02 22:56:48,050 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Well, it sounds like the dns server can't resolve the name you gave, Maybe the user 'user.name' does not exist ? maybe the domain company.com does not reachable (try to use explicit ip address)? Please verify both and try to add the domain again with existing user -- Yaniv Bronhaim. RedHat, Israel 09-7692289 054-7744187 --------------070901030500080101040401 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 12/03/2012 11:47 AM, Cristian Falcas wrote:<br> </div> <blockquote cite="mid:CAMo7R_fH3qqaoh8Q+=Xw6Xihs1FjFWp7j9_OoQH8eP1qDABZEg@mail.gmail.com" type="cite"><br> <div class="gmail_extra"><br> <br> <div class="gmail_quote">On Mon, Dec 3, 2012 at 9:08 AM, Roy Golan <span dir="ltr"><<a moz-do-not-send="true" href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <div> <div class="h5"> <div>On 12/02/2012 10:52 PM, Cristian Falcas wrote:<br> </div> </div> </div> <blockquote type="cite"> <div> <div class="h5"><br> <div class="gmail_extra"><br> <br> <div class="gmail_quote">On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas <span dir="ltr"><<a moz-do-not-send="true" href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br> <br> I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:<br> <br> 2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..<br> Exception message is: DNS name not found [response code 3]<br> Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.<br> Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.<br> 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.<br> 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility<br> <br> <br> It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?<br> <br> Best regards,<br> Cristian Falcas<br> </blockquote> </div> <br> <br> Hi, <br> <br> I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?<br> <br> <br> </div> <br> <fieldset></fieldset> <br> </div> </div> <pre>_______________________________________________ Users mailing list <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> pls attach the whole log and the full command line.<br> </div> <br> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br> </blockquote> </div> <br> <br> Also the file /etc/ovirt-engine/krb5.conf is not created.<br> <br> Doing a tcpdump trace, I it's asking the dns server to resolve the name "_ldap._tcp". The response is "Standard query response, No such name". <br> <br> Command:<br> engine-manage-domains -action=add -domain=<a moz-do-not-send="true" href="http://company.com">company.com</a> -provider=ActiveDirectory -user=<a moz-do-not-send="true" href="http://user.name">user.name</a> -passwordFile=/tmp/pass<br> <br> Logs:<br> <br> 2012-12-02 22:56:44,038 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-12-02 22:56:44,052 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-12-02 22:56:48,033 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..<br> Exception message is: DNS name not found [response code 3]<br> Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.<br> Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.<br> 2012-12-02 22:56:48,033 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.<br> 2012-12-02 22:56:48,050 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility<br> <br> </div> <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> Well, it sounds like the dns server can't resolve the name you gave,<br> Maybe the user 'user.name' does not exist ? maybe the domain company.com does not reachable (try to use explicit ip address)? Please verify both and try to add the domain again with existing user<br> <pre class="moz-signature" cols="72">-- Yaniv Bronhaim. RedHat, Israel 09-7692289 054-7744187</pre> </body> </html> --------------070901030500080101040401--

This is a multi-part message in MIME format. --------------020804060604000406080607 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/03/2012 11:47 AM, Cristian Falcas wrote:
On Mon, Dec 3, 2012 at 9:08 AM, Roy Golan <rgolan@redhat.com <mailto:rgolan@redhat.com>> wrote:
On 12/02/2012 10:52 PM, Cristian Falcas wrote:
On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas <cristi.falcas@gmail.com <mailto:cristi.falcas@gmail.com>> wrote:
Hi all,
I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:
2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp.. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value. 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?
Best regards, Cristian Falcas
Hi,
I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
pls attach the whole log and the full command line.
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
Also the file /etc/ovirt-engine/krb5.conf is not created.
Doing a tcpdump trace, I it's asking the dns server to resolve the name "_ldap._tcp". The response is "Standard query response, No such name".
Command: engine-manage-domains -action=add -domain=company.com <http://company.com> -provider=ActiveDirectory -user=user.name <http://user.name> -passwordFile=/tmp/pass
Logs:
2012-12-02 22:56:44,038 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-12-02 22:56:44,052 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf 2012-12-02 22:56:48,033 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp.. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. 2012-12-02 22:56:48,033 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value. 2012-12-02 22:56:48,050 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
clearly a bug - I suspect its related to commit bad73b624bf68f7817e9b2ecfcf9ef8489eea8f5 - the domain name is assumed to be already in the config. Yair - will you open the bug? please look at the createConfigurationProvider String domainName = getConfigValue(engineConfigExecutable, engineConfigProperties, ConfigValues.DomainName); <<< domain from the config. in "add" flow the domain isn't persisted yet String ldapSecurityAuthentication = getConfigValue(engineConfigExecutable, engineConfigProperties, ConfigValues.LDAPSecurityAuthentication); ldapDnsResult = validateLdapServers(domainName); its using the domain name from the config instead of using whatever passes to the parser object as an argument. this will work for updating an existing domain but not for new ones. --------------020804060604000406080607 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 12/03/2012 11:47 AM, Cristian Falcas wrote:<br> </div> <blockquote cite="mid:CAMo7R_fH3qqaoh8Q+=Xw6Xihs1FjFWp7j9_OoQH8eP1qDABZEg@mail.gmail.com" type="cite"><br> <div class="gmail_extra"><br> <br> <div class="gmail_quote">On Mon, Dec 3, 2012 at 9:08 AM, Roy Golan <span dir="ltr"><<a moz-do-not-send="true" href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <div> <div class="h5"> <div>On 12/02/2012 10:52 PM, Cristian Falcas wrote:<br> </div> </div> </div> <blockquote type="cite"> <div> <div class="h5"><br> <div class="gmail_extra"><br> <br> <div class="gmail_quote">On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas <span dir="ltr"><<a moz-do-not-send="true" href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br> <br> I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:<br> <br> 2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..<br> Exception message is: DNS name not found [response code 3]<br> Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.<br> Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.<br> 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.<br> 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility<br> <br> <br> It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?<br> <br> Best regards,<br> Cristian Falcas<br> </blockquote> </div> <br> <br> Hi, <br> <br> I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?<br> <br> <br> </div> <br> <fieldset></fieldset> <br> </div> </div> <pre>_______________________________________________ Users mailing list <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> pls attach the whole log and the full command line.<br> </div> <br> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br> </blockquote> </div> <br> <br> Also the file /etc/ovirt-engine/krb5.conf is not created.<br> <br> Doing a tcpdump trace, I it's asking the dns server to resolve the name "_ldap._tcp". The response is "Standard query response, No such name". <br> <br> Command:<br> engine-manage-domains -action=add -domain=<a moz-do-not-send="true" href="http://company.com">company.com</a> -provider=ActiveDirectory -user=<a moz-do-not-send="true" href="http://user.name">user.name</a> -passwordFile=/tmp/pass<br> <br> Logs:<br> <br> 2012-12-02 22:56:44,038 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-12-02 22:56:44,052 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-12-02 22:56:48,033 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..<br> Exception message is: DNS name not found [response code 3]<br> Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.<br> Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.<br> 2012-12-02 22:56:48,033 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.<br> 2012-12-02 22:56:48,050 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility<br> <br> </div> </blockquote> clearly a bug - I suspect its related to commit bad73b624bf68f7817e9b2ecfcf9ef8489eea8f5 - the domain name is assumed to be already in the config.<br> Yair - will you open the bug? <br> please look at the createConfigurationProvider<br> String domainName = getConfigValue(engineConfigExecutable, engineConfigProperties, ConfigValues.DomainName); <<< domain from the config. in "add" flow the domain isn't persisted yet<br> String ldapSecurityAuthentication =<br> getConfigValue(engineConfigExecutable,<br> engineConfigProperties,<br> ConfigValues.LDAPSecurityAuthentication);<br> ldapDnsResult = validateLdapServers(domainName); <br> <br> its using the domain name from the config instead of using whatever passes to the parser object as an argument. this will work for updating an existing domain but not for new ones. <br> </body> </html> --------------020804060604000406080607--

------=_Part_41814413_565033090.1354538322435 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Roy - yes, probably a bug. Either Ravi or I will take a look at this ASAP. ----- Original Message -----
From: "Roy Golan" <rgolan@redhat.com> To: "Cristian Falcas" <cristi.falcas@gmail.com>, "Yair Zaslavsky" <yzaslavs@redhat.com> Cc: users@ovirt.org Sent: Monday, December 3, 2012 12:28:46 PM Subject: Re: [Users] problems adding a domain
On 12/03/2012 11:47 AM, Cristian Falcas wrote:
On Mon, Dec 3, 2012 at 9:08 AM, Roy Golan < rgolan@redhat.com > wrote:
On 12/02/2012 10:52 PM, Cristian Falcas wrote:
On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas < cristi.falcas@gmail.com > wrote:
Hi all,
I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:
2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..
Exception message is: DNS name not found [response code 3]
Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.
Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.
2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.
2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?
Best regards,
Cristian Falcas
Hi,
I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?
_______________________________________________
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
pls attach the whole log and the full command line.
_______________________________________________
Users mailing list
Users@ovirt.org
Also the file /etc/ovirt-engine/krb5.conf is not created.
Doing a tcpdump trace, I it's asking the dns server to resolve the name "_ldap._tcp". The response is "Standard query response, No such name".
Command:
engine-manage-domains -action=add -domain= company.com -provider=ActiveDirectory -user= user.name -passwordFile=/tmp/pass
Logs:
2012-12-02 22:56:44,038 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
2012-12-02 22:56:44,052 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
2012-12-02 22:56:48,033 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..
Exception message is: DNS name not found [response code 3]
Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.
Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.
2012-12-02 22:56:48,033 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.
2012-12-02 22:56:48,050 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
clearly a bug - I suspect its related to commit bad73b624bf68f7817e9b2ecfcf9ef8489eea8f5 - the domain name is assumed to be already in the config. Yair - will you open the bug? please look at the createConfigurationProvider String domainName = getConfigValue(engineConfigExecutable, engineConfigProperties, ConfigValues.DomainName); <<< domain from the config. in "add" flow the domain isn't persisted yet String ldapSecurityAuthentication = getConfigValue(engineConfigExecutable, engineConfigProperties, ConfigValues.LDAPSecurityAuthentication); ldapDnsResult = validateLdapServers(domainName);
its using the domain name from the config instead of using whatever passes to the parser object as an argument. this will work for updating an existing domain but not for new ones.
------=_Part_41814413_565033090.1354538322435 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Roy - yes, probably a bug.<br>Either Ravi or I will take a look at this ASAP.<br><br><br><br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Roy Golan" <rgolan@redhat.com><br><b>To: </b>"Cristian Falcas" <cristi.falcas@gmail.com>, "Yair Zaslavsky" <yzaslavs@redhat.com><br><b>Cc: </b>users@ovirt.org<br><b>Sent: </b>Monday, December 3, 2012 12:28:46 PM<br><b>Subject: </b>Re: [Users] problems adding a domain<br><br> <div class="moz-cite-prefix">On 12/03/2012 11:47 AM, Cristian Falcas wrote:<br> </div> <blockquote cite="mid:CAMo7R_fH3qqaoh8Q+=Xw6Xihs1FjFWp7j9_OoQH8eP1qDABZEg@mail.gmail.com"><br> <div class="gmail_extra"><br> <br> <div class="gmail_quote">On Mon, Dec 3, 2012 at 9:08 AM, Roy Golan <span dir="ltr"><<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div> <div> <div class="h5"> <div>On 12/02/2012 10:52 PM, Cristian Falcas wrote:<br> </div> </div> </div> <blockquote> <div> <div class="h5"><br> <div class="gmail_extra"><br> <br> <div class="gmail_quote">On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas <span dir="ltr"><<a href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br> <br> I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:<br> <br> 2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..<br> Exception message is: DNS name not found [response code 3]<br> Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.<br> Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.<br> 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.<br> 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility<br> <br> <br> It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?<br> <br> Best regards,<br> Cristian Falcas<br> </blockquote> </div> <br> <br> Hi, <br> <br> I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?<br> <br> <br> </div> <br> <fieldset></fieldset> <br> </div> </div> <pre>_______________________________________________ Users mailing list <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> pls attach the whole log and the full command line.<br> </div> <br> _______________________________________________<br> Users mailing list<br> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br> </blockquote> </div> <br> <br> Also the file /etc/ovirt-engine/krb5.conf is not created.<br> <br> Doing a tcpdump trace, I it's asking the dns server to resolve the name "_ldap._tcp". The response is "Standard query response, No such name". <br> <br> Command:<br> engine-manage-domains -action=add -domain=<a href="http://company.com" target="_blank">company.com</a> -provider=ActiveDirectory -user=<a href="http://user.name" target="_blank">user.name</a> -passwordFile=/tmp/pass<br> <br> Logs:<br> <br> 2012-12-02 22:56:44,038 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-12-02 22:56:44,052 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<br> 2012-12-02 22:56:48,033 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..<br> Exception message is: DNS name not found [response code 3]<br> Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.<br> Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.<br> 2012-12-02 22:56:48,033 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.<br> 2012-12-02 22:56:48,050 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility<br> <br> </div> </blockquote> clearly a bug - I suspect its related to commit bad73b624bf68f7817e9b2ecfcf9ef8489eea8f5 - the domain name is assumed to be already in the config.<br> Yair - will you open the bug? <br> please look at the createConfigurationProvider<br> String domainName = getConfigValue(engineConfigExecutable, engineConfigProperties, ConfigValues.DomainName); <<< domain from the config. in "add" flow the domain isn't persisted yet<br> String ldapSecurityAuthentication =<br> getConfigValue(engineConfigExecutable,<br> engineConfigProperties,<br> ConfigValues.LDAPSecurityAuthentication);<br> ldapDnsResult = validateLdapServers(domainName); <br> <br> its using the domain name from the config instead of using whatever passes to the parser object as an argument. this will work for updating an existing domain but not for new ones. <br> </blockquote><br></div></body></html> ------=_Part_41814413_565033090.1354538322435--

------=_Part_42053805_969112676.1354557620331 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Suggested fix upstream (According to Roy's info - thanks Roy!) http://gerrit.ovirt.org/#/c/9585/ ----- Original Message -----
From: "Yair Zaslavsky" <yzaslavs@redhat.com> To: "Roy Golan" <rgolan@redhat.com> Cc: users@ovirt.org Sent: Monday, December 3, 2012 2:38:42 PM Subject: Re: [Users] problems adding a domain
Roy - yes, probably a bug. Either Ravi or I will take a look at this ASAP.
----- Original Message -----
From: "Roy Golan" <rgolan@redhat.com>
To: "Cristian Falcas" <cristi.falcas@gmail.com>, "Yair Zaslavsky" <yzaslavs@redhat.com>
Cc: users@ovirt.org
Sent: Monday, December 3, 2012 12:28:46 PM
Subject: Re: [Users] problems adding a domain
On 12/03/2012 11:47 AM, Cristian Falcas wrote:
On Mon, Dec 3, 2012 at 9:08 AM, Roy Golan < rgolan@redhat.com > wrote:
On 12/02/2012 10:52 PM, Cristian Falcas wrote:
On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas < cristi.falcas@gmail.com > wrote:
Hi all,
I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:
2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..
Exception message is: DNS name not found [response code 3]
Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.
Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.
2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.
2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?
Best regards,
Cristian Falcas
Hi,
I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?
_______________________________________________
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
pls attach the whole log and the full command line.
_______________________________________________
Users mailing list
Users@ovirt.org
Also the file /etc/ovirt-engine/krb5.conf is not created.
Doing a tcpdump trace, I it's asking the dns server to resolve the name "_ldap._tcp". The response is "Standard query response, No such name".
Command:
engine-manage-domains -action=add -domain= company.com -provider=ActiveDirectory -user= user.name -passwordFile=/tmp/pass
Logs:
2012-12-02 22:56:44,038 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
2012-12-02 22:56:44,052 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
2012-12-02 22:56:48,033 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..
Exception message is: DNS name not found [response code 3]
Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.
Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.
2012-12-02 22:56:48,033 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.
2012-12-02 22:56:48,050 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
clearly a bug - I suspect its related to commit bad73b624bf68f7817e9b2ecfcf9ef8489eea8f5 - the domain name is assumed to be already in the config.
Yair - will you open the bug?
please look at the createConfigurationProvider
String domainName = getConfigValue(engineConfigExecutable, engineConfigProperties, ConfigValues.DomainName); <<< domain from the config. in "add" flow the domain isn't persisted yet
String ldapSecurityAuthentication =
getConfigValue(engineConfigExecutable,
engineConfigProperties,
ConfigValues.LDAPSecurityAuthentication);
ldapDnsResult = validateLdapServers(domainName);
its using the domain name from the config instead of using whatever passes to the parser object as an argument. this will work for updating an existing domain but not for new ones.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Sent: </b>Monday, December 3, 2012 2:38:42 PM<br><b>Subject: </b>Re: [User= s] problems adding a domain<br><br><style>p { margin: 0; }</style><div styl= e=3D"font-family: times new roman,new york,times,serif; font-size: 12pt; co= lor: #000000">Roy - yes, probably a bug.<br>Either Ravi or I will take a lo= ok at this ASAP.<br><br><br><br><br><hr id=3D"zwchr"><blockquote style=3D"b= order-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;colo= r:#000;font-weight:normal;font-style:normal;text-decoration:none;font-famil= y:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Roy Golan" <= rgolan@redhat.com><br><b>To: </b>"Cristian Falcas" <cristi.falcas@gma= il.com>, "Yair Zaslavsky" <yzaslavs@redhat.com><br><b>Cc: </b>user= s@ovirt.org<br><b>Sent: </b>Monday, December 3, 2012 12:28:46 PM<br><b>Subj= ect: </b>Re: [Users] problems adding a domain<br><br> =20 =20 =20 =20 <div class=3D"moz-cite-prefix">On 12/03/2012 11:47 AM, Cristian Falcas wrote:<br> </div> <blockquote cite=3D"mid:CAMo7R_fH3qqaoh8Q+=3DXw6Xihs1FjFWp7j9_OoQH8eP1q= DABZEg@mail.gmail.com"><br> <div class=3D"gmail_extra"><br> <br> <div class=3D"gmail_quote">On Mon, Dec 3, 2012 at 9:08 AM, Roy Golan <span dir=3D"ltr"><<a href=3D"mailto:rgolan@redhat.com" = target=3D"_blank">rgolan@redhat.com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div> <div> <div class=3D"h5"> <div>On 12/02/2012 10:52 PM, Cristian Falcas wrote:<br> </div> </div> </div> <blockquote> <div> <div class=3D"h5"><br> <div class=3D"gmail_extra"><br> <br> <div class=3D"gmail_quote">On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas <span dir=3D"ltr"><<a h= ref=3D"mailto:cristi.falcas@gmail.com" target=3D"_blank">cristi.falcas@gmai= l.com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0=
http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> pls attach the whole log and the full command line.<br> </div> <br> _______________________________________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovir= t.org</a><br> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" targe= t=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br> </blockquote> </div> <br> <br> Also the file /etc/ovirt-engine/krb5.conf is not created.<br> <br> Doing a tcpdump trace, I it's asking the dns server to resolve the name "_ldap._tcp". The response is "Standard query response, No such name". <br> <br> Command:<br> engine-manage-domains -action=3Dadd -domain=3D<a href=3D"http://com=
------=_Part_42053805_969112676.1354557620331 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><= div style=3D'font-family: times new roman,new york,times,serif; font-size: = 12pt; color: #000000'>Suggested fix upstream (According to Roy's info - tha= nks Roy!)<br><br>http://gerrit.ovirt.org/#/c/9585/<br><br><br><br><br><hr i= d=3D"zwchr"><blockquote style=3D"border-left:2px solid rgb(16, 16, 255);mar= gin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:norm= al;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12= pt;"><b>From: </b>"Yair Zaslavsky" <yzaslavs@redhat.com><br><b>To: </= b>"Roy Golan" <rgolan@redhat.com><br><b>Cc: </b>users@ovirt.org<br><b= px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br> <br> I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:<br> <br> 2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUt= ils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-ma= nage-domains.conf<br> 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUt= ils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-ma= nage-domains.conf<br> 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..<br> Exception message is: DNS name not found [response code 3]<br> Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.<br> Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.<br> 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomai= nsResult] Got null value.<br> 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomai= ns] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility<br> <br> <br> It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?<br> <br> Best regards,<br> Cristian Falcas<br> </blockquote> </div> <br> <br> Hi, <br> <br> I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?<br> <br> <br> </div> <br> <fieldset></fieldset> <br> </div> </div> <pre>_______________________________________________ Users mailing list <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" target=3D"_blank"= pany.com" target=3D"_blank">company.com</a> -provider=3DActiveDirectory -user=3D<a href=3D"http://user.name" ta= rget=3D"_blank">user.name</a> -passwordFile=3D/tmp/pass<br> <br> Logs:<br> <br> 2012-12-02 22:56:44,038 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<= br> 2012-12-02 22:56:44,052 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<= br> 2012-12-02 22:56:48,033 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..<br> Exception message is: DNS name not found [response code 3]<br> Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.<br> Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.<br=
2012-12-02 22:56:48,033 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.<br> 2012-12-02 22:56:48,050 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility<br> <br> </div> </blockquote> clearly a bug - I suspect its related to commit bad73b624bf68f7817e9b2ecfcf9ef8489eea8f5 - the domain name is assumed to be already in the config.<br> Yair - will you open the bug? <br> please look at the createConfigurationProvider<br> String domainName =3D getConfigValue(engineConfigExecutable, engineConfigProperties, ConfigValues.DomainName); &nbs= p; <<< domain from the config. in "add" flow the doma= in isn't persisted yet<br> Stri= ng ldapSecurityAuthentication =3D<br>  = ; getConfigValue(engineConfigExec= utable,<br>  = ; &n= bsp; engineConfigProperties,<br>  = ; &n= bsp; ConfigValues.LDAPSecurityAuthentication);<br> ldap= DnsResult =3D validateLdapServers(domainName); &nb= sp; = &nb= sp; <br> <br> its using the domain name from the config instead of using whatever passes to the parser object as an argument. this will work for updating an existing domain but not for new ones. <br> =20 </blockquote><br></div><br>_______________________________________________<= br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/= listinfo/users<br></blockquote><br></div></body></html> ------=_Part_42053805_969112676.1354557620331--

------=_Part_42054900_697715554.1354557760896 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sorry, this is the correct one - http://gerrit.ovirt.org/#/c/9683/ ----- Original Message -----
From: "Yair Zaslavsky" <yzaslavs@redhat.com> To: "Roy Golan" <rgolan@redhat.com> Cc: users@ovirt.org Sent: Monday, December 3, 2012 8:00:20 PM Subject: Re: [Users] problems adding a domain
Suggested fix upstream (According to Roy's info - thanks Roy!)
----- Original Message -----
From: "Yair Zaslavsky" <yzaslavs@redhat.com>
To: "Roy Golan" <rgolan@redhat.com>
Cc: users@ovirt.org
Sent: Monday, December 3, 2012 2:38:42 PM
Subject: Re: [Users] problems adding a domain
Roy - yes, probably a bug.
Either Ravi or I will take a look at this ASAP.
----- Original Message -----
From: "Roy Golan" <rgolan@redhat.com>
To: "Cristian Falcas" <cristi.falcas@gmail.com>, "Yair Zaslavsky" <yzaslavs@redhat.com>
Cc: users@ovirt.org
Sent: Monday, December 3, 2012 12:28:46 PM
Subject: Re: [Users] problems adding a domain
On 12/03/2012 11:47 AM, Cristian Falcas wrote:
On Mon, Dec 3, 2012 at 9:08 AM, Roy Golan < rgolan@redhat.com > wrote:
On 12/02/2012 10:52 PM, Cristian Falcas wrote:
On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas < cristi.falcas@gmail.com > wrote:
> Hi all,
> I had some problems with the beta version and I tried > again > the > nightly builds. i think that somewhere in the code the > domain > is > not > added correctly. Trying to add a domain, I got this in > the > logs:
> 2012-11-30 01:38:33,962 DEBUG > [org.apache.commons.configuration.ConfigurationUtils] > ConfigurationUtils.locate(): base is null, name is > /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
> 2012-11-30 01:38:33,977 DEBUG > [org.apache.commons.configuration.ConfigurationUtils] > Loading > configuration from the absolute path > /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
> 2012-11-30 01:38:37,523 ERROR > [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: > could > not > find DNS SRV record name: _ldap._tcp..
> Exception message is: DNS name not found [response code > 3]
> Possible causes: missing DNS entries in the DNS server or > DNS > resolving issues from engine-core machine.
> Please Ensure correct DNS entries exist in the DNS server > and > ensure > the DNS server is reachable from the engine-core machine.
> 2012-11-30 01:38:37,523 DEBUG > [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] > Got > null > value.
> 2012-11-30 01:38:37,527 ERROR > [org.ovirt.engine.core.utils.kerberos.ManageDomains] > Failed > reading > current configuration. Details: Could not locate LDAP > servers > to > be > used to validate the input of the utility
> It looks like it's trying to get the info for " > _ldap._tcp." > instead > of " _ldap._tcp.domain"?
> Best regards,
> Cristian Falcas
Hi,
I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?
_______________________________________________
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
pls attach the whole log and the full command line.
_______________________________________________
Users mailing list
Users@ovirt.org
Also the file /etc/ovirt-engine/krb5.conf is not created.
Doing a tcpdump trace, I it's asking the dns server to resolve the name "_ldap._tcp". The response is "Standard query response, No such name".
Command:
engine-manage-domains -action=add -domain= company.com -provider=ActiveDirectory -user= user.name -passwordFile=/tmp/pass
Logs:
2012-12-02 22:56:44,038 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
2012-12-02 22:56:44,052 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf
2012-12-02 22:56:48,033 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..
Exception message is: DNS name not found [response code 3]
Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.
Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.
2012-12-02 22:56:48,033 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.
2012-12-02 22:56:48,050 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility
clearly a bug - I suspect its related to commit bad73b624bf68f7817e9b2ecfcf9ef8489eea8f5 - the domain name is assumed to be already in the config.
Yair - will you open the bug?
please look at the createConfigurationProvider
String domainName = getConfigValue(engineConfigExecutable, engineConfigProperties, ConfigValues.DomainName); <<< domain from the config. in "add" flow the domain isn't persisted yet
String ldapSecurityAuthentication =
getConfigValue(engineConfigExecutable,
engineConfigProperties,
ConfigValues.LDAPSecurityAuthentication);
ldapDnsResult = validateLdapServers(domainName);
its using the domain name from the config instead of using whatever passes to the parser object as an argument. this will work for updating an existing domain but not for new ones.
_______________________________________________
Users mailing list
Users@ovirt.org
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> pls attach the whole log and the full command line.<br> </div> <br> _______________________________________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovir= t.org</a><br> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" targe= t=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br> </blockquote> </div> <br> <br> Also the file /etc/ovirt-engine/krb5.conf is not created.<br> <br> Doing a tcpdump trace, I it's asking the dns server to resolve the name "_ldap._tcp". The response is "Standard query response, No such name". <br> <br> Command:<br> engine-manage-domains -action=3Dadd -domain=3D<a href=3D"http://com=
------=_Part_42054900_697715554.1354557760896 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><= div style=3D'font-family: times new roman,new york,times,serif; font-size: = 12pt; color: #000000'>Sorry, this is the correct one -<br><br>http://gerrit= .ovirt.org/#/c/9683/<br><br><br><hr id=3D"zwchr"><blockquote style=3D"borde= r-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#0= 00;font-weight:normal;font-style:normal;text-decoration:none;font-family:He= lvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Yair Zaslavsky" <= ;yzaslavs@redhat.com><br><b>To: </b>"Roy Golan" <rgolan@redhat.com>= ;<br><b>Cc: </b>users@ovirt.org<br><b>Sent: </b>Monday, December 3, 2012 8:= 00:20 PM<br><b>Subject: </b>Re: [Users] problems adding a domain<br><br><st= yle>p { margin: 0; }</style><div style=3D"font-family: times new roman,new = york,times,serif; font-size: 12pt; color: #000000">Suggested fix upstream (= According to Roy's info - thanks Roy!)<br><br>http://gerrit.ovirt.org/#/c/9= 585/<br><br><br><br><br><hr id=3D"zwchr"><blockquote style=3D"border-left:2= px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-= weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,= Arial,sans-serif;font-size:12pt;"><b>From: </b>"Yair Zaslavsky" <yzaslav= s@redhat.com><br><b>To: </b>"Roy Golan" <rgolan@redhat.com><br><b>= Cc: </b>users@ovirt.org<br><b>Sent: </b>Monday, December 3, 2012 2:38:42 PM= <br><b>Subject: </b>Re: [Users] problems adding a domain<br><br><style>p { = margin: 0; }</style><div style=3D"font-family: times new roman,new york,tim= es,serif; font-size: 12pt; color: #000000">Roy - yes, probably a bug.<br>Ei= ther Ravi or I will take a look at this ASAP.<br><br><br><br><br><hr id=3D"= zwchr"><blockquote style=3D"border-left:2px solid rgb(16, 16, 255);margin-l= eft:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;te= xt-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">= <b>From: </b>"Roy Golan" <rgolan@redhat.com><br><b>To: </b>"Cristian = Falcas" <cristi.falcas@gmail.com>, "Yair Zaslavsky" <yzaslavs@redh= at.com><br><b>Cc: </b>users@ovirt.org<br><b>Sent: </b>Monday, December 3= , 2012 12:28:46 PM<br><b>Subject: </b>Re: [Users] problems adding a domain<= br><br> =20 =20 =20 =20 <div class=3D"moz-cite-prefix">On 12/03/2012 11:47 AM, Cristian Falcas wrote:<br> </div> <blockquote cite=3D"mid:CAMo7R_fH3qqaoh8Q+=3DXw6Xihs1FjFWp7j9_OoQH8eP1q= DABZEg@mail.gmail.com"><br> <div class=3D"gmail_extra"><br> <br> <div class=3D"gmail_quote">On Mon, Dec 3, 2012 at 9:08 AM, Roy Golan <span dir=3D"ltr"><<a href=3D"mailto:rgolan@redhat.com" = target=3D"_blank">rgolan@redhat.com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div> <div> <div class=3D"h5"> <div>On 12/02/2012 10:52 PM, Cristian Falcas wrote:<br> </div> </div> </div> <blockquote> <div> <div class=3D"h5"><br> <div class=3D"gmail_extra"><br> <br> <div class=3D"gmail_quote">On Fri, Nov 30, 2012 at 1:53 AM, Cristian Falcas <span dir=3D"ltr"><<a h= ref=3D"mailto:cristi.falcas@gmail.com" target=3D"_blank">cristi.falcas@gmai= l.com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0= px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br> <br> I had some problems with the beta version and I tried again the nightly builds. i think that somewhere in the code the domain is not added correctly. Trying to add a domain, I got this in the logs:<br> <br> 2012-11-30 01:38:33,962 DEBUG [org.apache.commons.configuration.ConfigurationUt= ils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-ma= nage-domains.conf<br> 2012-11-30 01:38:33,977 DEBUG [org.apache.commons.configuration.ConfigurationUt= ils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-ma= nage-domains.conf<br> 2012-11-30 01:38:37,523 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..<br> Exception message is: DNS name not found [response code 3]<br> Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.<br> Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.<br> 2012-11-30 01:38:37,523 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomai= nsResult] Got null value.<br> 2012-11-30 01:38:37,527 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomai= ns] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility<br> <br> <br> It looks like it's trying to get the info for " _ldap._tcp." instead of " _ldap._tcp.domain"?<br> <br> Best regards,<br> Cristian Falcas<br> </blockquote> </div> <br> <br> Hi, <br> <br> I still have the same error with the nighly builds. Can anyone tell me is this is an error on my side or if I should wait for a fix?<br> <br> <br> </div> <br> <fieldset></fieldset> <br> </div> </div> <pre>_______________________________________________ Users mailing list <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" target=3D"_blank"= pany.com" target=3D"_blank">company.com</a> -provider=3DActiveDirectory -user=3D<a href=3D"http://user.name" ta= rget=3D"_blank">user.name</a> -passwordFile=3D/tmp/pass<br> <br> Logs:<br> <br> 2012-12-02 22:56:44,038 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<= br> 2012-12-02 22:56:44,052 DEBUG [org.apache.commons.configuration.ConfigurationUtils] Loading configuration from the absolute path /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf<= br> 2012-12-02 22:56:48,033 ERROR [org.ovirt.engine.core.utils.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _ldap._tcp..<br> Exception message is: DNS name not found [response code 3]<br> Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine.<br> Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine.<br=
2012-12-02 22:56:48,033 DEBUG [org.ovirt.engine.core.utils.kerberos.ManageDomainsResult] Got null value.<br> 2012-12-02 22:56:48,050 ERROR [org.ovirt.engine.core.utils.kerberos.ManageDomains] Failed reading current configuration. Details: Could not locate LDAP servers to be used to validate the input of the utility<br> <br> </div> </blockquote> clearly a bug - I suspect its related to commit bad73b624bf68f7817e9b2ecfcf9ef8489eea8f5 - the domain name is assumed to be already in the config.<br> Yair - will you open the bug? <br> please look at the createConfigurationProvider<br> String domainName =3D getConfigValue(engineConfigExecutable, engineConfigProperties, ConfigValues.DomainName); &nbs= p; <<< domain from the config. in "add" flow the doma= in isn't persisted yet<br> Stri= ng ldapSecurityAuthentication =3D<br>  = ; getConfigValue(engineConfigExec= utable,<br>  = ; &n= bsp; engineConfigProperties,<br>  = ; &n= bsp; ConfigValues.LDAPSecurityAuthentication);<br> ldap= DnsResult =3D validateLdapServers(domainName); &nb= sp; = &nb= sp; <br> <br> its using the domain name from the config instead of using whatever passes to the parser object as an argument. this will work for updating an existing domain but not for new ones. <br> =20 </blockquote><br></div><br>_______________________________________________<= br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/= listinfo/users<br></blockquote><br></div><br>______________________________= _________________<br>Users mailing list<br>Users@ovirt.org<br>http://lists.= ovirt.org/mailman/listinfo/users<br></blockquote><br></div></body></html> ------=_Part_42054900_697715554.1354557760896--
participants (4)
-
Cristian Falcas
-
Roy Golan
-
Yair Zaslavsky
-
ybronhei