Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24015

(doc) chapter 2 - Jboss eap on Openshift is wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.4.6.GA
    • Documentation, OpenShift
    • None
    • False
    • Hide
      Instruction are incorrect

      You should not refer the eap-demo for image steam but openshift
      Show
      Instruction are incorrect You should not refer the eap-demo for image steam but openshift
    • False
    • Documentation (Ref Guide, User Guide, etc.)

      1.-  Issue description

       

       

      Chapter 2 instructions are wrongChapter 2. Build and Run a Java Application on the JBoss EAP for OpenShift Image

       

      https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.4/html/getting_started_with_jboss_eap_for_openshift_container_platform/build_run_java_app_s2i

       

      2 - Fix You should provide all the templates manipulation versus openshift name space

      The correct instructions are as follows:

      oc new-project eap-demo

       

      oc create secret generic eap7-app-secret --from-file=keystore.jks

      oc create -f 1979710_orivat-sup-secret.yaml

      oc secrets link default <service-account>-pull-secret --for=pull

      oc secrets link builder <service-account>-pull-secret --for=pull

       

      for resource in   eap74-amq-persistent-s2i.json   eap74-amq-s2i.json   eap74-basic-s2i.json   eap74-https-s2i.json   eap74-sso-s2i.json;  do   oc -n openshift replace -f https://raw.githubusercontent.com/jboss-container-images/jboss-eap-openshift-templates/eap74/templates/${resource}; done

      for resource in   eap74-amq-persistent-s2i.json   eap74-amq-s2i.json   eap74-basic-s2i.json   eap74-https-s2i.json   eap74-sso-s2i.json;  do   oc -n openshift apply -f https://raw.githubusercontent.com/jboss-container-images/jboss-eap-openshift-templates/eap74/templates/${resource}; done

      oc new-app --template=eap74-basic-s2i   -p IMAGE_STREAM_NAMESPACE=openshift  -p EAP_IMAGE_NAME=jboss-eap74-openjdk8-openshift:7.4.0 -p EAP_RUNTIME_IMAGE_NAME=jboss-eap74-openjdk8-runtime-openshift:7.4.0 -p SOURCE_REPOSITORY_URL=https://github.com/jboss-developer/jboss-eap-quickstarts -p SOURCE_REPOSITORY_REF=7.4.x -p CONTEXT_DIR=kitchensink
      --> Deploying template "openshift/eap74-basic-s2i" to project eap-demo

       

       

       

            Unassigned Unassigned
            rhn-support-orivat Olivier Rivat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: