On Thu, May 30, 2019 at 4:21 PM <rubennunes12@gmail.com> wrote:
So when i choose to use DNS and put on Single Server the ldap.lab.local it can't be resolved for some reason but when i ping him with the hostname it  can make communication.

[root@ovirt ~]# ovirt-engine-extension-aaa-ldap-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files: ['/etc/ovirt-engine-extension-aaa-ldap-setup.conf.d/10-packaging.conf']
          Log file: /tmp/ovirt-engine-extension-aaa-ldap-setup-20190530151423-7oj9kq.log
          Version: otopi-1.7.8 (otopi-1.7.8-1.el7)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment customization
          Welcome to LDAP extension configuration program
          Available LDAP implementations:
           1 - 389ds
           2 - 389ds RFC-2307 Schema
           3 - Active Directory
           4 - IBM Security Directory Server
           5 - IBM Security Directory Server RFC-2307 Schema
           6 - IPA
           7 - Novell eDirectory RFC-2307 Schema
           8 - OpenLDAP RFC-2307 Schema
           9 - OpenLDAP Standard Schema
          10 - Oracle Unified Directory RFC-2307 Schema
          11 - RFC-2307 Schema (Generic)
          12 - RHDS
          13 - RHDS RFC-2307 Schema
          14 - iPlanet
          Please select: 9

          NOTE:
          It is highly recommended to use DNS resolution for LDAP server.
          If for some reason you intend to use hosts or plain address disable DNS usage.

          Use DNS (Yes, No) [Yes]:
          Available policy method:
           1 - Single server
           2 - DNS domain LDAP SRV record
           3 - Round-robin between multiple hosts
           4 - Failover between multiple hosts
          Please select: 1
          Please enter host address: ldap.lab.local
[ INFO  ] Trying to resolve host 'ldap.lab.local'
[ ERROR ] Cannot resolve host 'ldap.lab.local'
          Please enter host address: ^C[ ERROR ] Failed to execute stage 'Environment customization': SIG2
[ INFO  ] Stage: Clean up
          Log file is available at /tmp/ovirt-engine-extension-aaa-ldap-setup-20190530151423-7oj9kq.log:
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
_______________________________________________


Possibly you have the entry inside your /etc/hosts file but not configured in dns?
You can also answer No to "Use DNS" and then put the ip and choose plain