Red Hat Satellite upgrade fails on [ packages-update ] step .

Solution Verified - Updated

Environment

  • Red Hat Satellite 6

Issue

  • Satellite upgrade fails on step packages-update

       Failed:
         tfm-rubygem-smart_proxy_remote_execution_ssh.noarch 0:0.3.2-1.el7sat
         tfm-rubygem-smart_proxy_remote_execution_ssh.noarch 0:0.5.3-1.el7sat
    

Resolution

  • /usr/share/foreman-proxy/.ssh is supposed to be a symlink to /var/lib/foreman-proxy/ssh

  • Create symlink and update the affected package.

      # ln -s /var/lib/foreman-proxy/ssh  /usr/share/foreman-proxy/.ssh
      # yum -y --disableplugin=foreman-protector update tfm-rubygem-smart_proxy_remote_execution_ssh
    
  • Run the installer command and make sure it completes with success.

       # satellite-installer
    
  • Check satellite services .

      # hammer ping
      # foreman-maintain service status -b
    

For more KB articles/solutions related to Red Hat Satellite 6.x Installation/Upgrade/Update Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Installation/Upgrade/Update Issues.

Root Cause

  • /usr/share/foreman-proxy/.ssh is not symlink to /var/lib/foreman-proxy/ssh . Due to which satellite upgrade fails on packages-update step.

  • Due to symlink issue, below package is not able to update .

       tfm-rubygem-smart_proxy_remote_execution_ssh
    

Diagnostic Steps

  • Check if " /usr/share/foreman-proxy/.ssh" is symlink to "/var/lib/foreman-proxy/ssh" .

     # ls -laR /usr/share/foreman-proxy/.ssh
     # ls -laR /var/lib/foreman-proxy/ssh
    
SBR
Product(s)
Components
Category
Tags

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.