Open Sharathmk99 opened 4 years ago
Just ran into this too. you can set config: null
multiplier: null
rerank: null
search_path: null
in helm values.yaml
or use --set args.config=null --set args.multiplier=null --set args.rerank=null --set args.search_path=null
on the command line for helm install
in addition to @si-rob lr: null
it's also needed but still, there is an issue with the models:
nboost OSError: Model name 'pt-bert-base-uncased-msmarco' was not found in model name list (bert-base-uncased, bert-large-uncased,...)
Also:
│ nboost Traceback (most recent call last): │
│ nboost File "/opt/conda/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request │
│ nboost rv = self.dispatch_request() │
│ nboost File "/opt/conda/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request │
│ nboost return self.view_functions[rule.endpoint](**req.view_args) │
│ nboost File "/opt/conda/lib/python3.6/site-packages/nboost/proxy.py", line 123, in proxy_through │
│ nboost plugin.on_response(response, db_row) │
│ nboost File "/opt/conda/lib/python3.6/site-packages/nboost/plugins/rerank/base.py", line 32, in on_response │
│ nboost query=response.request.query, │
│ nboost File "/opt/conda/lib/python3.6/site-packages/nboost/delegates.py", line 74, in query │
│ nboost raise MissingQuery │
│ nboost nboost.exceptions.MissingQuery │
│ nboost 10.28.5.1 - - [02/Apr/2020 11:29:56] "GET / HTTP/1.1" 500 - │
│ <STREAM> closed
So the configured probes in helm are causing that MissingQuery
exception, disabling the probes is workaround thou.
Now Next error:
│ nboost E:Proxy:[pro:han:132]: │
│ nboost Traceback (most recent call last): │
│ nboost File "/opt/conda/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request │
│ nboost rv = self.dispatch_request() │
│ nboost File "/opt/conda/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request │
│ nboost return self.view_functions[rule.endpoint](**req.view_args) │
│ nboost File "/opt/conda/lib/python3.6/site-packages/nboost/proxy.py", line 78, in status_path │
│ nboost stats = db.get_stats() │
│ nboost File "/opt/conda/lib/python3.6/site-packages/nboost/database.py", line 58, in get_stats │
│ nboost cursor = self.get_cursor() │
│ nboost File "/opt/conda/lib/python3.6/site-packages/nboost/database.py", line 16, in get_cursor │
│ nboost conn = sqlite3.connect(str(self.db_file), isolation_level=None) │
│ nboost sqlite3.OperationalError: unable to open database file │
│ nboost 10.28.3.9 - - [02/Apr/2020 12:08:50] "GET /nboost/status?_=1585829302327 HTTP/1.1" 500 -
@jalberto I have same error, but wtihout Kubernetes set up. What kind of database we are talking about here? Is some config key is missing?
@colethienes Also validated and got same result by using standalone pip package. Anybody have an idea what's wrong with it?
It's elasticsearch, I still was not able to make this work
El lun., 13 abr. 2020 13:51, Konstantin Perikov notifications@github.com escribió:
@jalberto https://github.com/jalberto I have same error, but wtihout Kubernetes set up. What kind of database we are talking about here? Is some config key is missing?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/koursaros-ai/nboost/issues/56#issuecomment-612866882, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYMV64NRZQ2WS6FUUSUZDRML3SFANCNFSM4LFEB5EA .
@jalberto I doubt, error message is saying
sqlite3.OperationalError: unable to open database file
which is have to do with sqlite, not Elastic itself. Also I managed to make it working on 0.3.3 which means, that it's potentially a bug introduced
Most likely the same bug as #61
Hi,
I'm trying to install nboost in Kubernetes cluster using below command,
helm install nboost --set replicaCount=3 --set service.type=ClusterIP --set args.uhost=elasticsearch-elasticsearch-coordinating-only nboost/nboost
Its crashing,
Can you please help.