New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Pipelines server creation fails on incorrectly formatted s3 endpoint #1350
Comments
Possible solutions:
|
cc @kywalker-rh @yannnz need a UX call here @guimou @erwangranger would you say @HumairAK What is expected values of
|
+1 to this issue. Another issue is that once you attempt to create the DS Pipeline and receive the above error message, if you created the connection as part of the pipeline creation, you can't edit the pipeline. It gives you an error that the connection already exists. If you switch over to the existing connection, the drop down doesn't include it because the connection didn't exist when the modal was opened. |
Assuming you mean |
@HumairAK I did mean that -- didn't self check the value I was talking about. Thanks for catching that & the issue you linked to 👍 |
@strangiato Thanks for that additional information. We are planning to move away from the Data Connection being directly "related" to the DSPA (Pipeline Server) creation in #1214. This is because the DSPA doesn't react to the changes so it gives the user a false sense of connection. |
Is there an existing issue for this?
Current Behavior
If you try to create a pipelines server and you configure the aws s3 endpoint to be a url without a scheme, the frontend will throw an error and not create the pipeline server
Expected Behavior
I expect the s3 endpoint to validate if there is a scheme present as it is required in the pipeline server spec.
i.e.
✅ https://s3.amazonaws.com/
❌ s3.amazonaws.com/
Or at least give a better error message instead of
Cannot read properties of undefined (reading 'replace')
Steps To Reproduce
Create a pipeline server with a object storage AWS_S3_ENDPOINT field set to
s3.amazonaws.com/
Workaround (if any)
Include a scheme to the url
What browsers are you seeing the problem on?
Chrome
Open Data Hub Version
2.11
Anything else
No response
The text was updated successfully, but these errors were encountered: