Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3420

Wrong image pulled for rhdm-production-immutable environment

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Major
    • Resolution: Done
    • 7.9.1.GA
    • 7.10.1.GA
    • Cloud
    • None
    • OCP 4.6
      Business automation operator 7.9.1-1

    • False
    • False
    • CR1
    • Undefined
    • Hide

      Set "useImageTags" to true

      Show
      Set "useImageTags" to true
    • Hide

      Deploy this KieApp:

      apiVersion: app.kiegroup.org/v2
      kind: KieApp
      metadata:
        name: test
      spec:
        environment: rhdm-production-immutable
        objects:
          servers:
            - deployments: 1
              env:
                - name: MAVEN_REPO_URL
                  value: http://some-maven-repo-url/repository/maven-releases/
                - name: MAVEN_REPO_ID
                  value: kjar-repo
                - name: MAVEN_REPO_USERNAME
                  value: admin
                - name: MAVEN_REPO_PASSWORD
                  value: admin123
                - name: KIE_SERVER_CONTAINER_DEPLOYMENT
                  value: 'test=com.myspace:qqq:1.0.0'
              resources:
                limits:
                  memory: 2Gi
                requests:
                  memory: 2Gi
      

      Check Kie server pod, it will fail with error:

      Failed to pull image "test-kieserver": rpc error: code = Unknown desc = Error reading manifest latest in docker.io/library/test-kieserver: errors: denied: requested access to the resource is denied unauthorized: authentication required 
      
      Show
      Deploy this KieApp: apiVersion: app.kiegroup.org/v2 kind: KieApp metadata: name: test spec: environment: rhdm-production-immutable objects: servers: - deployments: 1 env: - name: MAVEN_REPO_URL value: http://some-maven-repo-url/repository/maven-releases/ - name: MAVEN_REPO_ID value: kjar-repo - name: MAVEN_REPO_USERNAME value: admin - name: MAVEN_REPO_PASSWORD value: admin123 - name: KIE_SERVER_CONTAINER_DEPLOYMENT value: 'test=com.myspace:qqq:1.0.0' resources: limits: memory: 2Gi requests: memory: 2Gi Check Kie server pod, it will fail with error: Failed to pull image "test-kieserver": rpc error: code = Unknown desc = Error reading manifest latest in docker.io/library/test-kieserver: errors: denied: requested access to the resource is denied unauthorized: authentication required
    • ---
    • ---
    • 2021 Week 07-09 (from Feb 15)

    Description

      When I create KieApp using rhdm-production-immutable environment without "build" part then Kie server pod fails to pull image as it contains wrong image in DeploymentConfig.
      This issue happens only when "useImageTags" is set to false, if it is set to true then the pod is spinned up properly.

      See steps to reproduce for reproducer.

      Attachments

        Issue Links

          Activity

            People

              tarkhand Tarun Khandelwal (Inactive)
              ksuta Karel Suta
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: