Bug 847399

Summary: changes needed around admin users
Product: [Retired] CloudForms Cloud Engine Reporter: Dave Johnson <dajohnso>
Component: aeolus-configureAssignee: John Eckersberg <jeckersb>
Status: CLOSED ERRATA QA Contact: Rehana <aeolus-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.1.0CC: cpelland, dmacpher, jeckersb, jlabocki, jlaska, juwu, morazi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: relnotes-backport
Fixed In Version: Doc Type: Release Note
Doc Text:
Temporary admin users were not properly deleted in some cases. This prevents aeolus-configure from creating the default admin user. This fix: * creates the default admin user before the temporary admin user * deletes any temporary admin users based upon a username pattern aeolus-configure now creates the default admin user without failure.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 15:16:00 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:

Description Dave Johnson 2012-08-10 21:01:20 UTC
Description of problem:
==================================
Came across a issue where configure was not creating the site_admin default user.  I pointed eck to the system and he determined that this was because a temporary site admin was already in the database (which was left behind from a previous configure run for some other reason).  

There was some discussion on forcing the site_admin user creation up front on a configure run but this would not necessarily fix the issue when a stale temp-admin has not been cleaned up appropriately.

In addition, it was also discussed that if we appropriately update dc:destroy_user to clean the temp admin users up and address the ordering, the problem should be solved.


Version-Release number of selected component (if applicable):
aeolus-configure-2.8.0-0.20120806120023git5271be7.fc16.noarch

Comment 2 John Eckersberg 2012-08-16 14:36:53 UTC
MODIFIED on 1.1

Comment 4 John Eckersberg 2012-08-21 20:04:35 UTC
*** Bug 850536 has been marked as a duplicate of this bug. ***

Comment 5 Dave Johnson 2012-09-17 17:21:00 UTC
good to go using CFCE v1.1 2012-09-14.5 puddle

Comment 6 Dave Johnson 2012-09-25 19:19:14 UTC
Just in case this is hit in v1.0.1... the workaround is running these two commands from /usr/share/aeolus-conductor dir

RAILS_ENV=production rake dc:create_user[admin,password,root,Administrator,]

RAILS_ENV=production rake dc:site_admin[admin]

Comment 10 errata-xmlrpc 2012-12-04 15:16:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHEA-2012-1516.html