stratos icon indicating copy to clipboard operation
stratos copied to clipboard

App Deployment via Stratos Fails

Open milen-a-radev opened this issue 1 year ago • 2 comments

Stratos Version

4.8.1

Frontend Deployment type

  • [x] Cloud Foundry Application (cf push)
  • [ ] Kubernetes, using a helm chart
  • [ ] Docker, single container deploying all components
  • [ ] npm run start
  • [ ] Other (please specify below)

Backend (Jet Stream) Deployment type

  • [x] Cloud Foundry Application (cf push)
  • [ ] Kubernetes, using a helm chart
  • [ ] Docker, single container deploying all components
  • [ ] Other (please specify below)

Expected behaviour

Deployment of application into cloud foundry via stratos UI is successful

Actual behaviour

Deployment of application into cloud foundry via stratos UI is not successful.

Steps to reproduce the behavior

  • Login to Stratos UI app
  • On the right side shortcuts panel, click on "Deploy an Application"
  • Click on "Application Folder".
  • Select a Cloud Foundry instance, organization and space from the dropdown lists
  • Click on the "Application Folder" and choose the "folder" from the local machine
  • Click on "Deploy"
  • See "Deploy Failed!" and "Failed to deploy app! Reason: Failed due to !"
stratos_failure

Log output covering before error and any error statements

2024-12-10T18:05:19.30+0200 [APP/PROC/WEB/1] OUT ERRO[Tue Dec 10 16:05:19 UTC 2024] minimum not met                               current=2.245.0 minimum=3.99.0
2024-12-10T18:05:19.30+0200 [APP/PROC/WEB/1] OUT WARN[Tue Dec 10 16:05:19 UTC 2024] Failed to execute due to:
2024-12-10T18:05:19.31+0200 [APP/PROC/WEB/1] OUT echo: http: response.WriteHeader on hijacked connection from github.com/labstack/echo/v4.(*Response).WriteHeader (response.go:63)
2024-12-10T18:05:19.31+0200 [APP/PROC/WEB/1] OUT echo: http: response.Write on hijacked connection from github.com/labstack/echo/v4.(*Response).Write (response.go:75)
2024-12-10T18:05:19.31+0200 [APP/PROC/WEB/1] OUT {"time":"2024-12-10T16:05:19.310918005Z","level":"ERROR","prefix":"echo","file":"main.go","line":"1141","message":""}

Detailed Description

If we try to deploy any app via stratos UI the app deployment isn't happening and also we don't see too much logs in the stratos app as well.

We see the same error if we try to deploy from a GitHub repo.

This is the same error described in https://github.com/cloudfoundry-community/stratos/issues/49

milen-a-radev avatar Dec 10 '24 16:12 milen-a-radev

Hi, did anyone have a look on this yet? We are about to investigate it a bit more and were thinking about bumping the runtime versions in the stratus project and therefore in the according stratos buildpack project as well as the error message suggest that some minimum version requirement is not met?

mauricebrinkmann avatar Mar 12 '25 10:03 mauricebrinkmann

There is a new PR about it :-) https://github.com/cloudfoundry/stratos/pull/5064

mauricebrinkmann avatar Mar 13 '25 10:03 mauricebrinkmann