Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-1369

Clustertasks s2i-python-3, s2i-perl and s2i-ruby don't work with latest minor version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • Pipelines 1.3
    • Pipelines 1.3
    • None
    • None
    • False
    • False
    • Undefined
    • Pipelines Sprint 196

      Expected behavior
      I can specify whichever minor version supported by OpenShift in Python, Perl and Ruby S2I cluster tasks.

      Actual behavior
      When latest version is set, errors like those below appear. E.g. specify MINOR_VERSION=8 in s2i-python-3 or MINOR_VERSION=6 in s2i-ruby.

      [build : build] error creating build container: Error initializing source docker://registry.access.redhat.com/rhscl/python-38-rhel7:latest: Error reading manifest latest in registry.access.redhat.com/rhscl/python-38-rhel7: unsupported: This repo requires terms acceptance and is only available on registry.redhat.io
      ---
      [build : build] error creating build container: Error initializing source docker://registry.access.redhat.com/rhscl/ruby-26-rhel7:latest: Error reading manifest latest in registry.access.redhat.com/rhscl/ruby-26-rhel7: unsupported: This repo requires terms acceptance and is only available on registry.redhat.io
      

      Recommended fix
      Other s2i-* cluster tasks don't reference registry.access.redhat.com directly but use an image stream in "openshift" namespace, e.g.

      • image-registry.openshift-image-registry.svc:5000/openshift/dotnet:3.$(params.MINOR_VERSION)
      • image-registry.openshift-image-registry.svc:5000/openshift/nodejs:$(params.VERSION)

            pradkuma PRADEEP KUMAR (Inactive)
            ppitonak Pavol Pitoňák
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: