Unable to Install the Satellite inventory upload plugin

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.6 and above

Issue

  • When following the instructions to install the Satellite Inventory Upload Plugin, no packages are being installed using provided the yum command:

        # yum install tfm-rubygem-foreman_inventory_upload-*
        Loaded plugins: foreman-protector, product-id, search-disabled-repos, subscription-manager
    
        WARNING: Excluding 12191 updates due to foreman-protector. 
        Use foreman-maintain packages install/update <package> 
       to safely install packages without restrictions.
    
        No package tfm-rubygem-foreman_inventory_upload-* available.
        Error: Nothing to do
    

Resolution

  • Starting from Satellite 6.6., installing a package should be done using the foreman-maintain/satellite-maintain.

  • The proper instructions for Satellite 6.6. are the following:

     # satellite-maintain packages install tfm-rubygem-foreman_rh_cloud
    

Note: This will trigger satellite-installer to run and restart services, a certain period of downtime is to be expected during the operation.

Root Cause

  • Satellite 6.6 introduced a locking process to prevent an arbitrary yum transactions that could lead to inconsistency in Satellite. For this reason, installing a package requires different steps.
SBR
Product(s)
Components
Category

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.