Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: Using the below config values in the rhevm configuration file causes this error. vi /etc/aeolus-configure/nodes/rhevm : rhevm_nfs_export: /home/dajo/rhevh-export3 rhevm_nfs_mount_point: /mnt/rhevm-nfs rhevm_deltacloud_username: admin@internal rhevm_deltacloud_password: redhat rhevm_deltacloud_provider: https://qeblade28.rhq.lab.eng.bos.redhat.com:8443/api rhevm_push_timeout: 1800 [root@dell-pe2950-1 ~]# aeolus-configure -d -v -p rhevm Launching aeolus configuration recipe... info: Loading facts in oauth Failed to parse template aeolus/rhevm.json: Could not find value for 'rhevm_deltacloud_username' at /usr/share/aeolus-configure/modules/aeolus/manifests/profiles/rhevm.pp:17 on node dell-pe2950-1.rhts.eng.rdu.redhat.com Even after adding value for rhevm_deltacloud_username, this message is displayed. This is observed for vsphere setup also. [root@dell-pe2950-1 ~]# aeolus-configure -d -v -p vsphere Launching aeolus configuration recipe... info: Loading facts in oauth Failed to parse template aeolus/vsphere.json: Could not find value for 'vsphere_deltacloud_provider' at /usr/share/aeolus-configure/modules/aeolus/manifests/profiles/vsphere.pp:19 on node dell-pe2950-1.rhts.eng.rdu.redhat.com [root@dell-pe2950-1 ~]# Additional info: [root@dell-pe2950-1 ~]# rpm -qa | grep aeolus aeolus-conductor-daemons-0.8.0-0.20111222233342gitd98cb57.el6.noarch rubygem-aeolus-image-0.3.0-0.20111222173411gitc13b654.el6.noarch rubygem-aeolus-cli-0.3.0-0.20111222173356git3cd6277.el6.noarch aeolus-all-0.8.0-0.20111222233342gitd98cb57.el6.noarch aeolus-configure-2.5.0-0.20111222173430git17b704a.el6.noarch aeolus-conductor-0.8.0-0.20111222233342gitd98cb57.el6.noarch aeolus-conductor-doc-0.8.0-0.20111222233342gitd98cb57.el6.noarch
In terms of rhevm, you are using the wrong values. Ultimately a better error message is needed stating that the value of rhevm_deltacloud_provider cannot be reached. A change that *may* be related to this scenario just got commit for bug 766697
This is fixed : ==================================================================== cat /etc/aeolus-configure/nodes/vsphere_configure --- parameters: enable_https: true enable_security: false package_provider: rpm # Uncomment and provide values to match your vSphere environment. # Values below are examples. vsphere_deltacloud_provider: 10.16.120.136 vsphere_username: Administrator vsphere_password: R3dhat! vsphere_datastore: datastore1 vsphere_network_name: "VM Network" classes: - aeolus::conductor - aeolus::image-factory - aeolus::iwhd - aeolus::deltacloud::core - aeolus::profiles::vsphere ==================================VSPHERE====================================== [root@sgi-xe270-01 ~]# vi /etc/aeolus-configure/nodes/vsphere_configure [root@sgi-xe270-01 ~]# aeolus-configure -p vsphere Launching aeolus configuration recipe... notice: /File[/etc/ntp.conf]/content: content changed '{md5}9d90841a5f98018c6f1bd1e67dc81ccf' to '{md5}2dfb9420ebf32c7d97f86526fe6c21e8' notice: /Stage[main]/Ntp::Client/Service[ntpd]: Triggered 'refresh' from 1 events notice: /File[/usr/share/aeolus-conductor/config/initializers/secret_token.rb]/content: content changed '{md5}026815e95c4a26a3fb623dc6dcbd42e7' to '{md5}ebaed91193457e5d05d1168d0941132d' notice: /File[/etc/imagefactory/vsphere.json]/ensure: defined content as '{md5}b446c298fe1358b46701dfde6bf261ae' notice: /Stage[main]/Aeolus::Profiles::Vsphere/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: % Total % Received % Xferd Average Speed Time Time Time Current notice: /Stage[main]/Aeolus::Profiles::Vsphere/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0xec[create-bucket-aeolus]/returns: notice: /Stage[main]/Aeolus::Profiles::Vsphere/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 notice: /Stage[main]/Apache/Exec[permit-http-networking]/returns: executed successfully 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 notice: /Stage[main]/Aeolus::Conductor/Service[conductor-dbomatic]/ensure: ensure changed 'stopped' to 'running' notice: /Stage[main]/Aeolus::Profiles::Vsphere/Aeolus::Conductor::Login[admin]/Web_request[admin-conductor-login]/post: post changed '' to 'https://localhost/conductor/user_session' notice: /Stage[main]/Aeolus::Profiles::Vsphere/Aeolus::Conductor::Provider[vsphere]/Web_request[provider-vsphere]/post: post changed '' to 'https://localhost/conductor/providers' notice: /Stage[main]/Aeolus::Profiles::Vsphere/Aeolus::Conductor::Provider::Account[vsphere]/Web_request[provider-account-vsphere]/post: post changed '' to 'https://localhost/conductor/providers/0/provider_accounts' notice: /Stage[main]/Aeolus::Profiles::Vsphere/Aeolus::Conductor::Hwp[hwp1]/Web_request[hwp-hwp1]/post: post changed '' to 'https://localhost/conductor/hardware_profiles' notice: /Stage[main]/Aeolus::Profiles::Vsphere/Aeolus::Conductor::Logout[admin]/Web_request[admin-conductor-logout]/post: post changed '' to 'https://localhost/conductor/logout' notice: Finished catalog run in 28.45 seconds ========================================================================== cat /etc/aeolus-configure/nodes/rhevm_configure --- parameters: enable_https: true enable_security: false package_provider: rpm # Uncomment and provide values to match your RHEV environment. # Values below are examples. rhevm_nfs_server: qeblade26.rhq.lab.eng.bos.redhat.com rhevm_nfs_export: /home/rhevm_export rhevm_nfs_mount_point: /mnt/rhevm-nfs rhevm_deltacloud_username: admin@internal rhevm_deltacloud_password: dog8code rhevm_deltacloud_provider: https://qeblade26.rhq.lab.eng.bos.redhat.com:8443/api rhevm_push_timeout: 1800 classes: - aeolus::conductor - aeolus::image-factory - aeolus::iwhd - aeolus::deltacloud::core - aeolus::profiles::rhevm ===============================RHEV========================================== [root@sgi-xe270-01 ~]# vi /etc/aeolus-configure/nodes/rhevm_configure [root@sgi-xe270-01 ~]# aeolus-configure -p rhevm Launching aeolus configuration recipe... notice: /File[/mnt/rhevm-nfs]/ensure: created notice: /File[/var/lib/aeolus-conductor]/ensure: created notice: /File[/usr/share/aeolus-conductor/config/initializers/secret_token.rb]/content: content changed '{md5}b362653457ba80be62f64694106cfc8d' to '{md5}026815e95c4a26a3fb623dc6dcbd42e7' notice: /File[/etc/imagefactory/rhevm.json]/ensure: defined content as '{md5}faf2e3cfc21f13e45043241337218b17' notice: /Stage[main]/Aeolus::Image-factory/Service[qpidd]/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: /File[/var/lib/iwhd]/ensure: created notice: /Stage[main]/Apache/Exec[permit-http-networking]/returns: executed successfully notice: /Stage[main]/Apache/Service[httpd]/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/Service[conductor-dbomatic]/ensure: ensure changed 'stopped' to 'running' notice: /Stage[main]/Aeolus::Conductor/Service[aeolus-conductor]/ensure: ensure changed 'stopped' to 'running' 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: /File[/var/lib/aeolus-conductor/production.seed]/ensure: created notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: Using gem require instead of bundler notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: User admin registered notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Conductor::Site_admin[admin]/Exec[create_site_admin_user]/returns: executed successfully notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Conductor::Site_admin[admin]/Exec[grant_site_admin_privs]/returns: Using gem require instead of bundler notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Conductor::Site_admin[admin]/Exec[grant_site_admin_privs]/returns: Granting administrator privileges for admin... notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Conductor::Site_admin[admin]/Exec[grant_site_admin_privs]/returns: executed successfully notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Conductor::Login[admin]/Web_request[admin-conductor-login]/post: post changed '' to 'https://localhost/conductor/user_session' notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Conductor::Hwp[hwp1]/Web_request[hwp-hwp1]/post: post changed '' to 'https://localhost/conductor/hardware_profiles' notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Conductor::Provider[rhevm]/Web_request[provider-rhevm]/post: post changed '' to 'https://localhost/conductor/providers' notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Conductor::Provider::Account[rhevm]/Web_request[provider-account-rhevm]/post: post changed '' to 'https://localhost/conductor/providers/0/provider_accounts' notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Conductor::Logout[admin]/Web_request[admin-conductor-logout]/post: post changed '' to 'https://localhost/conductor/logout' notice: /File[/etc/rsyslog.d/aeolus.conf]/ensure: defined content as '{md5}2d45434a072b4f9d1518ce026b92c547' notice: /Stage[main]/Aeolus::Conductor/Service[rsyslog]: Triggered 'refresh' from 1 events notice: /Stage[main]/Aeolus::Profiles::Rhevm/Web_request[rhevm-check-export-path-is-export-type]/get: get changed '' to 'https://qeblade26.rhq.lab.eng.bos.redhat.com:8443/api/storagedomains?search=export' notice: /Stage[main]/Aeolus::Profiles::Rhevm/Mount[/mnt/rhevm-nfs]/ensure: defined 'ensure' as 'mounted' notice: /Stage[main]/Aeolus::Profiles::Rhevm/Mount[/mnt/rhevm-nfs]: Triggered 'refresh' from 1 events 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::Rhevm/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: % Total % Received % Xferd Average Speed Time Time Time Current notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0c[create-bucket-aeolus]/returns: notice: /Stage[main]/Aeolus::Profiles::Rhevm/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: executed successfully notice: /Stage[main]/Aeolus::Image-factory/Service[imagefactory]/ensure: ensure changed 'stopped' to 'running' notice: Finished catalog run in 68.91 seconds ============================================================== Verified in rpm -qa|grep aeolus aeolus-conductor-daemons-0.8.0-0.20111222233342gitd98cb57.el6.noarch aeolus-configserver-0.4.5-1.el6.noarch rubygem-aeolus-image-0.3.0-0.20111222173411gitc13b654.el6.noarch rubygem-aeolus-cli-0.3.0-0.20111222173356git3cd6277.el6.noarch aeolus-all-0.8.0-0.20111222233342gitd98cb57.el6.noarch aeolus-conductor-0.8.0-0.20111222233342gitd98cb57.el6.noarch aeolus-configure-2.5.0-0.20120104154940git196b80d.el6.noarch aeolus-conductor-doc-0.8.0-0.20111222233342gitd98cb57.el6.noarch
bugs in verified or on_qa moving off tracker