Project

General

Profile

Actions

Bug #3197

closed

passenger-status does not work.

Added by Glen Ogilvie over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Packaging
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Installed RPM: rubygem-passenger-4.0.5-3.el6.x86_64
on RHEL6.4, using the foreman installer.

Running: passenger-status produces the following error:
/usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:324:in `search': stack level too deep (SystemStackError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:323:in `select'
from /usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:323:in `search'
from /usr/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:280:in `find_name'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:213:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1082:in `gem'
from /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/bin/passenger-status:18
from /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/bin/passenger-status:19:in `load'
from /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/bin/passenger-status:19
... 3524 levels...
from /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/bin/passenger-status:19:in `load'
from /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/bin/passenger-status:19
from /usr/bin/passenger-status:19:in `load'
from /usr/bin/passenger-status:19

It can be fixed by running: gem update passenger

Updating installed gems
Updating passenger
Building native extensions. This could take a while...
Successfully installed passenger-4.0.19
Gems updated: passenger
Installing ri documentation for passenger-4.0.19...
Installing RDoc documentation for passenger-4.0.19...
[root@configmgmt SPECS]# passenger-status
Version : 4.0.19
Date : Fri Oct 04 12:42:21 +1300 2013
Instance: 3426
----------- General information -----------
Max pool size : 12
Processes : 0
Requests in top-level queue : 0

----------- Application groups -----------

I had a go at rebuilding the rubygem-passenger SRPM to use 4.0.19 passenger sources. After successfully
rebuilding the RPM, the new version installed by did the same thing as 4.0.5. Therefor, I think it's not
version specific, but something in the way the RPM builds passenger.

The RPM spec file for passenger 4.0.19 is attached, as the was a few changes required.


Files

rubygem-passenger.spec rubygem-passenger.spec 16.7 KB spec changes for passenger 4.0.19 Glen Ogilvie, 10/03/2013 11:47 PM

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #3199: Update Passenger RPMClosedDominic ClealActions
Actions #1

Updated by Anonymous over 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #2

Updated by Dominic Cleal over 10 years ago

  • Assignee set to Dominic Cleal
  • Target version set to 1.3.0

Yep, it was an issue in how the RPM was built, specifically when doing the gem install, it specified --bindir to the same directory that contained the real "passenger" and "passenger-status" scripts. This caused them to get overwritten by the stubs, causing the looping effect. I've fixed this in 4.0.5-5 (will appear in nightlies later today), which I hope we can include in 1.3.0.

https://github.com/theforeman/foreman-packaging/commit/0c218be14f

Thanks for the 4.0.19 refresh, that's much appreciated. I'm testing this now and it'll go into the nightlies and 1.4.0 (or perhaps a 1.3.1) if it appears to work OK.

Actions #3

Updated by Dominic Cleal over 10 years ago

  • Related to Tracker #3112: [TRACKER] Issues to be released in 1.3 RC or final added
Actions #4

Updated by Lukas Zapletal over 10 years ago

12:20 Dominic | lzap: for #3197, please just retag the passenger 4.0.5-5 builds into the 1.3 tags
12:20 nudnik | lzap: #3197 is http://theforeman.org/issues/3197 "Bug #3197: passenger-status does not work. - Foreman"

Actions #5

Updated by Dominic Cleal over 10 years ago

Actions #6

Updated by Glen Ogilvie over 10 years ago

Dominic Cleal wrote:

Thanks for the 4.0.19 refresh, that's much appreciated. I'm testing this now and it'll go into the nightlies and 1.4.0 (or perhaps a 1.3.1) if it appears to work OK.

One problem, you'll need to correct in that spec, is that when it tries to compress 3 of the man pages, it fails because they are already there as part of the build I think.
You'll see, when you are testing. Feel free to diff it with the orginial.

Also, Thank you for fixing the problem.

Actions #7

Updated by Lukas Zapletal over 10 years ago

  • Related to deleted (Tracker #3112: [TRACKER] Issues to be released in 1.3 RC or final)
Actions #8

Updated by Jon McKenzie over 10 years ago

I might be missing something, but it doesn't look like 4.0.5-5 is in the el6 1.3 release on yum.theforeman.org (although it's in the nightly repo). Using version 4.0.5-4 from the repo still exhibits this issue.

Actions #9

Updated by Dominic Cleal over 10 years ago

  • translation missing: en.field_release set to 1

Jon McKenzie wrote:

I might be missing something, but it doesn't look like 4.0.5-5 is in the el6 1.3 release on yum.theforeman.org (although it's in the nightly repo). Using version 4.0.5-4 from the repo still exhibits this issue.

You're right, looks like only one of the two builds was tagged. Fixing this now ready for 1.3.1. Thanks for letting us know!

Actions #10

Updated by Tomer Brisker over 5 years ago

  • Category changed from 21 to Packaging
Actions

Also available in: Atom PDF