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

Postconfigure.sh not executed as custom KieServer S2I script

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Minor
    • Resolution: Done
    • 7.10.0.GA
    • 7.13.0.GA
    • Cloud
    • None
    • OpenShift 4.x

       

    • ER1
    • Hide

      Unpack the extensions.zip file in the current dir.

      $ oc new-project pam-demo

      $ oc import-image rhpam-kieserver-rhel8:7.10.0 --from=registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.10.0 --confirm

      $ oc new-app --as-deployment-config -i pam-demo/rhpam-kieserver-rhel8:7.10.0 --name kieserver

      $ oc create configmap jboss-cli --from-file=postconfigure.sh=extensions/postconfigure.sh --from-file=extensions.cli=extensions/extensions.cli

      $ oc set volume dc/kieserver --add --name=jboss-cli -m /opt/eap/extensions -t configmap --configmap-name=jboss-cli --default-mode='0755' --overwrite

       

      The deploymentconfig rollout that follows works with eap73-openjdk11-openshift-rhel8 image but it does not execute the postconfigure.sh with rhpam-kieserver-rhel8:7.10.0

      Show
      Unpack the extensions.zip file in the current dir. $ oc new-project pam-demo $ oc import-image rhpam-kieserver-rhel8:7.10.0 --from=registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.10.0 --confirm $ oc new-app --as-deployment-config -i pam-demo/rhpam-kieserver-rhel8:7.10.0 --name kieserver $ oc create configmap jboss-cli --from-file=postconfigure.sh=extensions/postconfigure.sh --from-file=extensions.cli=extensions/extensions.cli $ oc set volume dc/kieserver --add --name=jboss-cli -m /opt/eap/extensions -t configmap --configmap-name=jboss-cli --default-mode='0755' --overwrite   The deploymentconfig rollout that follows works with eap73-openjdk11-openshift-rhel8 image but it does not execute the postconfigure.sh with rhpam-kieserver-rhel8:7.10.0
    • Workaround Exists
    • Hide

      Need to add a delayedpostconfigure.sh script.

      Show
      Need to add a delayedpostconfigure.sh script.
    • 2022 Week 08-10 (from Feb 21)
    • ?

    Description

      Inside the PAM base image (deriving from the EAP one) when a postconfigure.sh script is introduced as an extension, it is not executed unless another delayedpostconfigure.sh script is present.

      Attachments

        Activity

          People

            rhn-support-fspolti Filippe Spolti
            fmarchio@redhat.com Francesco Marchioni
            Jakub Schwan Jakub Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: