Bug 1767818 - [Regression] top_output.log only showing ruby and not the process names
Summary: [Regression] top_output.log only showing ruby and not the process names
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.11.1
Assignee: Joe Rafaniello
QA Contact: Jaroslav Henner
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On: 1749494
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-01 13:33 UTC by Satoe Imaishi
Modified: 2022-07-09 10:57 UTC (History)
3 users (show)

Fixed In Version: 5.11.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1749494
Environment:
Last Closed: 2019-12-13 00:35:40 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
simaishi: cfme-5.11.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:4201 0 None None None 2019-12-13 00:35:48 UTC

Comment 2 CFME Bot 2019-11-01 19:33:47 UTC
New commit detected on ManageIQ/manageiq-appliance/ivanchuk:

https://github.com/ManageIQ/manageiq-appliance/commit/467ac20d74c32fc72cb13ea1583a60738c1c735d
commit 467ac20d74c32fc72cb13ea1583a60738c1c735d
Author:     Brandon Dunne <bdunne>
AuthorDate: Tue Sep 10 14:33:53 2019 -0400
Commit:     Brandon Dunne <bdunne>
CommitDate: Tue Sep 10 14:33:53 2019 -0400

    Merge pull request #257 from jrafanie/log_top_command_line_program_name_toggled

    Run top in command-line/program name mode

    (cherry picked from commit 526ae97de160049c71db46948a6100c01084a689)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1767818

 LINK/usr/bin/miqtop.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 3 Jaroslav Henner 2019-11-13 12:43:06 UTC
[root@dhcp-8-196-159 ~]# rpm -q cfme
cfme-5.11.1.0-1.el8cf.x86_64
[root@dhcp-8-196-159 ~]# ps aux | grep ruby
root      5838  0.0  0.4 134508 59760 ?        Sl   07:23   0:00 ruby /bin/evm_watchdog.rb
root      8013  0.0  0.0  12108  1056 pts/0    S+   07:41   0:00 grep --color=auto ruby
[root@dhcp-8-196-159 ~]# ps aux | grep MIQ
root      5605  6.2  2.6 566480 326020 ?       Sl   07:23   1:11 MIQ Server
root      7190  0.1  2.5 519396 313512 ?       SNl  07:23   0:01 MIQ: MiqEventHandler id: 43, queue: ems
root      7199  0.3  2.7 530060 328412 ?       SNl  07:23   0:03 MIQ: MiqGenericWorker id: 44, queue: generic
root      7208  0.2  2.6 523392 316468 ?       SNl  07:23   0:03 MIQ: MiqGenericWorker id: 45, queue: generic
root      7217  0.3  2.6 524416 316600 ?       SNl  07:23   0:03 MIQ: MiqPriorityWorker id: 46, queue: generic
root      7226  0.3  2.6 526468 316960 ?       SNl  07:23   0:03 MIQ: MiqPriorityWorker id: 47, queue: generic
root      7235  0.1  2.5 528520 313868 ?       SNl  07:23   0:01 MIQ: MiqReportingWorker id: 48, queue: reporting
root      7244  0.1  2.5 530572 313880 ?       SNl  07:23   0:01 MIQ: MiqReportingWorker id: 49, queue: reporting
root      7255  0.3  2.5 534676 313984 ?       SNl  07:23   0:03 MIQ: MiqScheduleWorker id: 50
root      7266  0.3  2.6 549764 323776 ?       SNl  07:23   0:03 puma 3.7.1 (tcp://127.0.0.1:3000) [MIQ: Web Server Worker]
root      7281  0.1  2.6 553868 317648 ?       SNl  07:23   0:01 puma 3.7.1 (tcp://127.0.0.1:4000) [MIQ: Web Server Worker]
root      7290  0.1  2.6 554896 317556 ?       SNl  07:23   0:01 puma 3.7.1 (tcp://127.0.0.1:5000) [MIQ: Web Server Worker]
root      8027  0.0  0.0  12108  1028 pts/0    S+   07:42   0:00 grep --color=auto MIQ

I think this is what is expected result of this BZ

Comment 4 Jaroslav Henner 2019-11-13 16:43:58 UTC
It seems ps aux displays something different than top, depending on the options. I need to dig to this bit more.

Comment 5 Jaroslav Henner 2019-11-20 15:38:32 UTC
So I had to read the code to find out what is this BZ actuall about. I found out there is an service miqtop which collects the outputs of top. 


On cfme-5.11.1.0-1.el8cf.x86_64, the `systemctl status miqtop`  says  "active (running)". 

grep -q Miq /var/www/miq/vmdb/log/top_output.log && echo Fine
Fine

On the previous version, the service was down and log was not present.

Comment 7 errata-xmlrpc 2019-12-13 00:35:40 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.

https://access.redhat.com/errata/RHSA-2019:4201


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