Bug 673049

Summary: `db-control gather-stats` returns code 1
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: UpgradesAssignee: Miroslav Suchý <msuchy>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 540CC: msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-23 12:41:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 462714    

Description Jan Hutař 2011-01-27 07:30:39 UTC
Description of problem:
I'm running empty Satellite 5.3.0 Embedded Oracle upgrade to 5.4.0 and in step "Upgrade 3. step: Convert the database schema" I lunch gathering stats in DB. Script ends without reported error, but with exit code 1.


Version-Release number of selected component (if applicable):
Satellite 5.3.0 + erratas upgraded to 5.4.0


How reproducible:
always


Steps to Reproduce:
1. su - oracle -c 'whoami; db-control gather-stats'


Actual results:
oracle
Gathering statistics...
WARNING: this may be a very slow process.
done.
:: [   FAIL   ] :: Running 'su - oracle -c 'whoami; db-control gather-stats'' (Expected 0, got 1)


Expected results:
Should return 0

Comment 2 Miroslav Suchý 2012-03-23 12:41:34 UTC
Fixed in 5.4.1 in bug 617305.

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