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
If I start two workspaces containing an endpoint with the same name, the dev workspace controller enters a loop. As a result, both namespaces do not start and remain stuck on "Preparing Service".
che-bot
added
the
status/need-triage
An issue that needs to be prioritized by the curator responsible for the triage. See https://github.
label
Nov 4, 2024
@eye0fra Thank you for reporting this. For what its worth, this is an internally known DWO issue that's currently only documented as a TODO.
I'm not sure if there's any effective way for us to solve this: discoverable endpoints are intended to have services with a static, predefined name so that you can predict what the service will be called. If we add some level of randomization to the service's name, then it will no longer have a static name.
When starting up a workspace, we might be able to check if another workspace defines a service with the same name and fail the workspace if so, to alert the user that they need to use a different discoverable endpoint name?
Additionally, it should be documented that different devfiles used by the same user cannot define discoverable endpoints with the same name.
I agree that notifying the user is the best approach for now. This way, they can make the necessary edits to the DW/devfile accordingly.
AObuchow
removed
the
status/need-triage
An issue that needs to be prioritized by the curator responsible for the triage. See https://github.
label
Nov 5, 2024
Describe the bug
If I start two workspaces containing an endpoint with the same name, the dev workspace controller enters a loop. As a result, both namespaces do not start and remain stuck on "Preparing Service".
sample devfile
Che version
7.93@latest
Steps to reproduce
Expected behavior
Both workspaces should start without any issues
Runtime
OpenShift
Screenshots
Installation method
OperatorHub
Environment
other (please specify in additional context)
Eclipse Che Logs
No response
Additional context
Environment:
DevSpaces Version: 3.16.1
DevWorkspaces Operator Version: 0.30.2
The text was updated successfully, but these errors were encountered: