Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-2825

Equivalent of '--continue-on-error=false' of 'oc image mirror' command is required in 'oc adm catalog mirror'

XMLWordPrintable

    • False
    • None
    • False
    • Not Selected
    • 0
    • 0% 0%

      1. Proposed title of this feature request
      Equivalent of '--continue-on-error=false' of 'oc image mirror' command is required in 'oc adm catalog mirror'

      2. What is the nature and description of the request?
      When catalog mirroring is done using 'oc adm catalog mirror', the command continues even if there are any errors and hence the return code of the command is 0. An equivalent of '--continue-on-error=false' of 'oc image mirror' command is required in 'oc adm catalog mirror' so that it would be possible to stop the execution when an error occurs and it would provide an error code.

      3. Why does the customer need this? (List the business requirements here)
      The customer is planning to automate the operator catalog mirroring. Since the return code of the command is 0 even when there are some errors in mirroring, they have a blocker in implementing it as some images would still be missing after completion of the command execution.

      4. List any affected packages or components.
      'oc adm catalog mirror', oc client 4.9.z

            gausingh@redhat.com Gaurav Singh
            rhn-support-alosingh Alok Singh
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: