Hydrospheredata / hydro-serving

MLOps Platform
http://docs.hydrosphere.io
Apache License 2.0
271 stars 42 forks source link

Having issues with HS upload - just pulled from the /master branch #255

Closed ravimadhusudhan8 closed 5 years ago

ravimadhusudhan8 commented 5 years ago

Getting this error when using a latest version of hydro-serving. Looks like there is an issue

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://localhost/api/v1/model/upload

meittemarceline commented 5 years ago

I have the same error too. @ravimadhusudhan8 did you have the error describe below https://github.com/Hydrospheredata/hydro-serving/issues/253 I need help.

ravimadhusudhan8 commented 5 years ago

@meittemarceline I have not tried to build it

tidylobster commented 5 years ago

We are currently working on the major v2 release. There might be some issues related to the API interactions, but we will resolve them as soon as possible. To fix you can install the latest cli release candidate.

pip install hs==2.0.0rc2

ravimadhusudhan8 commented 5 years ago

Thanks for the suggestion. installed the version as suggested - getting this error

hs-upload-error add-serving yaml

Please provide a combination of branch/tag and HS version that works for you. Does not have to be the latest - we are in the middle of getting Hydroserving tested on AWS EKS

Thanks @tidylobster

tidylobster commented 5 years ago

Yeah, we've also made small changes to manifests. You just have to specify the runtime for the model. Something like:

kind: Model
runtime: "hydrosphere/serving-runtime-python:3.6-latest"
...
ravimadhusudhan8 commented 5 years ago

adding runtime: "hydrosphere/serving-runtime-python:3.6-latest" to serving.yaml made it work!

works

Thanks @tidylobster