Closed ansaries closed 2 months ago
Have you configured customerAssetVolumeClaimName? By using a ReadWriteMany persistent volume claim all pods will share the same assets without any copying
Hi, @ansaries Could you please go to Infinity's dev studio Clipboard -> System Pages and select pxProcess and check the values for environmentID and pxSystemName before and after restart? Do they change on restart? Could you please share those details? Thanks!
And also pxSystemNode.
pxSystemNode
Yes, offcourse.
Hi, @ansaries Could you please go to Infinity's dev studio Clipboard -> System Pages and select pxProcess and check the values for environmentID and pxSystemName before and after restart? Do they change on restart? Could you please share those details? Thanks!
Sure I will do it and will provide info as asked.
environmentID
Hey @nikhilparmar86 yes the hostnames get updated in the px process. following are the evidences: Before:
After:
I hope this answers the question.
Thank you @ansaries for your response. This is the reason for your issue. Is it possible for you, Can we try to set a fixed value for systemname or nodename at the time of deployment?
Thank you @ansaries for your response. This is the reason for your issue. Is it possible for you, Can we try to set a fixed value for systemname or nodename at the time of deployment?
Hey @nikhilparmar86, I will have to deploy the Pega Nodes as a Statefull-Set instead of Deployment. Well for sure the hostname will never be changed but:
If you think it is fine then I don't mind :)
Thanks, Arslan.
ok @ansaries, but if the unknowing pod restarts for any reason, would the name change pega-web-x or remain same? yes, you can copy assets to the respective new directory portal should work, Alternatively you can save your constellation based application or Reset(remove value save then put same value again to constellation service URL) ConstellationSVCUrl DSS should trigger sync assets to constellation-appstatic service.
Thank you for your support.
Describe the bug I have created the Constellation App Static Service as a StatefullSet, allowing it to use the same PVC upon restart. However, every time a new Pod is created it does not copy the customer assets into its
components
folder as a new folder with the name of the webnode pod is created in thecustomers
folder.To Reproduce Kill a running WebNode Pod, it will recreate the Pod with a new name.
Expected behavior Constellation App Static should copy the customer assets into the newly created
<folder with webnode's newly created pod name>/components
Chart version Latest
Server (if applicable, please complete the following information):
Additional context