Bug 805537 - aeolus-configure -p rhevm fails if the admin password is not the default one
Summary: aeolus-configure -p rhevm fails if the admin password is not the default one
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-configure
Version: 1.0.0
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
Assignee: Mo Morsi
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-21 14:35 UTC by Javier Peña
Modified: 2012-12-04 15:00 UTC (History)
8 users (show)

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.
Clone Of:
Environment:
Last Closed: 2012-12-04 15:00:21 UTC


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 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


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