How to run katello-package-upload forcefully on RedHat Satellite clients?

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6.x

Issue

  • How to upload package list to satellite forcefully?

Resolution

  • Go to the below directory on the client server and move packages.json file:
# mv /var/lib/rhsm/packages/packages.json /tmp
  • Run the below command to upload the package list:
  # katello-package-upload
  # katello-enabled-repos-upload 
  • Verify whether a new task was created for the package upload from satellite:
  Actions::Katello::Host::UploadPackageProfile

Diagnostic Steps

  • Make sure that katello-agent is installed and up to date:
# rpm -qa |grep katello
katello-agent-1.5.3-7.el6sat.noarch
  • Ensure that the goferd service is up and running:
# ps aux | grep goferd
root     29485  2.5  2.4 945380 47808 ?        Ssl  03:05   0:22 python /usr/bin/goferd
root     31084  9.2  0.0 103252   840 pts/1    S+   03:20   0:00 grep goferd

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.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.