We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of MLRun CE.
https://github.com/mlrun/demos/blob/master/tutorials/05-model-monitoring.ipynb
serving_fn = mlrun.import_function('hub://v2_model_server')
serving_fn.add_model(model_name, model_path=model_artifact.uri)
serving_fn.set_tracking() mlrun.deploy_function(serving_fn) Starting remote function deploy
2023-06-19 11:29:06,680 [error] error submitting build task: 400 Client Error: Bad Request for url: http://localhost:30070/api/v1/build/function: details: {'reason': {'reason': 'runtime error: failed creating tutorial-satyaraj-serving'}}
HTTPError Traceback (most recent call last) ~/anaconda3/envs/dev-task-mlrun/lib/python3.8/site-packages/mlrun/errors.py in raise_for_status(response, message) 75 try: ---> 76 response.raise_for_status() 77 except requests.HTTPError as exc:
~/anaconda3/envs/dev-task-mlrun/lib/python3.8/site-packages/requests/models.py in raise_for_status(self) 1020 if http_error_msg: -> 1021 raise HTTPError(http_error_msg, response=self) 1022
HTTPError: 400 Client Error: Bad Request for url: http://localhost:30070/api/v1/build/function
2023-03-12 17:02:38,651 [info] Starting remote function deploy 2023-03-12 17:02:40 (info) Deploying function 2023-03-12 17:02:40 (info) Building 2023-03-12 17:02:40 (info) Staging files and preparing base images 2023-03-12 17:02:40 (info) Building processor image 2023-03-12 17:03:40 (info) Build complete 2023-03-12 17:03:51 (info) Function deploy complete 2023-03-12 17:03:52,969 [info] successfully deployed function: {'internal_invocation_urls': ['nuclio-tutorial-yonis-serving.default-tenant.svc.cluster.local:8080'], 'external_invocation_urls': ['tutorial-yonis-serving-tutorial-yonis.default-tenant.app.vmdev30.lab.iguazeng.com/']} DeployStatus(state=ready, outputs={'endpoint': 'http://tutorial-yonis-serving-tutorial-yonis.default-tenant.app.vmdev30.lab.iguazeng.com/', 'name': 'tutorial-yonis-serving'})
Mac
Kubernetes
3.8.8
1.2.1
Please help as I am just executing the demo notebook as is.
The text was updated successfully, but these errors were encountered:
I'm also getting the same error...
Sorry, something went wrong.
No branches or pull requests
MLRun Version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of MLRun CE.
Reproducible Example
Issue Description
Import the serving function from the Function Hub and mount filesystem
serving_fn = mlrun.import_function('hub://v2_model_server')
Add the model to the serving function's routing spec
serving_fn.add_model(model_name, model_path=model_artifact.uri)
Enable model monitoring
serving_fn.set_tracking()
mlrun.deploy_function(serving_fn)
Starting remote function deploy
HTTPError Traceback (most recent call last)
~/anaconda3/envs/dev-task-mlrun/lib/python3.8/site-packages/mlrun/errors.py in raise_for_status(response, message)
75 try:
---> 76 response.raise_for_status()
77 except requests.HTTPError as exc:
~/anaconda3/envs/dev-task-mlrun/lib/python3.8/site-packages/requests/models.py in raise_for_status(self)
1020 if http_error_msg:
-> 1021 raise HTTPError(http_error_msg, response=self)
1022
HTTPError: 400 Client Error: Bad Request for url: http://localhost:30070/api/v1/build/function
Expected Behavior
Installation OS
Mac
Installation Method
Kubernetes
Python Version
3.8.8
MLRun Version
1.2.1
Additional Information
Please help as I am just executing the demo notebook as is.
The text was updated successfully, but these errors were encountered: