Errata updates show as outstanding in the Red Hat Satellite web UI after they've been applied to the client successfully

Solution Unverified - Updated -

Environment

  • Red Hat Satellite 5.6

Issue

  • When a group of servers is patched with the Red Hat Satellite, the tasks are scheduled and completed but the satellite server does not reflect the patches that have been applied.
  • Errata updates continue to show as outstanding even after the client has been successfully updated.
  • When attempting to push the updates a second time, System History Event screen shows the message "Requested package have already been installed".

Resolution

  • The Taskomatic schedules will need to be re-submitted by completing the following steps:
  1. From the Satellite web UI, click on Admin > Task Schedules > errata-cache-default > Click on Bunch errata-cache-bunch -> Single Run Schedule to execute the task.
  2. Repeat the step for the errata-queue-default and auto-errata-default schedules on the Task Schedules page.
  • Monitor /var/log/rhn/rhn_taskomatic_daemon.log and verify that the channel repodata and errata cache task activity now show up.

Root Cause

  • The Taskomatic scheduler was not picking up the tasks properly which caused them to reflect incorrectly in the Red Hat Satellite web UI.

Diagnostic Steps

  • Verify that the package(s) have been updated on the client successfully.

  • View output of # rhn-schema-stats for any outstanding Taskomatic tasks in the queue.

# rhn-schema-stats
  ...
RHNERRATAQUEUE: 26
  ...
RHNREPOREGENQUEUE: 11
  ...
RHNTASKQUEUE: 7045
  ...
  • Search /var/log/rhn/rhn_taskomatic_daemon.log to verify if there as been any channel repodata and errata cache activity.

In this case, there were no signs of activity in the Taskomatic logs which suggests that the Taskomatic scheduler is not picking up the tasks properly.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments