Uploaded image for project: 'OpenShift Container Platform (OCP) Strategy'
  1. OpenShift Container Platform (OCP) Strategy
  2. OCPSTRAT-2255

oc-mirror v2: Verify creds, hostname, and certs before populating the cache during disk2mirror

XMLWordPrintable

    • Product / Portfolio Work
    • None
    • 0% To Do, 0% In Progress, 100% Done
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • None
    • None
    • None

      Feature Overview (aka. Goal Summary)  

      oc-mirror v2 can fail fast by checking registry credentials, DNS name, and SSL certificates are valid before populating the cache for disk2mirror.

      Goals (aka. expected user outcomes)

      Currently, oc-mirror directly starts from populating the cache (could take ~1 hour according to the reports from the NAPS front) and then starts the mirroring, and only to figure the access to the mirror registry failed (e.g., perhaps users forgot to add pull secrets or a typo in the registry hostname, etc).  

      User fixed that error and restarted the session, and it took another hour to repopulate the cache (as described in the RFE)

      With this behavior change, oc-mirror will fail quickly by checking if the mirror registry is accessible before the caching starts to help users address the underlying issues before going too far.

      Requirements (aka. Acceptance Criteria):

      oc-mirror v2 can fail quickly by verifying that registry credentials, DNS name, and SSL certificates are valid before populating the cache for disk2mirror.

      Documentation Considerations

      Provide information that needs to be considered and planned so that documentation will meet customer needs.  If the feature extends existing functionality, provide a link to its current documentation. Initial completion during Refinement status.

      <your text here>

      Interoperability Considerations

      Which other projects, including ROSA/OSD/ARO, and versions in our portfolio does this feature impact?  What interoperability test scenarios should be factored by the layered products?  Initial completion during Refinement status.

      <your text here>

              rhn-support-mkalinin Marina Kalinin
              rhn-coreos-tunwu Tony Wu
              None
              None
              Rafael Fonseca dos Santos Rafael Fonseca dos Santos
              May Xu May Xu
              Sebastian Kopacz Sebastian Kopacz
              Ashish Humbe Ashish Humbe
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: