Issue #4218 has been updated by Ken Barber.

Category set to passenger


----------------------------------------
Bug #4218: Passenger module installs version of passenger and rack incompatible 
with puppet 
https://projects.puppetlabs.com/issues/4218

Author: Igal Koshevoy
Status: Investigating
Priority: Normal
Assignee: James Turnbull
Category: passenger
Target version: 
Keywords: passenger module
Branch: 


(Jeff McCune wrote:)

Overview:
On EL5, the passenger module version 0.0.2 installs the latest version of the 
rack and passenger gem which are not compatible with puppet.

Expected Behavior:
The passenger module should install a version of passenger compatible with 
puppet mater on EL 5.

Actual Behavior:
As of today, 9 July 2010 the module installs rack version 1.2.1 and passenger 
2.2.15, which do not work with puppet master.  The exception returned is:

    [Tue Jul 06 21:12:02 2010] [error] [client 192.168.100.148] Premature end 
of script headers: hyel.puppetlabs.lan
[ pid=1568 file=ext/apache2/Hooks.cpp:706 time=2010-07-06 21:12:02.447 ]:
  The backend application (process 1705) did not send a valid HTTP response; 
instead, it sent nothing at all. It is possible that it has crashed; please 
check whether there are crashing bugs in this application.
*** Exception TypeError in PhusionPassenger::Rack::ApplicationSpawner (can't 
convert Array into String) (process 1705):
        from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in 
`union'
        from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
        from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:1
        from /opt/puppetlabs/puppet/lib/puppet/network/http/rack.rb:35:in `call'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/request_handler.rb:92:in
 `process_request'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_request_handler.rb:207:in
 `main_loop'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:120:in
 `run'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:65:in
 `spawn_application'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/utils.rb:252:in
 `safe_fork'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:58:in
 `spawn_application'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:41:in
 `spawn_application'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:150:in
 `spawn_application'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:278:in
 `handle_spawn_application'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in
 `__send__'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in
 `main_loop'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:196:in
 `start_synchronously'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/bin/passenger-spawn-server:61
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:41:in
 `spawn_application'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:150:in
 `spawn_application'  
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:278:in
 `handle_spawn_application'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in
 `__send__'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in
 `main_loop'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:196:in
 `start_synchronously'
        from 
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/bin/passenger-spawn-server:61

Suggested Fix:
The passenger module should be forked to a puppetlabs-passenger module, or 
provide some way to specify the version manually when being used with puppet.  
Users of the module may want the latest version, but when being used with 
puppet they will need specific versions of the gems.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to