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 1753551 - Traces output from Satellite GUI has mismatches with client tracer output
Summary: Traces output from Satellite GUI has mismatches with client tracer output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-tracer
Version: 6.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.8.0
Assignee: Jonathon Turel
QA Contact: Ondrej Gajdusek
URL:
Whiteboard:
: 1860771 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-19 09:31 UTC by Manu Sunil
Modified: 2024-03-25 15:25 UTC (History)
9 users (show)

Fixed In Version: katello-host-tools-3.5.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 12:59:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Traces from Satellite (81.97 KB, image/png)
2019-09-19 09:31 UTC, Manu Sunil
no flags Details
screenshot (135.70 KB, image/png)
2020-03-12 16:10 UTC, Chris Roberts
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29824 0 Normal Closed Rely on Tracer to find affected packages for DNF 2021-02-17 10:56:38 UTC
Github Katello katello-host-tools pull 112/files 0 None None None 2020-09-25 14:02:33 UTC
Red Hat Knowledge Base (Solution) 5269401 0 None None None 2020-07-30 15:20:48 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:59:21 UTC

Description Manu Sunil 2019-09-19 09:31:29 UTC
Created attachment 1616637 [details]
Traces from Satellite

Description of problem:

The services that require restart/reboot as displayed from the traces tab in content hosts is different from the output provided by tracer command on the client.

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

katello-host-tools-tracer-3.5.0-2.el7sat.noarch
satellite-cli-6.5.2.1-1.el7sat.noarch

How reproducible:


Steps to Reproduce:
1. Register client to the satellite
2. Install katello-agent package on the client
3. Apply patches on the client 
4. Check the traces section of the content host.
5. Check the tracer command on the client.
     # tracer
6. If the satellite GUI traces tab is not populated, run the following command on the client 
     # katello-tracer-upload

 

Actual results:

Certain services are not listed on the Satellite GUI traces which are listed on the client terminal.

[root@vm251-88 ~]# tracer
You should restart:
  * Some applications using:
      systemctl restart auditd
      systemctl restart firewalld
      systemctl restart goferd
      systemctl restart lvm2-lvmetad
      systemctl restart postfix
      systemctl restart qemu-guest-agent
      systemctl restart rhnsd
      systemctl restart rhsmcertd
      systemctl restart rsyslog
      systemctl restart sshd
      systemctl restart systemd-journald
      systemctl restart systemd-logind
      systemctl restart systemd-udevd
      systemctl restart tuned

Additionally to those process above, there are:
  - 1 processes requiring restart of your session (i.e. Logging out & Logging in again)
  - 2 processes requiring reboot


Expected results:

Output on both the satellite GUI traces and the tracer output on the client should match.

Comment 3 Chris Roberts 2020-03-12 16:10:15 UTC
Able to confirm still an issue, see screenshot attached showing 25 services and the output from the client:

[root@centos7 ~]# tracer -v
You should restart:
  * Some applications using:
      systemctl restart NetworkManager
      systemctl restart NetworkManager
      systemctl restart abrt-oops
      systemctl restart abrtd
      systemctl restart firewalld
      systemctl restart lvm2-lvmetad
      systemctl restart postfix
      systemctl restart rngd
      systemctl restart rsyslog
      systemctl restart smartd
      systemctl restart sshd
      systemctl restart sssd
      systemctl restart sssd
      systemctl restart sssd
      systemctl restart systemd-journald
      systemctl restart systemd-logind
      systemctl restart systemd-udevd
      systemctl restart tuned
      systemctl restart vgauthd
      systemctl restart vmtoolsd

Additionally to those process above, there are:
  - 2 processes requiring restart of your session (i.e. Logging out & Logging in again)
  - 2 processes requiring reboot

Moving to Assigned and starting to work on it this sprint.

Comment 4 Chris Roberts 2020-03-12 16:10:43 UTC
Created attachment 1669695 [details]
screenshot

Comment 5 Jonathon Turel 2020-05-14 18:17:31 UTC
Connecting redmine issue https://projects.theforeman.org/issues/29824 from this bug

Comment 6 Bryan Kearney 2020-05-20 16:02:26 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/29824 has been resolved.

Comment 7 wclark 2020-07-30 15:20:49 UTC
*** Bug 1860771 has been marked as a duplicate of this bug. ***

Comment 8 Ondrej Gajdusek 2020-08-06 14:06:00 UTC
Verified, using the following versions
Satellite:
satellite-6.8.0-0.7.beta.el7sat.noarch
tfm-rubygem-katello-3.16.0-0.15.rc4.1.el7sat.noarch

Host:
katello-host-tools-tracer-3.5.4-1
python2-tracer-0.7.3-1
tracer-common-0.7.3-1

The output of `hammer host traces list --host host.fqdn.com` virtually matches the output of `tracer --user=* -av` on the host.fqdn.com.
The same behavior observed on RHEL7 and RHEL8.

Comment 11 errata-xmlrpc 2020-10-27 12:59:02 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 (Important: Satellite 6.8 release), 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-2020:4366

Comment 16 Manu Sunil 2020-11-11 09:00:47 UTC
Hello Jonathan,

Thank you for the response.

The customer already updated the packages to the latest version available.

~~~
katello-host-tools-tracer-3.5.4-1.el8sat.noarch             Thu Oct 29 11:03:46 2020
python3-tracer-0.7.3-1.el8sat.noarch                        Thu Oct 29 11:03:46 2020
tracer-common-0.7.3-1.el8sat.noarch                         Thu Oct 29 11:03:46 2020
~~~

Is there anything else I should check?

Regards,
Manu Sunil


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