pegasystems / pega-helm-charts

Orchestrate a Pega Platform™ deployment by using Docker, Kubernetes, and Helm to take advantage of Pega Platform Cloud Choice flexibility.
https://community.pega.com/knowledgebase/articles/cloud-choice
Apache License 2.0
124 stars 198 forks source link

Unable to load server.xml #693

Closed gueney-suembuel closed 7 months ago

gueney-suembuel commented 7 months ago

Describe the bug Due to the following change, he Pod for Web/Batch isn't able to start. > https://github.com/pegasystems/pega-helm-charts/commit/7d03c0fa8e26b2b5d32f62e2e0baca16e503b236

In the logs you can see following entry: image

To Reproduce Update the helm repository and try to deploy.

Expected behavior The pod will not start. In the logs an error is visible which tells you, that server.xml was unable to load.

Chart version Pega 3.13.0

Server (if applicable, please complete the following information):

Additional context

Saurabh-16 commented 7 months ago

Hi @gueney-suembuel , Can you please try to use the latest docker image. I believe you are using older docker images with latest helm charts. Can you please pull the latest image and let us know if the issue still persists?

gueney-suembuel commented 7 months ago

Hi @gueney-suembuel , Can you please try to use the latest docker image. I believe you are using older docker images with latest helm charts. Can you please pull the latest image and let us know if the issue still persists?

Hi @Saurabh-16 Thank you for your reply. We actually use 8.8.2 and we don't plan to update it yet, so i can't test it right now. Is there any Compatibility-List, which Image-Version and Pega-Helm-Chart-Version is compatible?

gueney-suembuel commented 7 months ago

Hi @Saurabh-16 I downloaded the latest docker image 8.8.2 and tried again with the same result.

Saurabh-16 commented 7 months ago

Hi @gueney-suembuel , Can you please try to use the latest docker image. I believe you are using older docker images with latest helm charts. Can you please pull the latest image and let us know if the issue still persists?

Hi @Saurabh-16 Thank you for your reply. We actually use 8.8.2 and we don't plan to update it yet, so i can't test it right now. Is there any Compatibility-List, which Image-Version and Pega-Helm-Chart-Version is compatible?

Hi @gueney-suembuel :- There is no need to update , we are just asking to refresh your 8.8.2 image with the latest images from Pegasystems. We had made some changes in the base docker image and hence latest image is required with this helm chart version.

Can you share the image digest you are using for your deployments. From where you are pulling the images. Makes sure in the deployment yaml , imagePullPolicy should be set as Always to avoid any caching issue. Also share the logs from pega-web containers.

gueney-suembuel commented 7 months ago

Hi @Saurabh-16 Indeed i learnt now two crucial things from you. Due to that it works now.

  1. I updated my image.
  2. I set the imagePullPolicy to Always.

I really appreciate your help. Thank you very much :)

Saurabh-16 commented 7 months ago

Thanks @gueney-suembuel for the confirmation. I'm closing the issue now.