Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5468

Getting Forbidden for image in a container template when creating a sample app

    XMLWordPrintable

Details

    • ODC Sprint 197, ODC Sprint 198
    • Low

    Description

      Description of problem:

      When creating a new Node.js app (I hit the same problem also with the Go app) in the Dev Sandbox, I sometimes get an error:

      Error "Forbidden: this image is prohibited by policy: this image is prohibited by policy (changed after admission)" for field "spec.template.spec.containers[0].image".
      

      Prerequisites (if any, like setup, operators/versions):

      Steps to eproduce

      1. Go to Add -> Samples
      2. Choose either Go or Node.js app
      3. Click on create

      Actual results:

       

      Expected results:

      Apps get created without showing any error

      Reproducibility (Always/Intermittent/Only Once):

      Intermittent

      Build Details:

      Additional info:

       

      The watch log of the Deployments captured during the creation using command oc get deployments --watch-only -o json:
      https://gist.githubusercontent.com/MatousJobanek/5c50a1a5ec4b5a8f3b861fb2c1bd9b5f/raw/08810ed46ac4fb945dfceceeb28ac10d0a01dc35/watch-deployments.log

      Attachments

        Activity

          People

            cjerolim Christoph Jerolimov
            mjobanek Matous Jobanek
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: