Bug 719031

Summary: Issue/Errors when initially configuring RHEV
Product: [Retired] CloudForms Cloud Engine Reporter: Steve Reichard <sreichar>
Component: aeolus-configureAssignee: Mike Orazi <morazi>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.3.1CC: dajohnso, matt.wagner, scollier, ssachdev, vvaldez
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-07 21:53:17 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 Steve Reichard 2011-07-05 14:30:40 UTC
Description of problem:

After installing the aeolus software onto a newly install system, but prior to running aeolus-configure, I have added the RHEV parameters and class to /etc/aeolus-configure/node/default_*.

During the initial aeolus-configure - some warnings and errors are seen. The deltacloud driver for rhevm  was running. Upon looking into the GUI the provider and hardware profile were not listed.

After re-running aeolus-configure, these elements were there.

output from initial aeolus-configure:

 notice: /File[/var/log/deltacloud-rhevm]/ensure: created
notice: /Stage[main]/Aeolus::Conductor/Selinux::Mode[permissive]/Exec[set_selinux_permissive]/returns: executed successfully
notice: /File[/etc/condor/config.d/10deltacloud.config]/ensure: defined content as '{md5}f8266a8f5eba4717579d5e14edee0a74'
notice: /Stage[main]/Aeolus::Conductor/Service[condor]/ensure: ensure changed 'stopped' to 'running'
notice: /File[/etc/rhevm.json]/ensure: defined content as '{md5}a078c2e44774f7d5cce10c9b7b9d4f3a'
notice: /File[/etc/sysconfig/solr]/ensure: defined content as '{md5}87438b964e50cee40f06c06b766e77ef'
notice: /File[/etc/init.d/solr]/ensure: defined content as '{md5}a1d6e9b0cf6877ebf273a429f63b1956'
notice: /File[/etc/iwhd/conf.js]/content: content changed '{md5}6461854aa20f8ccdc341cbe6e26887b6' to '{md5}f3332fcea20c529b77b300492ed20d1b'
notice: /File[/etc/iwhd/conf.js]/mode: mode changed '644' to '755'
notice: /Stage[main]/Aeolus/Yumrepo[aeolus_arch]/descr: descr changed '' to 'aeolus_arch'
notice: /Stage[main]/Aeolus/Yumrepo[aeolus_arch]/baseurl: baseurl changed '' to 'http://repos.fedorapeople.org/repos/aeolus/packages/rhel-6/$basearch'
notice: /Stage[main]/Aeolus/Yumrepo[aeolus_arch]/enabled: enabled changed '' to '0'
notice: /Stage[main]/Aeolus/Yumrepo[aeolus_arch]/gpgcheck: gpgcheck changed '' to '0'
notice: /File[/etc/qpidd.conf]/content: content changed '{md5}9536dca919c71073ef0b836e84a66663' to '{md5}3b762fe02ab4c355304d933bad24aee0'
notice: /Stage[main]/Aeolus::Image-factory/Service[qpidd]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor/Service[aeolus-connector]/ensure: ensure changed 'stopped' to 'running'
notice: /File[/data]/ensure: created
notice: /File[/data/db]/ensure: created
notice: /Stage[main]/Aeolus::Iwhd/Service[mongod]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Postgres::Server/Exec[pginitdb]/returns: executed successfully
notice: /File[/var/lib/pgsql/data/pg_hba.conf]/content: content changed '{md5}75d10aa75d5abb0893682de8622f3061' to '{md5}2d3f1f2e30c9b188961b1acd3ade3b8b'
notice: /File[/var/lib/pgsql/data/pg_hba.conf]/owner: owner changed 'postgres' to 'root'
notice: /File[/var/lib/pgsql/data/pg_hba.conf]/group: group changed 'postgres' to 'root'
notice: /File[/var/lib/pgsql/data/pg_hba.conf]/mode: mode changed '600' to '644'
notice: /File[/var/lib/pgsql/data/pg_hba.conf]/seluser: seluser changed 'unconfined_u' to 'system_u'
notice: /Stage[main]/Postgres::Server/Service[postgresql]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Postgres::Server/Service[postgresql]: Triggered 'refresh' from 6 events
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: (in /usr/share/aeolus-conductor)
notice: /Stage[main]/Aeolus::Conductor/Rails::Create::Db[create_aeolus_database]/Exec[create_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Service[solr]/ensure: ensure changed 'stopped' to 'running'
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: (in /usr/share/aeolus-conductor)
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::Conductor::Seed_data/Aeolus::Site_admin[admin]/Exec[create_site_admin_user]/returns: (in /usr/share/aeolus-conductor)
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Site_admin[admin]/Exec[create_site_admin_user]/returns: User admin registered
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Site_admin[admin]/Exec[create_site_admin_user]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Site_admin[admin]/Exec[grant_site_admin_privs]/returns: (in /usr/share/aeolus-conductor)
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Site_admin[admin]/Exec[grant_site_admin_privs]/returns: Granting administrator privileges for admin...
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Site_admin[admin]/Exec[grant_site_admin_privs]/returns: executed successfully
notice: /File[/etc/init.d/deltacloud-mock]/ensure: defined content as '{md5}91f7a7b75548184be3bc143f11152ad2'
notice: /File[/var/log/deltacloud-ec2-us-east-1]/ensure: created
notice: /File[/var/log/deltacloud-mock]/ensure: created
notice: /File[/etc/init.d/deltacloud-ec2-us-east-1]/ensure: defined content as '{md5}d8e1ef85277e52a647815e3177766704'
notice: /File[/etc/init.d/deltacloud-ec2-us-west-1]/ensure: defined content as '{md5}d52f8ab18e5fec3d847c2ec754409857'
notice: /File[/var/log/deltacloud-ec2-us-west-1]/ensure: created
notice: /Stage[main]/Aeolus::Conductor/Exec[build_solr_index]/returns: (in /usr/share/aeolus-conductor)
notice: /Stage[main]/Aeolus::Conductor/Exec[build_solr_index]/returns: executed successfully
notice: /Stage[main]/Aeolus::Image-factory/File[/var/tmp/imagefactory-mock]/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/Service[conductor-dbomatic]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor/Service[aeolus-conductor]/ensure: ensure changed 'stopped' to 'running'
err: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Conductor::Hwp[hwp1]/Web_request[hwp-hwp1]/post: change from  to https://localhost/conductor/hardware_profiles failed: An exception was raised when invoking web request: Invalid HTTP Return Code: 404, 
                          was expecting one of 200
err: /Stage[main]/Aeolus::Rhevm/Aeolus::Conductor::Hwp[rhevm-hwp]/Web_request[hwp-rhevm-hwp]/post: change from  to https://localhost/conductor/hardware_profiles failed: An exception was raised when invoking web request: Invalid HTTP Return Code: 404, 
                          was expecting one of 200
notice: /File[/etc/httpd/conf.d/aeolus-conductor.conf]/content: content changed '{md5}f1048c6a2c764a670e2f75c4edcd3f9a' to '{md5}0e80e7988b2150b134673b6f9be55c04'
notice: /Stage[main]/Apache/Exec[reload-apache]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Aeolus::Conductor/Service[conductor-delayed_job]/ensure: ensure changed 'stopped' to 'running'
notice: /File[/etc/init.d/deltacloud-rhevm]/ensure: defined content as '{md5}0526e8ab2a5fa93f757e41ef3c6fed0e'
notice: /Stage[main]/Aeolus/Yumrepo[aeolus_noarch]/descr: descr changed '' to 'aeolus_noarch'
notice: /Stage[main]/Aeolus/Yumrepo[aeolus_noarch]/baseurl: baseurl changed '' to 'http://repos.fedorapeople.org/repos/aeolus/packages/rhel-6/noarch'
notice: /Stage[main]/Aeolus/Yumrepo[aeolus_noarch]/enabled: enabled changed '' to '0'
notice: /Stage[main]/Aeolus/Yumrepo[aeolus_noarch]/gpgcheck: gpgcheck changed '' to '0'
notice: /Stage[main]/Aeolus::Iwhd/Service[iwhd]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Iwhd/Exec[iwhd_startup_pause]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[mock]/Aeolus::Deltacloud[mock]/Service[deltacloud-mock]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[mock]/Aeolus::Conductor::Provider[mock]/Web_request[provider-mock]/post: post changed '' to 'https://localhost/conductor/providers'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[ec2-us-east-1]/Aeolus::Deltacloud[ec2-us-east-1]/Service[deltacloud-ec2-us-east-1]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[ec2-us-east-1]/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::Rhevm/Aeolus::Deltacloud[rhevm]/Service[deltacloud-rhevm]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Rhevm/Aeolus::Conductor::Provider[rhevm]/Web_request[provider-rhevm]: Dependency Web_request[hwp-rhevm-hwp] has failures: true
warning: /Stage[main]/Aeolus::Rhevm/Aeolus::Conductor::Provider[rhevm]/Web_request[provider-rhevm]: Skipping because of failed dependencies
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[ec2-us-west-1]/Aeolus::Deltacloud[ec2-us-west-1]/Service[deltacloud-ec2-us-west-1]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[ec2-us-west-1]/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::Image-factory/Service[imagefactory]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: 
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: curl: (7) couldn't connect to host
err: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: change from notrun to 0 failed: /usr/bin/curl -X PUT http://localhost:9090/templates returned 7 instead of one of [0] at /usr/share/aeolus-configure/modules/aeolus/manifests/iwhd.pp:55
notice: /File[/mnt/rhevm-nfs]/ensure: created
notice: /Stage[main]/Aeolus::Rhevm/Mount[/mnt/rhevm-nfs]/ensure: defined 'ensure' as 'mounted'
notice: /Stage[main]/Aeolus::Rhevm/Mount[/mnt/rhevm-nfs]: Triggered 'refresh' from 1 events
notice: /File[/etc/ntp/step-tickers]/content: content changed '{md5}32fdc5cdf3f181e7b6987410cf607d15' to '{md5}2dfb9420ebf32c7d97f86526fe6c21e8'
notice: /File[/etc/ntp.conf]/content: content changed '{md5}1952d22ad0d74d19bc47a0b51031cd29' to '{md5}2dfb9420ebf32c7d97f86526fe6c21e8'
notice: /Stage[main]/Ntp::Client/Service[ntpd]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Ntp::Client/Service[ntpd]: Triggered 'refresh' from 2 events
notice: Finished catalog run in 69.43 seconds


Output from second aeolus-configure:

notice: /Stage[main]/Apache/Exec[permit-http-networking]/returns: executed successfully
notice: /File[/data]/seltype: seltype changed 'etc_runtime_t' to 'default_t'
notice: /Stage[main]/Aeolus::Iwhd/Service[iwhd]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns:                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0]/Exec[create-bucket-aeolus]/returns: 
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: executed successfully
notice: /Stage[main]/Aeolus::Rhevm/Aeolus::Deltacloud[rhevm]/Service[deltacloud-rhevm]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor/Selinux::Mode[permissive]/Exec[set_selinux_permissive]/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: (in /usr/share/aeolus-conductor)
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/Exec[build_solr_index]/returns: (in /usr/share/aeolus-conductor)
notice: /Stage[main]/Aeolus::Conductor/Exec[build_solr_index]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[mock]/Aeolus::Deltacloud[mock]/Service[deltacloud-mock]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[ec2-us-east-1]/Aeolus::Deltacloud[ec2-us-east-1]/Service[deltacloud-ec2-us-east-1]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[ec2-us-west-1]/Aeolus::Deltacloud[ec2-us-west-1]/Service[deltacloud-ec2-us-west-1]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[ec2-us-west-1]/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::Rhevm/Aeolus::Conductor::Hwp[rhevm-hwp]/Web_request[hwp-rhevm-hwp]/post: post changed '' to 'https://localhost/conductor/hardware_profiles'
notice: /Stage[main]/Aeolus::Rhevm/Aeolus::Conductor::Provider[rhevm]/Web_request[provider-rhevm]/post: post changed '' to 'https://localhost/conductor/providers'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Conductor::Hwp[hwp1]/Web_request[hwp-hwp1]/post: post changed '' to 'https://localhost/conductor/hardware_profiles'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[mock]/Aeolus::Conductor::Provider[mock]/Web_request[provider-mock]/post: post changed '' to 'https://localhost/conductor/providers'
notice: /Stage[main]/Aeolus::Conductor::Seed_data/Aeolus::Provider[ec2-us-east-1]/Aeolus::Conductor::Provider[ec2-us-east-1]/Web_request[provider-ec2-us-east-1]/post: post changed '' to 'https://localhost/conductor/providers'
notice: Finished catalog run in 12.89 seconds



Difference from original /etc/aeolus-configure/node/default-c*

[root@cf-aeolus ~]# cd /etc/aeolus-configure/nodes/
[root@cf-aeolus nodes]# ls
default_cleanup  default_configure  iwhd_cleanup  iwhd_configure  orig  README  rhevm_cleanup  rhevm_configure
[root@cf-aeolus nodes]# diff default_configure orig/default_configure 
19,25d18
<   rhevm_nfs_server: refarch.cloud.lab.eng.bos.redhat.com	
<   rhevm_nfs_export: /pub/projects/cloudforms/nfs_exports/export
<   rhevm_nfs_mount_point: /mnt/rhevm-nfs
<   rhevm_deltacloud_port: 3005
<   rhevm_deltacloud_username: Administrator@CF-RHEVM
<   rhevm_deltacloud_password: 100yard-
<   rhevm_deltacloud_powershell_url: https://cf-rhevm.cloud.lab.eng.bos.redhat.com:8543/rhevm-api-powershell
30d22
< - aeolus::rhevm
[root@cf-aeolus nodes]# diff default_cleanup orig/default_cleanup 
12,14d11
<   rhevm_nfs_server: refarch.cloud.lab.eng.bos.redhat.com	
<   rhevm_nfs_export: /pub/projects/cloudforms/nfs_exports/export
<   rhevm_nfs_mount_point: /mnt/rhevm-nfs
20d16
< - aeolus::rhevm::disabled
[root@cf-aeolus nodes]# 



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



Red Hat Enterprise Linux Server release 6.1 (Santiago)
Linux cf-aeolus.cloud.lab.eng.bos.redhat.com 2.6.32-131.4.1.el6.x86_64 #1 SMP Fri Jun 10 10:54:26 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
postgresql-8.4.7-2.el6.x86_64
mongodb-1.6.4-3.el6_0.x86_64
euca2ools-1.3.1-4.el6_0.noarch
package gsoap is not installed
ruby-1.8.7.299-7.el6_1.1.x86_64
rubygems-1.3.7-1.el6.noarch
deltacloud-core-0.3.9999-1308927004.el6.noarch
rubygem-deltacloud-client-0.3.1-1.el6.noarch
libdeltacloud-0.9-1.el6.x86_64
hail-0.8-0.2.gf9c5b967.el6_0.x86_64
puppet-2.6.6-1.el6_0.noarch
aeolus-configure-2.0.1-0.el6.20110628141215gitb8aaf85.noarch
condor-7.6.0-5dcloud.el6.x86_64
iwhd-0.96.1.9e86-1.el6.x86_64
rubygem-image_factory_console-0.4.0-1.el6.20110701204941gitd66e27c.noarch
rubygem-image_factory_connector-0.0.3-1.el6.20110701204941gitd66e27c.noarch
imagefactory-0.2.2-1.el6.noarch
aeolus-conductor-daemons-0.3.0-0.el6.20110701204941gitd66e27c.noarch
aeolus-conductor-0.3.0-0.el6.20110701204941gitd66e27c.noarch





How reproducible:

So far, each of the 2 times installed

Steps to Reproduce:
see above.
  
Actual results:


Expected results:


Additional info:

Comment 1 Steve Reichard 2011-07-06 15:15:32 UTC
Not seen on the fresh install on 7/6 - 
 - no errors in the config
 - did not need to run aeolous-config for the rhevm provider

Comment 2 Steve Reichard 2011-07-07 21:53:17 UTC
Clean after another complete build - no sure how it was addressed but it appears it is no longer an issue

Comment 3 wes hayutin 2011-12-08 14:02:13 UTC
perm close