Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-24795

Disable the REX pull provider installation in the generated script for Host Content source change.

XMLWordPrintable

    • Moderate
    • To Do
    • No

      Description of problem:

      Can not disable the REX pull provider installation in the generated script for Host Content source change.

      Version-Release number of selected component (if applicable):

      Red Hat Satellite 6.14
      Red Hat Satellite 6.15

      How reproducible:

      100%

      Steps to Reproduce:

      1. On satellite Web UI >> Hosts >> All Hosts >> Edit a Host
      2. click on 'Change host content source' Select Content Source, Lifecycle environment and Content View
      3. Select 'Update Hosts Manually' Option and view the generated script

      Actual results:

      The Script try to install package which is not required in SSH push mode Satellite environment:

      ~~~
      ...
      echo "Starting deployment of REX pull provider"

      1. check if system is registered
        subscription-manager identity > /dev/null
        if [ $? -ne 0 ]; then
        echo "Please register with subscription-manager first, then re-run '$0'."
        exit 1
        fi

      set -e

      echo '#'
      echo '# Installing packages'
      echo '#'

      dnf -y install foreman_ygg_worker
      ...
      ~~

      Expected results:

      • Installation of package 'foreman_ygg_worker' is not required while Satellite is not configured to use 'REX pull mode'.
      • Need a way to remove steps 'Starting deployment of REX pull provider'.

              rhn-engineering-lstejska Leos Stejskal
              rhn-support-mkushwah Mohit Kushwah
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: