Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1685968

Summary: ovirt-aaa-jdbc-tool return code 0 on failure
Product: [oVirt] ovirt-engine-extension-aaa-jdbc Reporter: Petr Matyáš <pmatyas>
Component: GeneralAssignee: Martin Perina <mperina>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matyáš <pmatyas>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.1.9CC: bugs, lleistne
Target Milestone: ovirt-4.3.2Keywords: Automation, AutomationBlocker, Regression
Target Release: 1.1.10Flags: mperina: ovirt-4.3?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-extension-aaa-jdbc-1.1.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-19 10:05:26 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 Petr Matyáš 2019-03-06 12:08:52 UTC
Description of problem:
When running ovirt-aaa-jdbc-tool expecting a failure I'm getting the failure in stderr, however the return code is 0 which means everything is OK.

Version-Release number of selected component (if applicable):
ovirt-engine-extension-aaa-jdbc-1.1.9-1.el7ev.noarch

How reproducible:
always

Steps to Reproduce:
1. ovirt-aaa-jdbc-tool group-manage useradd grupa --user=nope
2.
3.

Actual results:
return code 0

Expected results:
return code 1 or anything other than 0

Additional info:

Comment 1 Petr Matyáš 2019-03-18 11:47:36 UTC
Verified on ovirt-engine-extension-aaa-jdbc-1.1.10-1.el7ev.noarch

Comment 2 Sandro Bonazzola 2019-03-19 10:05:26 UTC
This bugzilla is included in oVirt 4.3.2 release, published on March 19th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.