Bug 1537265

Summary: AAA - Misleading error to the user during setup
Product: Red Hat Enterprise Virtualization Manager Reporter: Anitha Udgiri <audgiri>
Component: ovirt-engine-extension-aaa-ldapAssignee: Martin Perina <mperina>
Status: CLOSED DUPLICATE QA Contact: Gonza <grafuls>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.8CC: adevolder, bazulay, glamb, lsurette, mperina, pbrilla, Rhev-m-bugs, ykaul
Target Milestone: ---   
Target Release: ---   
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: 2018-01-30 10:40:51 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:

Description Anitha Udgiri 2018-01-22 19:13:03 UTC
Description of problem:
While using the setup script to configure for AAA, the following error about a command not working is very misleading to the user.

[ ERROR ] Failed to execute stage 'Environment customization': Command '/usr/bin/dig' failed to execute
[ INFO  ] Stage: Clean up
          Log file is available at /tmp/ovirt-engine-extension-aaa-ldap-setup-20180122090416-xxxxx.log

The actual reason for this error is missing information that the setup configuration is unable to gain obtain.



Expected results:

Request for a more meaningful and actual error to be  filtered back to the user.

Comment 2 Martin Perina 2018-01-23 10:58:45 UTC
*** Bug 1537264 has been marked as a duplicate of this bug. ***

Comment 4 Martin Perina 2018-01-30 10:40:51 UTC
Details are provided in setup log, dig output show that UDP response from LDAP server was truncated and that's why dig return error code. We are preparing fix  for 4.2.2/4.1.10 in a different bug

*** This bug has been marked as a duplicate of bug 1538217 ***

Comment 5 Franta Kust 2019-05-16 12:54:29 UTC
BZ<2>Jira re-sync