Skip to content
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

develop test failed on win10: qf startup error *Option ‘thread_pool_size’ does not exist* #773

Open
potoo0 opened this issue Oct 15, 2020 · 0 comments

Comments

@potoo0
Copy link

potoo0 commented Oct 15, 2020

my env:

  • OS: win10
  • docker:
    • docker desktop version: 2.4.0
    • docker version: 19.03.13
  • python: 3.7.7
    • clipper-admin: develop

I followed this script:

from clipper_admin import ClipperConnection, DockerContainerManager
clipper_conn = ClipperConnection(DockerContainerManager())
clipper_conn.start_clipper()

but got error:

20-10-15:17:04:45 INFO     [docker_container_manager.py:192] [default-cluster] Starting managed Redis instance in Docker
20-10-15:17:04:47 INFO     [docker_container_manager.py:294] [default-cluster] Metric Configuration Saved at C:\Users\potoo\AppData\Local\Temp\tmpuk9324e9.yml
Traceback (most recent call last):
  File "E:\ClipperAI\installDocker.py", line 3, in <module>
    clipper_conn.start_clipper()
  File "D:\Miniconda3\lib\site-packages\clipper_admin\clipper_admin.py", line 139, in start_clipper
    qf_http_timeout_content, num_frontend_replicas)
  File "D:\Miniconda3\lib\site-packages\clipper_admin\docker\docker_container_manager.py", line 313, in start_clipper
    self.connect()
  File "D:\Miniconda3\lib\site-packages\clipper_admin\docker\docker_container_manager.py", line 338, in connect
    'query_rest']]
KeyError: 'ai.clipper.query_frontend.query.port'

and query_frontend container startup error:

terminate called after throwing an instance of 'cxxopts::option_not_exists_exception'

what(): Option ‘thread_pool_size’ does not exist

Metric Configuration (C:\Users\potoo\AppData\Local\Temp\tmpuk9324e9.yml):

global:
  evaluation_interval: 5s
  scrape_interval: 5s
scrape_configs:
- job_name: query
  static_configs:
  - targets:
    - query_frontend_exporter-66792:1390

How to fix it? Or this project does not support windows?

(And it's terrible to start a new containers every time when I encounter startups error. Maybe we could add auto cleanup script after startup error)

@potoo0 potoo0 changed the title develop test failed on win10: '' develop test failed on win10: qf startup error *Option ‘thread_pool_size’ does not exist* Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant