Bug 910796

Summary: taskcleaner.sh utility returns always 0 as return code
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavel Stehlik <pstehlik>
Component: ovirt-engineAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, dyasny, iheim, lpeer, Rhev-m-bugs, yeylon, ykaul, yzaslavs
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: sf9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 917401    

Description Pavel Stehlik 2013-02-13 15:22:01 UTC
Description of problem:
/usr/share/ovirt-engine/dbscripts/taskcleaner.sh -u imaginaryuser;echo $? 
Password for user imaginaryuser: 
psql: FATAL:  password authentication failed for user "imaginaryuser"
0

I'm not able to get different code than 0 from any arg combination :(

Version-Release number of selected component (if applicable):
sf6

How reproducible:
100%

Steps to Reproduce:
1. see above
2.
3.
  
Actual results:
RC is always 0

Expected results:
in case of failure to get adequate RC

Additional info:

Comment 2 Artyom 2013-04-28 11:56:37 UTC
Verified on version sf13, after reproducing steps below, recieved appropriate message psql: FATAL: password authenfication failed for user "imaginaryuser"

Comment 3 Itamar Heim 2013-06-11 09:09:25 UTC
3.2 has been released

Comment 4 Itamar Heim 2013-06-11 09:09:29 UTC
3.2 has been released

Comment 5 Itamar Heim 2013-06-11 09:09:29 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 09:37:30 UTC
3.2 has been released