You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stratos does not start due to V2 API being disabled
Steps to reproduce the behavior
Log output covering before error and any error statements
2024-12-18T08:05:23.64+0000 [APP/PROC/WEB/0] OUT FATA[Wed Dec 18 08:05:23 UTC 2024] Could not get the info for Cloud Foundry: https://api.blahblah.cloudfoundry/v2/info endpoint returned 404
2024-12-18T08:05:23.64+0000 [APP/PROC/WEB/0] OUT V2 endpoints disabled
Detailed Description
CF cloudcontroller V2 API is due to be retired in the first cut of cf-deployment starting January 2025. We've tried disabling it early to see what breaks.
Stratos is one of the breaks.
Context
Stratos could be re-worked to leverage v3 api calls instead of v2 api calls which would future proof it against this change.
The text was updated successfully, but these errors were encountered:
CF uses a versioned API so any Stratos code that tries to make a CF call that starts with /v2 will not work by default.
So that starts with v2/info (which currently provides good info like auth endpoint)
At the moment, Stratos doesn't start because v2/info doesn't exist. There is a PR for the cf-python-client which has a similar issue. It may be that a similar path could be taken cloudfoundry-community/cf-python-client#221
It looks like this has been discussed previously but de-prioritised. #3149
Majority of the functionality in Stratos already uses the V7 cf cli and v3 endpoints. So the majority of the work may have already been completed. It appears to be just the initial login (finding uaa url from v2/info) with the issue.
Stratos Version
4.4 and v4.8.1
Frontend Deployment type
Backend (Jet Stream) Deployment type
Expected behaviour
App starts nicely and is able to be used
Actual behaviour
Stratos does not start due to V2 API being disabled
Steps to reproduce the behavior
Log output covering before error and any error statements
Detailed Description
CF cloudcontroller V2 API is due to be retired in the first cut of cf-deployment starting January 2025. We've tried disabling it early to see what breaks.
Stratos is one of the breaks.
Context
Stratos could be re-worked to leverage v3 api calls instead of v2 api calls which would future proof it against this change.
The text was updated successfully, but these errors were encountered: