Bug 805537

Summary: aeolus-configure -p rhevm fails if the admin password is not the default one
Product: [Retired] CloudForms Cloud Engine Reporter: Javier Peña <javier.pena>
Component: aeolus-configureAssignee: Mo Morsi <mmorsi>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, cpelland, deltacloud-maint, dmacpher, juwu, morazi, psharma, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
If the admin password for Conductor was not the default one, any execution of 'aeolus-configure -p rhevm' fails. This bug fix updates aeolus-configure so that configuration succeeds even if the admin password is not the default one.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 15:00:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Javier Peña 2012-03-21 14:35:33 UTC
Description of problem:
If the admin password for Conductor is not the default one, any execution of aeolus-configure -p rhevm fails. 

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


How reproducible:
Always

Steps to Reproduce:
1. yum install aeolus-all
2. aeolus-configure   
3. Login to the web portal, change the admin password
4. Setup the rhevm provider in /etc/aeolus-configure/nodes/rhevm_configure   
5. aeolus-configure -p rhevm

Actual results:
Errors during configuration. Need to set the admin password back to the default one in order to get the script to finish.

Expected results:
Configuration succeeds even if the admin password is not the default. Script requests password if needed.

Additional info:

Comment 1 Mo Morsi 2012-03-23 13:54:10 UTC
Patch sent to list

https://fedorahosted.org/pipermail/aeolus-devel/2012-March/009675.html

Comment 4 Mike Orazi 2012-09-07 20:38:24 UTC
Actually on second look, this should be addressed because all the providers are created via a temporary admin user to avoid this very issue.

Comment 6 pushpesh sharma 2012-09-21 10:05:31 UTC
1.Change the default admin password from 'password' to 'passwd'
2.aeolus-configure -p rhevm

No  error observed rhevm provider is succesfully configured and account added to it.

Verified on :-

[root@dhcp201-113 ~]# rpm -qa|grep aeolus
rubygem-aeolus-image-0.3.0-12.el6.noarch
aeolus-all-0.13.8-1.el6cf.noarch
aeolus-conductor-0.13.8-1.el6cf.noarch
rubygem-aeolus-cli-0.7.1-1.el6cf.noarch
aeolus-configure-2.8.6-1.el6cf.noarch
aeolus-conductor-daemons-0.13.8-1.el6cf.noarch
aeolus-conductor-doc-0.13.8-1.el6cf.noarch

Comment 7 pushpesh sharma 2012-09-21 10:06:33 UTC
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Temp_admin[temporary-administrative-user-9464a716f419d440d3c076ed253ebb3a75e6f5e1479a4c72]/Exec[create_temp_admin]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Temp_admin[temporary-administrative-user-9464a716f419d440d3c076ed253ebb3a75e6f5e1479a4c72]/Exec[grant_temp_admin_privs]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Login[temporary-administrative-user-9464a716f419d440d3c076ed253ebb3a75e6f5e1479a4c72]/Web_request[temporary-administrative-user-9464a716f419d440d3c076ed253ebb3a75e6f5e1479a4c72-conductor-login]/post: post changed '' to 'https://localhost/conductor/user_session'
notice: /Stage[main]/Aeolus::Profiles::Common/Aeolus::Conductor::Login[temporary-administrative-user-9464a716f419d440d3c076ed253ebb3a75e6f5e1479a4c72]/Exec[decrement_login_counter]/returns: executed successfully
notice: /Stag

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