Created attachment 1171328 [details] ovirt-engine-extension-aaa-ldap-setup log Description of problem: When running ovirt-engine-extension-aaa-ldap-setup over a server that is down, there is no timeout and the process can run for ours. Version-Release number of selected component (if applicable): ovirt-engine-extension-aaa-ldap-setup-1.2.0-1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. run ovirt-engine-extension-aaa-ldap-setup pointing to a ldap server that is down 2. wait for timeout Actual results: ovirt-engine-extension-aaa-ldap-setup runs for ours Expected results: ovirt-engine-extension-aaa-ldap-setup timesout after a short period of time Additional info: logs attached
Fix will be included in ovirt-engine-extension-aaa-ldap-1.2.1
ok, ovirt-engine-extension-aaa-ldap-setup-1.2.1-1.el7ev.noarch ... Please select protocol to use (startTLS, ldaps, plain) [startTLS]: plain [ INFO ] Connecting to LDAP using 'ldap://str-02.example.com:389' [WARNING] Cannot connect using 'ldap://str-02.example.com:389': {'desc': "Can't contact LDAP server"} [ ERROR ] Failed to execute stage 'Environment customization': Cannot connect using any of available options [ INFO ] Stage: Clean up Log file is available at /tmp/ovirt-engine-extension-aaa-ldap-setup-20160818095717-gt4q7o.log: [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination