Bug 681977

Summary: ruby deprecation warning with aeolus-configure
Product: [Retired] CloudForms Cloud Engine Reporter: Dave Johnson <dajohnso>
Component: aeolus-conductorAssignee: Mo Morsi <mmorsi>
Status: CLOSED CURRENTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: high    
Version: 0.3.1CC: deltacloud-maint, whayutin
Target Milestone: alphaKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-31 20:44:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 684278    
Attachments:
Description Flags
full install text from yum through aeolus-configure none

Description Dave Johnson 2011-03-03 18:40:28 UTC
Created attachment 482133 [details]
full install text from yum through aeolus-configure

Running aeolus-configure you see a bunch of these errors

DEPRECATION WARNING: metaclass is deprecated and will be removed from Rails 2.3 (use singleton_class instead). 

Installed (3/3/2011):
  aeolus-conductor.x86_64 0:0.0.3-0.fc14        
  aeolus-conductor-daemons.x86_64 0:0.0.3-0.fc14        
  aeolus-conductor-doc.x86_64 0:0.0.3-0.fc14        
  aeolus-configure.noarch 0:2.0.0-3.fc14

Comment 1 wes hayutin 2011-03-11 16:58:33 UTC
adding to the ce-beta blocking tracker

Comment 2 Mo Morsi 2011-03-31 20:44:57 UTC
This is the issue and fix in puppet:

https://bugzilla.redhat.com/show_bug.cgi?id=616519

https://github.com/puppetlabs/puppet/commit/8faa4663a4d79de47886755693f5539d531bd1f8

I have verified it is fixed w/ puppet 2.6.6-1 which has been submitted as an update to all versions of Fedora. I have also verified configure works after puppet 2.6.6.

We can also patch the current version of puppet to resolve the issue.

http://projects.morsi.org/polisher/sources/puppet-0.25-gsub-metaclass-with-singletonglass.patch

Comment 3 Dave Johnson 2011-04-18 13:29:31 UTC
Brought up AMI from 2011-04-15 (ami-18fa0671) and ran aeolus-cleanup and aeolus-configure, no deprecation errors.

[root@ip-10-245-207-112 ~]# rpm -qa | grep aeolus
aeolus-conductor-doc-0.0.3-6.el6.x86_64
aeolus-conductor-0.0.3-6.el6.x86_64
aeolus-conductor-daemons-0.0.3-6.el6.x86_64
aeolus-configure-2.0.0-8.el6.noarch


[root@ip-10-245-207-112 ~]# aeolus-cleanup
notice: /Stage[main]//Aeolus::Deltacloud::Disabled[mock]/Service[deltacloud-mock]/ensure: ensure changed 'running' to 'stopped'
notice: /File[/etc/init.d/deltacloud-mock]/ensure: removed
notice: /Stage[main]//Aeolus::Deltacloud::Disabled[ec2-us-west-1]/Service[deltacloud-ec2-us-west-1]/ensure: ensure changed 'running' to 'stopped'
notice: /File[/etc/init.d/deltacloud-ec2-us-west-1]/ensure: removed
notice: /Stage[main]/Aeolus::Image-factory::Disabled/Exec[remove_aeolus_templates]/returns: executed successfully
notice: /Stage[main]/Aeolus::Iwhd::Disabled/Service[iwhd]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Iwhd::Disabled/Service[mongod]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]//Aeolus::Deltacloud::Disabled[ec2-us-east-1]/Service[deltacloud-ec2-us-east-1]/ensure: ensure changed 'running' to 'stopped'
notice: /File[/etc/init.d/deltacloud-ec2-us-east-1]/ensure: removed
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[aeolus-conductor]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[solr]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[aeolus-connector]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[conductor-dbomatic]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[conductor-condor_refreshd]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[conductor-delayed_job]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Image-factory::Disabled/Service[imagefactory]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Image-factory::Disabled/Service[qpidd]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[conductor-warehouse_sync]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[httpd]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Service[condor]/ensure: ensure changed 'running' to 'stopped'
notice: /Stage[main]/Aeolus::Conductor::Disabled/Rails::Drop::Db[drop_aeolus_database]/Exec[drop_rails_database]/returns: (in /usr/share/aeolus-conductor)
notice: /Stage[main]/Aeolus::Conductor::Disabled/Rails::Drop::Db[drop_aeolus_database]/Exec[drop_rails_database]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor::Disabled/Postgres::User[aeolus]/Exec[drop_aeolus_postgres_user]/returns: executed successfully
notice: /File[/var/lib/aeolus-conductor]/ensure: removed
notice: Finished catalog run in 30.41 seconds
[root@ip-10-245-207-112 ~]# aeolus-configure
notice: /Stage[main]/Apache/Exec[permit-http-networking]/returns: executed successfully
notice: /Stage[main]/Aeolus::Image-factory/Service[qpidd]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor/Service[condor]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Apache/Service[httpd]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor/Exec[dc_prepare_repos]/returns: (in /usr/share/aeolus-conductor)
notice: /Stage[main]/Aeolus::Conductor/Exec[dc_prepare_repos]/returns: executed successfully
notice: /File[/data]/seltype: seltype changed 'etc_runtime_t' to 'default_t'
notice: /Stage[main]/Aeolus::Iwhd/Service[mongod]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Aeolus::Conductor/Service[aeolus-connector]/ensure: ensure changed 'stopped' to 'running'
notice: /File[/var/lib/aeolus-conductor]/ensure: created
notice: /Stage[main]/Aeolus::Conductor/Selinux::Mode[permissive]/Exec[set_selinux_permissive]/returns: executed successfully
notice: /Stage[main]/Aeolus::Conductor/Postgres::User[aeolus]/Exec[create_aeolus_postgres_user]/returns: executed successfully
<snip>

Comment 4 wes hayutin 2011-08-01 19:57:09 UTC
release pending...

Comment 5 wes hayutin 2011-08-01 19:58:30 UTC
release pending...

Comment 7 wes hayutin 2011-12-08 13:56:13 UTC
closing out old bugs

Comment 8 wes hayutin 2011-12-08 14:09:43 UTC
perm close