Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19898

todo-backend OpenShift QuickStart doesn't use prepared PostgreSQL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • 35.0.0.Final
    • 35.0.0.Beta1
    • Quickstarts
    • None
    • Hide
      • navigate to "todo-backed" QS folder
      • start command: helm install todo-backend charts --wait --timeout=10m0s

      Note: If the Wildfly server will successfully download the images then it will works. But this will not connect to "remote" database. So in this case the QS doesn't demonstrate its purpose. Please be careful it can looks it works. 

      Show
      navigate to "todo-backed" QS folder start command: helm install todo-backend charts --wait --timeout=10m0s Note: If the Wildfly server will successfully download the images then it will works. But this will not connect to "remote" database. So in this case the QS doesn't demonstrate its purpose. Please be careful it can looks it works.  
    • ---
    • ---

      The todo-backend QS is using PostgreSQL chart to prepare a POD with PostgreSQL database.

      https://github.com/wildfly/quickstart/blob/main/todo-backend/charts/Chart.yaml#L9

      This chart will prepare a PostgreSQL database. But the Wildfly chart have defined it own image for the PostgreSQL. See the image definition here: 

      https://github.com/wildfly/quickstart/blob/main/todo-backend/charts/values.yaml#L49 

      I think this second definition of PostgrSQL image should not exist at all. The Wildfly should use prepared PostgreSQL database.

      In attachment are images with errors what this is causing. 

      On Pods image you can see all pods created by "helm install todo-backend charts --wait --timeout=10m0s"

      As you can see the PostgreSQL database it up and running. so the WildFly server can use it. 

      The WildFly build and runtime build is successfully done and OpenShift try start WildFly server. But it failed to start. because it try to use download PostrgeSQL image. This step is wrong and it should just to connect to prepared database and not download it own image for a database. 

      Note: If the Wildfly server will successfully download the images then it will works. But this will not connect to "remote" database. So in this case the QS doesn't demonstrate its purpose. Please be careful it can looks it works. 

        1. Error.png
          Error.png
          92 kB
        2. Pods.png
          Pods.png
          46 kB

              ehugonne1@redhat.com Emmanuel Hugonnet
              rhn-support-kstekovi Krystof Stekovic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: