Bug 1319677 - passenger-status on sat6 on rhel7
Summary: passenger-status on sat6 on rhel7
Keywords:
Status: CLOSED DUPLICATE of bug 1163380
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Infrastructure
Version: 6.1.7
Hardware: x86_64
OS: Linux
medium
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-21 10:24 UTC by Akshay Mankumbare
Modified: 2019-12-16 05:32 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-26 14:18:50 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2204671 0 None None None 2016-03-21 12:30:36 UTC

Description Akshay Mankumbare 2016-03-21 10:24:02 UTC
Description of problem:

When passenger status command executed on Satellite 6 - RHEL 7 it gives below output :
~~~
[root@erl-rhelsat-02 audit]# passenger-status
*** Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)...
# mkdir -p /root/.passenger/native_support/4.0.18/ruby-2.0.0-x86_64-linux
# cd /root/.passenger/native_support/4.0.18/ruby-2.0.0-x86_64-linux
# /usr/bin/ruby '/usr/share/gems/gems/passenger-4.0.18/ruby_extension_source/extconf.rb'
/usr/bin/ruby: No such file or directory -- /usr/share/gems/gems/passenger-4.0.18/ruby_extension_source/extconf.rb (LoadError)  <<******************
Compilation failed.                                  <<****** ***********
-------------------------------
Ruby native_support extension not loaded. Continuing without native_support.
.
.
.
~~~~

Also I can see that passenger-status command works fine on Satellite 6 -RHEL 7.


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


How reproducible:
Always

Steps to Reproduce:
1. Execute 
2.
3.

Actual results:
# passenger-status
*** Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)...
# mkdir -p /root/.passenger/native_support/4.0.18/ruby-2.0.0-x86_64-linux
# cd /root/.passenger/native_support/4.0.18/ruby-2.0.0-x86_64-linux
# /usr/bin/ruby '/usr/share/gems/gems/passenger-4.0.18/ruby_extension_source/extconf.rb'
/usr/bin/ruby: No such file or directory -- /usr/share/gems/gems/passenger-4.0.18/ruby_extension_source/extconf.rb (LoadError)  <<******************
Compilation failed.                                  <<****** ***********
-------------------------------
Ruby native_support extension not loaded. Continuing without native_support.
Version : 4.0.18
Date    : 2016-03-18 16:00:29 +0000
Instance: 9493
----------- General information -----------
Max pool size : 6
Processes     : 2
Requests in top-level queue : 0

----------- Application groups -----------
/usr/share/foreman#default:
  App root: /usr/share/foreman
  Requests in queue: 0
  * PID: 9892    Sessions: 0       Processed: 74      Uptime: 36m 36s
    CPU: 1%      Memory  : 271M    Last used: 11m 10s ago

/etc/puppet/rack#default:
  App root: /etc/puppet/rack
  Requests in queue: 0
  * PID: 10969   Sessions: 0       Processed: 19      Uptime: 27m 49s
    CPU: 0%      Memory  : 59M     Last used: 11m 10s ago
~~~~



Expected results:
# passenger-status
Version : 4.0.18
Date    : Tue Nov 11 08:43:23 -0500 2014
Instance: 10483
----------- General information -----------
Max pool size : 6
Processes     : 6
Requests in top-level queue : 0

----------- Application groups -----------
/usr/share/foreman#default:
  App root: /usr/share/foreman
  Requests in queue: 26
  * PID: 49317   Sessions: 1       Processed: 71987   Uptime: 3h 0m 3s
    CPU: 71%     Memory  : 259M    Last used: 0s ago
  * PID: 48350   Sessions: 1       Processed: 47138   Uptime: 1h 49m 51s
    CPU: 77%     Memory  : 263M    Last used: 0s ago
  * PID: 26517   Sessions: 1       Processed: 18807   Uptime: 39m 15s
    CPU: 88%     Memory  : 115M    Last used: 0s ago
  * PID: 26544   Sessions: 1       Processed: 18673   Uptime: 39m 14s
    CPU: 88%     Memory  : 114M    Last used: 0s ago
  * PID: 26563   Sessions: 1       Processed: 18822   Uptime: 39m 14s
    CPU: 88%     Memory  : 110M    Last used: 0s ago

/etc/puppet/rack#default:
  App root: /etc/puppet/rack
  Requests in queue: 0
  * PID: 15785   Sessions: 0       Processed: 535     Uptime: 53h 23m 14s
    CPU: 0%      Memory  : 84M     Last used: 23m 10s


Additional info:

There was a bugzilla for this : https://bugzilla.redhat.com/show_bug.cgi?id=1163380 which has been closed with errata [https://access.redhat.com/errata/RHBA-2015:1911].

Even if provided errata is applied to Satellite server can see below ouput :
~~~
/usr/bin/ruby: No such file or directory -- /usr/share/gems/gems/passenger-4.0.18/ruby_extension_source/extconf.rb (LoadError)  <<******************
Compilation failed.                                  <<****** ***********
-------------------------------
Ruby native_support extension not loaded. Continuing without native_support.
~~~~

Comment 2 Ivan Necas 2016-04-26 14:18:50 UTC

*** This bug has been marked as a duplicate of bug 1163380 ***


Note You need to log in before you can comment on or make changes to this bug.