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

Unable to create custom image for Database

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.8.0.GA
    • 7.7.1.GA
    • Cloud
    • None
    • Deploy Kie Server in Openshift

    • Release Notes
    • CR1
    • CR1
    • Hide
      There is an issue when building a custom extension image for database appearing when we download the content from http://rcm-guest.app.eng.bos.redhat.com/rcm-guest/staging/rhpam/RHPAM-7.7.1.CR1/rhpam-7.7.1-openshift-templates.zip and build the image database as described in documentation. To resolve, we need to update the base-db-overrides.yaml (located inside) with: "quay.io/kiegroup/jboss-kie-${DATABASE_TYPE}-extension-openshift-image" and start the build of the image again.
      Show
      There is an issue when building a custom extension image for database appearing when we download the content from http://rcm-guest.app.eng.bos.redhat.com/rcm-guest/staging/rhpam/RHPAM-7.7.1.CR1/rhpam-7.7.1-openshift-templates.zip and build the image database as described in documentation. To resolve, we need to update the base-db-overrides.yaml (located inside) with: "quay.io/kiegroup/jboss-kie-${DATABASE_TYPE}-extension-openshift-image" and start the build of the image again.
    • Workaround Exists
    • Hide

      The workaround (and probably the solution) is to specify the repository in the base-db-overrides.yaml:

      name: "quay.io/kiegroup/jboss-kie-${DATABASE_TYPE}-extension-openshift-image"
      
      Show
      The workaround (and probably the solution) is to specify the repository in the base-db-overrides.yaml: name: "quay.io/kiegroup/jboss-kie-${DATABASE_TYPE}-extension-openshift-image"
    • Hide
      • Download templates.zip
      • Unzip the content
      • Make the image build (for mysql as an example)

      See description.

      Show
      Download templates.zip Unzip the content Make the image build (for mysql as an example) See description.
    • 2020 Week 22-24 (from May 25)

    Description

      When building the custom image for a database, we follow these steps:

      • Download templates.zip:
      curl --insecure --output templates.zip http://rcm-guest.app.eng.bos.redhat.com/rcm-guest/staging/rhpam/RHPAM-7.7.1.CR1/rhpam-7.7.1-openshift-templates.zip
      
      • Unzip the content:
      unzip -q templates.zip
      
      • Make the image build (for mysql as an example):
      cd templates/contrib/jdbc
      make build mysql
      

      This will fail because the behave test "Scenario: Verify if the correct correct files are present in the container and if its content are correct " with the next error:

      docker.errors.ImageNotFound: 404 Client Error: Not Found ("No such image: kiegroup/jboss-kie-mysql-extension-openshift-image:8.0.12")
      

      However, the right image was built on quay.io/kiegroup/jboss-kie-mysql-extension-openshift-image:8.0.12.

      The problem seems to be that docker stopped checking quay.io repository. I tried with the templates.zip from 7.7.0.CR1 and still didn't work.

      The workaround (and probably the solution) is to specify the repository in the base-db-overrides.yaml:

      name: "quay.io/kiegroup/jboss-kie-${DATABASE_TYPE}-extension-openshift-image"
      

      Not sure if we should parameter the repository as well.

      Attachments

        Activity

          People

            rhn-support-fspolti Filippe Spolti
            jcarvaja@redhat.com Jose Carvajal Hilario
            Jose Carvajal Hilario Jose Carvajal Hilario
            Jose Carvajal Hilario Jose Carvajal Hilario
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: