Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1319677

Summary: passenger-status on sat6 on rhel7
Product: Red Hat Satellite Reporter: Akshay Mankumbare <amankumb>
Component: InfrastructureAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.7CC: amankumb, bbuckingham, cwelton, inecas, sauchter, snag
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-26 14:18:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***