-
Notifications
You must be signed in to change notification settings - Fork 834
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
Permission denied while reading ./openapi/seldon.json in seldon-container-engine #1855
Comments
@axsaucedo, please take a look at this. |
@aguschin thanks for reporting I can confirm this can be replicated, we'll have a look why this is the case. |
@aguschin, I have just built the executor image locally, which resulted in the correct/expected behaviour without errors. There may be an issue with our automated build. I will have a look why this is the case. However, even if there is an error, if the file exists then you should still be able to access it. You need a trailing slash in doc namely |
Following the above instruction on how to reproduce the error, I did the following:
Also I did the same on our dev cluster with usual k8s (not kind installation) with the same results, the only difference is the URL ( Is this sufficient to answer the question? Also, in
|
Ok @aguschin I have just confirmed that our build pipeline was having issues, so it has not been building the images correctly. I have triggered a build just now, I will wait until it's finished building and will give you a heads up - it may be enough to fix the issue (as you're currently using the snapshot build). |
I just tried new build which appeared in docker hub, but without luck, same error in logs. |
Hello, @axsaucedo! Any updates on this? |
Hello, guys. First of all, thank you for developing Seldon-core, its fantastic.
I have tried to access
http://<ingress_url>/seldon/<namespace>/<model-name>/api/v1.0/doc/
endpoint to send some requests with UI, as suggested in https://docs.seldon.io/projects/seldon-core/en/latest/workflow/github-readme.html, but stumbled over an erroropen ./openapi/seldon.json: permission deniedFailed to embed variables on OpenAPI template
in seldon-container-engine. Here are steps to reproduce the error (assuming kind is already installed).To save your time here is the MR which introduced this functionality: #1730
kind create cluster
installing latest helm chart from repo
helm install seldon-core ./helm-charts/seldon-core-operator --namespace seldon-system
Using example from https://github.com/SeldonIO/seldon-core/blob/master/executor/README.md
api/v1.0/doc
endpoint, I get "404 page not found".api/v1.0/predictions
endpoint works as usual.That said, this may be a bug or it is me doing something wrong. If this is the case, please comment what steps should be taken to successfully access api/v1.0/doc.
The text was updated successfully, but these errors were encountered: