Bug 747770

Summary: aeolus-configure fails to add providers
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-configureAssignee: Mike Orazi <morazi>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, cpelland, dajohnso, deltacloud-maint, dgao, ricardo.arguello, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: na
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-15 20:43:22 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 wes hayutin 2011-10-21 01:33:38 UTC
Description of problem:

tried w/ mock and ec2 neither are working...


[root@qeblade31 ~]# aeolus-configure -d -v -p mock
Launching aeolus configuration recipe...
info: Applying configuration version '1319074299'
info: FileBucket adding {md5}f111da4c91c205275d84c5567f8e5a63
info: /Stage[main]/Aeolus::Iwhd/File[/etc/init.d/iwhd]: Filebucketed /etc/init.d/iwhd to puppet with sum f111da4c91c205275d84c5567f8e5a63
notice: /Stage[main]/Aeolus::Iwhd/File[/etc/init.d/iwhd]/content: content changed '{md5}f111da4c91c205275d84c5567f8e5a63' to '{md5}0f63e5e09e2bb74a973b6214cdf3c0e8'
info: FileBucket adding {md5}db82fad040af62426e667582f4b486d0
info: /Stage[main]/Aeolus::Conductor/File[/usr/share/aeolus-conductor/config/settings.yml]: Filebucketed /usr/share/aeolus-conductor/config/settings.yml to puppet with sum db82fad040af62426e667582f4b486d0
notice: /Stage[main]/Aeolus::Conductor/File[/usr/share/aeolus-conductor/config/settings.yml]/content: content changed '{md5}db82fad040af62426e667582f4b486d0' to '{md5}3d0cb9a6d7ebdfb68f0f044e3213dab3'
notice: /Stage[main]/Aeolus::Conductor/Rails::Create::Db[create_aeolus_database]/Exec[create_rails_database]/returns: conductor already exists
notice: /Stage[main]/Aeolus::Conductor/Rails::Create::Db[create_aeolus_database]/Exec[create_rails_database]/returns: Using gem require instead of bundler
notice: /Stage[main]/Aeolus::Conductor/Rails::Create::Db[create_aeolus_database]/Exec[create_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Rails::Migrate::Db[migrate_aeolus_database]/Exec[migrate_rails_database]/returns: executed successfully
info: FileBucket adding {md5}0117ec4086fb0ff513b1f08dde556360
info: /Stage[main]/Aeolus::Image-factory/File[/etc/imagefactory/imagefactory.conf]: Filebucketed /etc/imagefactory/imagefactory.conf to puppet with sum 0117ec4086fb0ff513b1f08dde556360
notice: /Stage[main]/Aeolus::Image-factory/File[/etc/imagefactory/imagefactory.conf]/content: content changed '{md5}0117ec4086fb0ff513b1f08dde556360' to '{md5}167f11c7038d26b4a35c62e4415441fb'
notice: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Login[admin]/Web_request[admin-conductor-login]/post: post changed '' to 'https://localhost/conductor/user_session'
notice: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Hwp[hwp1]/Web_request[hwp-hwp1]/post: post changed '' to 'https://localhost/conductor/hardware_profiles'
notice: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
notice: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns:                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0[create-bucket-aeolus]/returns: 
notice: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: executed successfully
notice: /Stage[main]/Aeolus::Deltacloud::Core/Exec[deltacloud-core-startup-wait]/returns: executed successfully
err: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Provider[mock]/Web_request[provider-mock]/post: change from  to https://localhost/conductor/providers failed: An exception was raised when invoking web request: Expecting //html/body//li[text() = 'Provider added.'] in the result
notice: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Provider::Account[mockuser]/Web_request[provider-account-mockuser]: Dependency Web_request[provider-mock] has failures: true
warning: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Provider::Account[mockuser]/Web_request[provider-account-mockuser]: Skipping because of failed dependencies
notice: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Logout[admin]/Web_request[admin-conductor-logout]: Dependency Web_request[provider-mock] has failures: true
warning: /Stage[main]/Aeolus::Profiles::Mock/Aeolus::Conductor::Logout[admin]/Web_request[admin-conductor-logout]: Skipping because of failed dependencies
notice: Finished catalog run in 8.33 seconds

[root@qeblade31 ~]# rpm -qa | grep aeolus
aeolus-conductor-doc-0.5.0-0.20111020141214git1adb135.fc15.noarch
rubygem-aeolus-image-0.1.0-3.20111003170706git8f23238.fc15.noarch
rubygem-aeolus-cli-0.1.0-3.20111003133323git9451323.fc15.noarch
aeolus-all-0.5.0-0.20111020141214git1adb135.fc15.noarch
aeolus-configure-2.2.0-1.20111020103152gitc9b6c03.fc15.noarch
aeolus-conductor-0.5.0-0.20111020141214git1adb135.fc15.noarch
aeolus-conductor-daemons-0.5.0-0.20111020141214git1adb135.fc15.noarch
[root@qeblade31 ~]#

Comment 1 wes hayutin 2011-10-21 14:33:09 UTC

fixed in 
[root@qeblade31 ~]# rpm -qa | grep aeolus
aeolus-conductor-doc-0.5.0-0.20111021031626gita5004c6.fc15.noarch
aeolus-conductor-daemons-0.5.0-0.20111021031626gita5004c6.fc15.noarch
rubygem-aeolus-image-0.1.0-3.20111003170706git8f23238.fc15.noarch
rubygem-aeolus-cli-0.1.0-3.20111003133323git9451323.fc15.noarch
aeolus-all-0.5.0-0.20111021031626gita5004c6.fc15.noarch
aeolus-configure-2.2.0-1.20111020103152gitc9b6c03.fc15.noarch
aeolus-conductor-0.5.0-0.20111021031626gita5004c6.fc15.noarch



[root@qeblade31 ~]# aeolus-configure -d -v -p ec2
Launching aeolus configuration recipe...
info: Applying configuration version '1319121091'
notice: /Stage[main]/Aeolus::Iwhd/File[/var/lib/iwhd]/ensure: created
info: FileBucket adding {md5}c612b4f46943df632c6ed7ccad5f7316
info: /Stage[main]/Aeolus::Iwhd/File[/etc/init.d/iwhd]: Filebucketed /etc/init.d/iwhd to puppet with sum c612b4f46943df632c6ed7ccad5f7316
notice: /Stage[main]/Aeolus::Iwhd/File[/etc/init.d/iwhd]/content: content changed '{md5}c612b4f46943df632c6ed7ccad5f7316' to '{md5}43f9be2d6689b5b4882c44bc8620d9a6'
info: FileBucket adding {md5}2341bfc214454b1b202597f07eb69fed
info: /Stage[main]/Aeolus::Image-factory/File[/etc/imagefactory/imagefactory.conf]: Filebucketed /etc/imagefactory/imagefactory.conf to puppet with sum 2341bfc214454b1b202597f07eb69fed
notice: /Stage[main]/Aeolus::Image-factory/File[/etc/imagefactory/imagefactory.conf]/content: content changed '{md5}2341bfc214454b1b202597f07eb69fed' to '{md5}afc751e8186ec7ee1e0a1891a8913927'
notice: /Stage[main]/Aeolus::Conductor/File[/var/lib/aeolus-conductor]/ensure: created
info: FileBucket adding {md5}f5a32fe527bbe8442100b885dca81f1c
info: /Stage[main]/Aeolus::Conductor/File[/usr/share/aeolus-conductor/config/settings.yml]: Filebucketed /usr/share/aeolus-conductor/config/settings.yml to puppet with sum f5a32fe527bbe8442100b885dca81f1c
notice: /Stage[main]/Aeolus::Conductor/File[/usr/share/aeolus-conductor/config/settings.yml]/content: content changed '{md5}f5a32fe527bbe8442100b885dca81f1c' to '{md5}2d925a4b10cea1dd8af71c63d3ec4fe3'
notice: /Stage[main]/Apache/Service[httpd]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Iwhd/Service[mongod]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Iwhd/Service[iwhd]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns:                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0create-bucket-aeolus]/returns: 
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: executed successfully
notice: /Stage[main]/Aeolus::Image-factory/Service[qpidd]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor/Postgres::User[aeolus]/Exec[create_aeolus_postgres_user]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Rails::Create::Db[create_aeolus_database]/Exec[create_rails_database]/returns: Using gem require instead of bundler
notice: /Stage[main]/Aeolus::Conductor/Rails::Create::Db[create_aeolus_database]/Exec[create_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Rails::Migrate::Db[migrate_aeolus_database]/Exec[migrate_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Rails::Seed::Db[seed_aeolus_database]/Exec[seed_rails_database]/returns: Using gem require instead of bundler
notice: /Stage[main]/Aeolus::Conductor/Rails::Seed::Db[seed_aeolus_database]/Exec[seed_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Rails::Seed::Db[seed_aeolus_database]/File[/var/lib/aeolus-conductor/production.seed]/ensure: created
notice: /Stage[main]/Aeolus::Image-factory/Service[imagefactory]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: Using gem require instead of bundler
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: User admin registered
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Conductor::Site_admin[admin]/Exec[grant_site_admin_privs]/returns: Using gem require instead of bundler
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Conductor::Site_admin[admin]/Exec[grant_site_admin_privs]/returns: Granting administrator privileges for admin...
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Conductor::Site_admin[admin]/Exec[grant_site_admin_privs]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Service[aeolus-conductor]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Conductor::Login[admin]/Web_request[admin-conductor-login]/post: post changed '' to 'https://localhost/conductor/user_session'
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Conductor::Hwp[hwp1]/Web_request[hwp-hwp1]/post: post changed '' to 'https://localhost/conductor/hardware_profiles'
notice: /Stage[main]/Aeolus::Conductor/Service[conductor-dbomatic]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Deltacloud::Core/Service[deltacloud-core]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Deltacloud::Core/Exec[deltacloud-core-startup-wait]/returns: executed successfully
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Conductor::Provider[ec2-us-west-1]/Web_request[provider-ec2-us-west-1]/post: post changed '' to 'https://localhost/conductor/providers'
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Conductor::Provider[ec2-us-east-1]/Web_request[provider-ec2-us-east-1]/post: post changed '' to 'https://localhost/conductor/providers'
notice: /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Conductor::Logout[admin]/Web_request[admin-conductor-logout]/post: post changed '' to 'https://localhost/conductor/logout'
notice: Finished catalog run in 40.03 seconds
[root@qeblade31 ~]#

Comment 4 errata-xmlrpc 2012-05-15 20:43:22 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-0586.html