- Red Hat Satellite 6.x
- How to upload package list to Red Hat Satellite forcefully?
Please remove the existing details stored about the installed packages from the client host.
For any client hosts below RHEL 7.7
# mv /var/lib/rhsm/packages/packages.json /tmp
For any client hosts having the RHEL version 7.7 or greater.
# mv /var/lib/rhsm/cache/profile.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 related to the host in Satellite server:
Satellite WebUI: Monitor -> Tasks -> Search for "label = Actions::Katello::Host::UploadPackageProfile or label = Actions::Katello::Host::UploadProfiles"
Make sure that
katello-host-toolspackages are installed and up to date:
# rpm -q katello-agent katello-host-tools katello-agent-3.5.1-2.el7sat.noarch katello-host-tools-3.5.1-2.el7sat.noarch
Optionally, ensure that the
goferdservice 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.