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

Rails example failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 4.17, 4.18
    • Samples Operator
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The rails example "rails-postgresql-example" no longer runs successfully, because it references a version of ruby that is not available in the library.
      
      This is blocking the release of Samples Operator because we check the validity of the templates shipped with the operator.
      
      Rails sample is no longer supported by the Samples Operator but is still shipped in an old version. I.e. we just continue shipping the same old version of the sample across releases. This old version references ruby that is no longer present in the openshift library.
      
      There are a couple of ways of solving this problem:
      
      1. Start supporting the Rails sample again in Samples Operator (the Rails examples seem to be maintained and made also available through helm-charts).
      
      2. Remove the test that makes sure rails example is buildable to let the test suite pass. We don't support rails anymore in the Samples Operator so this should not be too surprising.
      
      3. Remove rails from the Samples Operator altogether. This is probably the cleanest solution but most likely requires more work than just removing the sample from the assets of Samples Operator (removing the failing test is the most obvious thing that would break, too).
      
      We need to decide ASAP how to proceed to unblock the release of Samples Operator for OCP 4.17.

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

          

      How reproducible:

      The Samples Operator testsuite runs these tests and results in a failure like this:
      
      https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_cluster-samples-operator/567/pull-ci-openshift-cluster-samples-operator-master-e2e-aws-ovn-image-ecosystem/1829111792509390848    

      Steps to Reproduce:

       

      Actual results:

          

      Expected results:

          

      Additional info:

      The test in question fails here: https://github.com/openshift/origin/blob/master/test/extended/image_ecosystem/s2i_ruby.go#L59
      
      The line in the test output that stands out:
      
       I0829 13:02:24.241018 3111 dump.go:53] At 2024-08-29 13:00:21 +0000 UTC - event for rails-postgresql-example: {buildconfig-controller } BuildConfigInstantiateFailed: error instantiating Build from BuildConfig e2e-test-s2i-ruby-q75fj/rails-postgresql-example (0): Error resolving ImageStreamTag ruby:3.0-ubi8 in namespace openshift: unable to find latest tagged image

            phracek@redhat.com Petr Hracek
            rhn-engineering-lkrejci Lukas Krejci
            Jitendar Singh Jitendar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: