Bug 744840

Summary: aeolus-configserver needs ruby-debug to start
Product: [Retired] CloudForms Cloud Engine Reporter: dgao
Component: aeolus-configserverAssignee: Greg Blomquist <gblomqui>
Status: CLOSED ERRATA QA Contact: dgao
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, deltacloud-maint, dgao
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: 2012-05-15 20:50:10 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 dgao 2011-10-10 16:00:09 UTC
An install of aeolus-configserver from yum is missing ruby-debug in its spec file. Without this pkg, upon running "service aeolus-configserver start" will result in:

--thin.log--

>> Writing PID to /var/run/aeolus-configserver/thin.pid
>> Changing process privilege to aeolus:aeolus
>> Exiting!
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- ruby-debug (LoadError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from ./configserver.rb:5
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from config.ru:1
        from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/builder.rb:51:in `instance_eval'
        from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/builder.rb:51:in `initialize'
        from config.ru:1:in `new'
        from config.ru:1

Comment 2 Greg Blomquist 2011-10-13 15:30:31 UTC
Bad oops...

Removed the "require 'ruby-debug'" line from configserver.rb and repushed RPMs.

Comment 3 Aziza Karol 2011-10-18 10:34:58 UTC
aeolus-configserver installed successfully.

[root@kvm-guest-01 ~]# yum install aeolus-configserver
Loaded plugins: langpacks, presto, refresh-packagekit
beaker-harness                                           |  951 B     00:00     
beaker-tasks                                             | 1.1 kB     00:00     
fedora-aeolus-testing                                    | 1.3 kB     00:00     
updates/metalink                                         |  17 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package aeolus-configserver.noarch 0:0.2.3-4.fc15 will be installed
--> Processing Dependency: ruby-nokogiri for package: aeolus-configserver-0.2.3-4.fc15.noarch
--> Processing Dependency: rubygem(archive-tar-minitar) for package: aeolus-configserver-0.2.3-4.fc15.noarch
--> Running transaction check
---> Package ruby-nokogiri.x86_64 0:1.5.0-0.4.beta4.fc15 will be installed
---> Package rubygem-archive-tar-minitar.noarch 0:0.5.2-3.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch   Version              Repository             Size
================================================================================
Installing:
 aeolus-configserver    noarch 0.2.3-4.fc15         fedora-aeolus-testing  27 k
Installing for dependencies:
 ruby-nokogiri          x86_64 1.5.0-0.4.beta4.fc15 fedora                 17 k
 rubygem-archive-tar-minitar
                        noarch 0.5.2-3.fc15         fedora                 41 k

Transaction Summary
================================================================================
Install       3 Package(s)

Total download size: 84 k
Installed size: 142 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 84 k
(1/3): aeolus-configserver-0.2.3-4.fc15.noarch.rpm       |  27 kB     00:00     
(2/3): ruby-nokogiri-1.5.0-0.4.beta4.fc15.x86_64.rpm     |  17 kB     00:00     
(3/3): rubygem-archive-tar-minitar-0.5.2-3.fc15.noarch.r |  41 kB     00:00     
--------------------------------------------------------------------------------
Total                                            86 kB/s |  84 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : rubygem-archive-tar-minitar-0.5.2-3.fc15.noarch              1/3 
  Installing : ruby-nokogiri-1.5.0-0.4.beta4.fc15.x86_64                    2/3 
  Installing : aeolus-configserver-0.2.3-4.fc15.noarch                      3/3 

Installed:
  aeolus-configserver.noarch 0:0.2.3-4.fc15                                                                                                                  

Dependency Installed:
  ruby-nokogiri.x86_64 0:1.5.0-0.4.beta4.fc15                                rubygem-archive-tar-minitar.noarch 0:0.5.2-3.fc15                               

Complete!


[root@kvm-guest-01 ~]# service aeolus-configserver start
Starting aeolus-configserver (via systemctl):  [  OK  ]
[root@kvm-guest-01 ~]# service aeolus-configserver status
aeolus-configserver.service - SYSV: aeolus-configserver is the primary server process for the
	  Loaded: loaded (/etc/rc.d/init.d/aeolus-configserver)
	  Active: active (running) since Tue, 18 Oct 2011 10:26:26 -0400; 17s ago
	 Process: 31860 ExecStart=/etc/rc.d/init.d/aeolus-configserver start (code=exited, status=0/SUCCESS)
	Main PID: 31866 (thin)
	  CGroup: name=systemd:/system/aeolus-configserver.service
		  └ 31866 thin server (127.0.0.1:4567)    

No error observed in thin.log.

verified on:
[root@kvm-guest-01 ~]# rpm -qa | grep aeolus-configserver
aeolus-configserver-0.2.3-4.fc15.noarch

Comment 5 errata-xmlrpc 2012-05-15 20:50:10 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-0585.html