SlideRuleEarth / sliderule-prov-sys

Provisioning System for Slide Rule clusters
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Add a shutdown cmd to the ps-server to be called when Disable Provisioning is set #109

Closed cugarteblair closed 11 months ago

cugarteblair commented 12 months ago

During deployment the state forces a SetUp (i.e. Configure) but this can connect to the old ps-server leaving the Org without terraform files being initialized. Then any Update fails and the error indicates a need for a terrafom initialization. A manual Configure fixes this.

cugarteblair commented 11 months ago

Turns out that exiting the container kills the AWS service. So a different implementation was used. Now the ps-server will always deploy with a different port than the one that is running so that during deploys the old ps-web will only connect to the old ps-server and the new ps-web will only connect to the new ps-server