Bug 1434084

Summary: Stack trace when running fix_auth
Product: Red Hat CloudForms Management Engine Reporter: Keenan Brock <kbrock>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED CURRENTRELEASE QA Contact: luke couzens <lcouzens>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: abellott, cpelland, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1434158 (view as bug list) Environment:
Last Closed: 2017-06-12 16:17:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1434158    

Description Keenan Brock 2017-03-20 17:00:40 UTC
Description of problem:

Sometimes automate scripts written by customers put Drb and other invalid objects into the database.

This causes stack traces when updating passwords using the fix_auth. tool.

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

5.6

How reproducible:

It is tricky to get this data into the database, but once it is in there, we are not able to get out of the situation.


Steps to Reproduce:
1. Write an automate script that puts a drb or Vm object into tasks
2. Run fix_auth.rb
3.

Actual results:

Stacktrace that does not tell you how to fix it.

Expected results:

Optimally, the invalid objects would just display a warning.
Realistically, display an error message that gives users enough information to fix the error.

Additional info:

Similar problems with
- https://bugzilla.redhat.com/show_bug.cgi?id=1323258

Comment 2 Satoe Imaishi 2017-03-20 17:29:46 UTC
PR: https://github.com/ManageIQ/manageiq/pull/13209

Comment 4 luke couzens 2017-04-24 12:12:18 UTC
Verified in 5.8.0.11