Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-49880

v2: oc-mirror reports success exit (0) even in case of errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18, 4.19
    • oc-mirror
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      oc-mirror plugin v2 currently returns an exit status of `0` (success) even when mirroring errors occur. As a result, customers should not rely on the exit status in automated workflows. Until this issue is resolved, users should manually check the `mirroring_errors_XXX_XXX.txt` file generated by `oc-mirror` for any errors. (link:https://issues.redhat.com/browse/OCPBUGS-49880[*OCPBUGS-49880*])
      Show
      oc-mirror plugin v2 currently returns an exit status of `0` (success) even when mirroring errors occur. As a result, customers should not rely on the exit status in automated workflows. Until this issue is resolved, users should manually check the `mirroring_errors_XXX_XXX.txt` file generated by `oc-mirror` for any errors. (link: https://issues.redhat.com/browse/OCPBUGS-49880 [* OCPBUGS-49880 *])
    • Known Issue
    • Done

      Description of problem:

          See https://issues.redhat.com/browse/RFE-7006 for the use-case.

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

          

      How reproducible:

          always for non-release images

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          0 returned by oc-mirror

      Expected results:

          non-zero returned if there are mirrorring failures.

      Additional info:

          

              rhn-support-stk Subhashini T K
              rdossant Rafael Fonseca dos Santos
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: