Bug 1349305
| Summary: | [ovirt-engine-extension-aaa-ldap-setup] No timeout when server is down | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine-extension-aaa-ldap | Reporter: | Gonza <grafuls> | ||||
| Component: | Setup | Assignee: | Ondra Machacek <omachace> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Belka <jbelka> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.2.0 | CC: | bugs, gklein, mperina, ncredi, pstehlik | ||||
| Target Milestone: | ovirt-4.0.1 | Keywords: | Automation | ||||
| Target Release: | 1.2.1 | Flags: | rule-engine:
ovirt-4.0.z+
rule-engine: planning_ack+ mperina: devel_ack+ pstehlik: testing_ack+ |
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-08-22 12:29:18 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
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
|
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