Bug 847373 - configure cannot create admin/temp-admin users
Summary: configure cannot create admin/temp-admin users
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-configure
Version: 1.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
Assignee: John Eckersberg
QA Contact: Rehana
URL:
Whiteboard:
: 847724 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-10 18:50 UTC by Dave Johnson
Modified: 2012-12-04 15:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Earlier versions of aeolus-configure reported failure when creating a temporary user. This issue is fixed in the latest version of aeolus-configure. aeolus-configure now creates a temporary user successfully.
Clone Of:
Environment:
Last Closed: 2012-12-04 15:15:55 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:1516 0 normal SHIPPED_LIVE CloudForms Cloud Engine 1.1 update 2012-12-04 19:51:45 UTC

Description Dave Johnson 2012-08-10 18:50:02 UTC
Description of problem:
============================
Installing latest configure rpm shows issues around creating admin users that ultimately cause configure to 'skip because of failed dependencies'

err: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Temp_admin[temporary-administrative-user-d1a205bb2c4cd36e06fc234c2bcf013a6aee6bd7f922e1a2]/Exec[create_temp_admin]/returns: change from notrun to 0 failed: /usr/bin/rake dc:create_user[temporary-administrative-user-d1a205bb2c4cd36e06fc234c2bcf013a6aee6bd7f922e1a2,8cdad7285e9466c9b6e99d41f20c5f8069f650e38d5533cf,'temp-admin','temp','admin'] returned 1 instead of one of [0] at /usr/share/aeolus-configure/modules/aeolus/manifests/conductor/temp_admin.pp:7
notice: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Temp_admin[temporary-administrative-user-d1a205bb2c4cd36e06fc234c2bcf013a6aee6bd7f922e1a2]/Exec[grant_temp_admin_privs]: Dependency Exec[create_temp_admin] has failures: true
warning: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Temp_admin[temporary-administrative-user-d1a205bb2c4cd36e06fc234c2bcf013a6aee6bd7f922e1a2]/Exec[grant_temp_admin_privs]: Skipping because of failed dependencies
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: rake aborted!
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: undefined method `find' for nil:NilClass
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: 
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: Tasks: TOP => dc:create_user
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: (See full trace by running task with --trace)
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: Using gem require instead of bundler
err: /Stage[main]/Aeolus::Conductor/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: change from notrun to 0 failed: /usr/bin/rake dc:create_user[admin,password,root,Administrator,] returned 1 instead of one of [0] at /usr/share/aeolus-configure/modules/aeolus/manifests/conductor/site_admin.pp:9
notice: /Stage[main]/Aeolus::Conductor/Aeolus::Conductor::Site_admin[admin]/Exec[grant_site_admin_privs]: Dependency Exec[create_site_admin_user] has failures: true
warning: /Stage[main]/Aeolus::Conductor/Aeolus::Conductor::Site_admin[admin]/Exec[grant_site_admin_privs]: Skipping because of failed dependencies


Version-Release number of selected component (if applicable):
aeolus-all-0.13.0-0.20120810160009gite0b30a6.fc16.noarch
aeolus-conductor-0.13.0-0.20120810160009gite0b30a6.fc16.noarch
aeolus-conductor-daemons-0.13.0-0.20120810160009gite0b30a6.fc16.noarch
aeolus-conductor-doc-0.13.0-0.20120810160009gite0b30a6.fc16.noarch
aeolus-configure-2.8.0-0.20120810120024git3dad5e9.fc16.noarch
rubygem-aeolus-cli-0.7.0-0.20120810120025gitd64d64f.fc16.noarch
rubygem-aeolus-image-0.6.0-0.20120810120029git25b7466.fc16.noarch



How reproducible:
100%

Steps to Reproduce:
1.  yum install aeolus-all
2.  aeolus-configure -p mock,ec2

Comment 1 pushpesh sharma 2012-08-13 13:55:36 UTC
*** Bug 847724 has been marked as a duplicate of this bug. ***

Comment 2 Hugh Brock 2012-08-14 11:53:48 UTC
Appears this is a test blocker, Eck. Let's get it fixed today if possible.

Comment 3 John Eckersberg 2012-08-14 14:13:26 UTC
This should be fixed with latest master of conductor.  Are you building from master or testing against a nightly repo somewhere?

Also, this bug should only be on master, and not on the product.

Comment 4 Dave Johnson 2012-08-14 15:13:07 UTC
This bug appears to be fixed using last night's (20120813180027gitb54f2b7) and early this morning's rpms (20120814040025gitb54f2b7)

Comment 5 pushpesh sharma 2012-08-16 11:37:06 UTC
possibel side -effect of the fix might be 

https://bugzilla.redhat.com/show_bug.cgi?id=848755

Comment 7 Dave Johnson 2012-09-17 17:07:52 UTC
Good to go using 2012-09-14.5 puddle

Comment 9 errata-xmlrpc 2012-12-04 15:15:55 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


Note You need to log in before you can comment on or make changes to this bug.