Bug 1349305 - [ovirt-engine-extension-aaa-ldap-setup] No timeout when server is down
Summary: [ovirt-engine-extension-aaa-ldap-setup] No timeout when server is down
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-extension-aaa-ldap
Classification: oVirt
Component: Setup
Version: 1.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.0.1
: 1.2.1
Assignee: Ondra Machacek
QA Contact: Jiri Belka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-23 08:02 UTC by Gonza
Modified: 2016-08-22 12:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-22 12:29:18 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.0.z+
rule-engine: planning_ack+
mperina: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)
ovirt-engine-extension-aaa-ldap-setup log (117.70 KB, text/plain)
2016-06-23 08:02 UTC, Gonza
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 59673 0 None MERGED setup: add timeout to ldap search 2020-06-23 18:32:17 UTC

Description Gonza 2016-06-23 08:02:30 UTC
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

Comment 1 Martin Perina 2016-06-23 13:35:31 UTC
Fix will be included in ovirt-engine-extension-aaa-ldap-1.2.1

Comment 2 Jiri Belka 2016-08-18 10:00:39 UTC
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


Note You need to log in before you can comment on or make changes to this bug.