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

The foreman-maintain should only ask to run failed step with whitelist option if step has whitelist option

XMLWordPrintable

    • 0
    • False
    • Moderate
    • None
    • None
    • None
    • None

      Description of problem:

      While performing Satellite upgrade 6.9 to 6.10, tried to perform "Content Migration to Pulp3".

      Command suggested to use "use -whitelist="content-prepare" option but using the same option, command is failing with error, "ERROR: Unrecognised option '-whitelist'"

      You can find full details in "Steps to Reproduce:"

      Version-Release number of selected component (if applicable):
      6.9, "Content Migration to Pulp3" [while performing pre-upgrade task for 6.10]

      How reproducible:

      Steps to Reproduce:

      On Satellite 6.9, start performing "Content Migration to Pulp3"

      1. # satellite-maintain content migration-stats

      2. # satellite-maintain prep-6.10-upgrade

      3. # satellite-maintain content prepare

      Above command failed with an error:

      ~~~
      Failed executing foreman-rake katello:pulp3_migration, exit status 1
      --------------------------------------------------------------------------------
      Scenario [Prepare content for Pulp 3] failed.

      The following steps ended up in failing state:

      [content-prepare]

      Resolve the failed steps and rerun
      the command. In case the failures are false positives,
      use --whitelist="content-prepare"
      ~~~

      4. Using this option failing with another error:

      ~~~
      [root@satellite ~]# satellite-maintain content prepare --whitelist="content-prepare"
      ERROR: Unrecognised option '--whitelist'

      See: 'satellite-maintain content prepare --help'
      ~~~

      • Please see the full command output in next comment

      Actual results:

      ~~~
      [root@satellite ~]# satellite-maintain content prepare --whitelist="content-prepare"
      ERROR: Unrecognised option '--whitelist'

      See: 'satellite-maintain content prepare --help'
      ~~~

      • Please see the full command output in next comment

      Expected results:

      If the option is not available then it should not suggest the same in the output.

              aupadhye@redhat.com Amit Upadhye
              jira-bugzilla-migration RH Bugzilla Integration
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: