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

Kogito-runtime-native (techpreview): Image does not recognize the runner binary in the S2I build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.13.0.GA, IBM BAMOE 8.0.0.GA
    • 7.13.0.GA, IBM BAMOE 8.0.0.GA
    • Cloud
    • Operator: registry-proxy.engineering.redhat.com/rh-osbs/ibm-bamoe-bamoe-kogito-rhel8-operator:8.0.0-2

    • False
    • None
    • False
    • CR1
    • An issue with the native runtime image is preventing it to detect the native runner for a binary build.
    • Not Yet Documented
    • Hide

      set the BINARY_BUILD env to false manually in the KogitoBuild cr definition.

      Show
      set the BINARY_BUILD env to false manually in the KogitoBuild cr definition.
    • Hide

      $ oc new-project bamoe-kogito-operator-system

      $ oc apply -f imagestream-bamoe-kogito-operator.yaml

      $ wget -O bamoe-kogito-operator.yaml https://raw.githubusercontent.com/kiegroup/kogito-operator/1.13.x-blue/rhpam-operator.yaml

      $ sed -i 's|registry.stage.redhat.io/ibm-bamoe/bamoe-kogito-rhel8-operator:.*|image-registry.openshift-image-registry.svc:5000/bamoe-kogito-operator-system/bamoe-kogito-operator:8.0.0-1|g' bamoe-kogito-operator.yaml

      $ oc apply -f bamoe-kogito-operator.yaml

      $ oc apply -f kogitobuild.json

       

      Then we need to edit image streams due to insecure registry:

      Kogito Builder

      $ oc edit is custom-ibm-bamoe-bamoe-kogito-builder-rhel8
      -> copy the whole tags part
      -> remove the whole tags part
      -> save & exit
      $ oc edit is custom-ibm-bamoe-bamoe-kogito-builder-rhel8
      -> paste the whole tags part
      -> add `importPolicy.insecure=true` to the pasted tag

       

      Kogito Runtime Native

      $ oc edit is custom-ibm-bamoe-bamoe-kogito-runtime-native-rhel8
      -> copy the whole tags part
      -> remove the whole tags part
      -> save & exit
      $ oc edit is custom-ibm-bamoe-bamoe-kogito-runtime-native-rhel8
      -> paste the whole tags part
      -> add `importPolicy.insecure=true` to the pasted tag

       

      Observe the builds

      Show
      $ oc new-project bamoe-kogito-operator-system $ oc apply -f imagestream-bamoe-kogito-operator.yaml $ wget -O bamoe-kogito-operator.yaml https://raw.githubusercontent.com/kiegroup/kogito-operator/1.13.x-blue/rhpam-operator.yaml $ sed -i 's|registry.stage.redhat.io/ibm-bamoe/bamoe-kogito-rhel8-operator:.*|image-registry.openshift-image-registry.svc:5000/bamoe-kogito-operator-system/bamoe-kogito-operator:8.0.0-1|g' bamoe-kogito-operator.yaml $ oc apply -f bamoe-kogito-operator.yaml $ oc apply -f kogitobuild.json   Then we need to edit image streams due to insecure registry: Kogito Builder $ oc edit is custom-ibm-bamoe-bamoe-kogito-builder-rhel8 -> copy the whole tags part -> remove the whole tags part -> save & exit $ oc edit is custom-ibm-bamoe-bamoe-kogito-builder-rhel8 -> paste the whole tags part -> add `importPolicy.insecure=true` to the pasted tag   Kogito Runtime Native $ oc edit is custom-ibm-bamoe-bamoe-kogito-runtime-native-rhel8 -> copy the whole tags part -> remove the whole tags part -> save & exit $ oc edit is custom-ibm-bamoe-bamoe-kogito-runtime-native-rhel8 -> paste the whole tags part -> add `importPolicy.insecure=true` to the pasted tag   Observe the builds
    • ---
    • ---

    Description

      Investigation done:

      • Does not work with both BAMOE Kogito builder and runtime-native
      • Does not work with both RHPAM Kogito builder and runtime-native
      • Does work with 1.13.x nightlies
        • quay.io/kiegroup/kogito-builder-nightly:1.13.x-blue-2022-07-21
        • quay.io/kiegroup/kogito-runtime-native-nightly:1.13.x-blue-2022-07-21
      • Does work with 1.13.x-blue nightlies- (no tested yet but I suppose so ...)
        • quay.io/kiegroup/kogito-builder-nightly:1.13.x-blue-2022-07-22
        • quay.io/kiegroup/kogito-runtime-native-nightly:1.13.x-blue-2022-07-22

      Attachments

        Activity

          People

            rhn-support-fspolti Filippe Spolti
            tradisso@redhat.com Tristan Radisson
            Tristan Radisson Tristan Radisson
            Tristan Radisson Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: