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

NodeJS example failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.18
    • Samples Operator
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The "nodejs-postresql-example" no longer works. This is most probably because the default nodejs version it targets is no longer available in the openshift library.
      
      The template needs to be fixed so that it references NodeJS available in the OpenShift library.
      
      This is blocking the release of Samples Operator for OCP 4.17 because we check the validity of the templates shipped with the operator.
      
      Specifically, the template defines the default NodeJS version to use on this line: https://github.com/openshift/library/blob/master/operator/ocp-x86_64/official/nodejs/templates/nodejs-postgresql-example.json#L426.
      
      The failing test is here: https://github.com/openshift/origin/blob/master/test/extended/image_ecosystem/sample_repos.go#L158
      failing at line https://github.com/openshift/origin/blob/master/test/extended/image_ecosystem/sample_repos.go#L76
      
      We either need to:
      
      1. Fix the template so that it references an available NodeJS version.
      2. Remove the test and ship a non-working template (which might be OK given the fact that Samples Operator is deprecated).

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

          

      How reproducible:

          

      Steps to Reproduce:

          

      Actual results:

          

      Expected results:

          

      Additional info:

      The line in the output of the test that stands out:
      
       I0829 13:00:31.368042 1779 dump.go:53] At 2024-08-29 12:58:28 +0000 UTC - event for nodejs-postgresql-example: {buildconfig-controller } BuildConfigInstantiateFailed: error instantiating Build from BuildConfig e2e-test-nodejs-postgresql-repo-test-n7dgl/nodejs-postgresql-example (0): Error resolving ImageStreamTag nodejs:16-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: