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

timeout error #77

Open
ljzzju opened this issue Sep 25, 2015 · 0 comments
Open

timeout error #77

ljzzju opened this issue Sep 25, 2015 · 0 comments

Comments

@ljzzju
Copy link

ljzzju commented Sep 25, 2015

Hi all,
when I type command:
fab start_velox:start_local=y

coming with the following error messages.

What should I do to fix it!

Thanks

Traceback (most recent call last):
File "/usr/local/lib64/python2.6/site-packages/Fabric-1.9.2-py2.6.egg/fabric/main.py", line 743, in main
_args, *_kwargs
File "/usr/local/lib64/python2.6/site-packages/Fabric-1.9.2-py2.6.egg/fabric/tasks.py", line 419, in execute
results[''] = task.run(_args, *_new_kwargs)
File "/usr/local/lib64/python2.6/site-packages/Fabric-1.9.2-py2.6.egg/fabric/tasks.py", line 174, in run
return self.wrapped(_args, *_kwargs)
File "/home/ljz/gitrepo/velox-modelserver/bin/cluster/velox_deploy.py", line 458, in start_velox
upload_config_to_etcd()
File "/usr/local/lib64/python2.6/site-packages/Fabric-1.9.2-py2.6.egg/fabric/tasks.py", line 171, in call
return self.run(_args, *_kwargs)
File "/usr/local/lib64/python2.6/site-packages/Fabric-1.9.2-py2.6.egg/fabric/tasks.py", line 174, in run
return self.wrapped(_args, *_kwargs)
File "/home/ljz/gitrepo/velox-modelserver/bin/cluster/velox_deploy.py", line 531, in upload_config_to_etcd
add_settings(etcd_host, ETCD_BASE_PATH, config)
File "/home/ljz/gitrepo/velox-modelserver/bin/cluster/velox_deploy.py", line 515, in add_settings
add_settings(etcd_host, key + "/" + k, v)
File "/home/ljz/gitrepo/velox-modelserver/bin/cluster/velox_deploy.py", line 515, in add_settings
add_settings(etcd_host, key + "/" + k, v)
File "/home/ljz/gitrepo/velox-modelserver/bin/cluster/velox_deploy.py", line 520, in add_settings
add_kv_to_etcd(etcd_host, key, cfg)
File "/home/ljz/gitrepo/velox-modelserver/bin/cluster/velox_deploy.py", line 508, in add_kv_to_etcd
r = requests.put(etcd_host + key_path, data=payload)
File "/usr/local/lib64/python2.6/site-packages/requests-2.6.0-py2.6.egg/requests/api.py", line 121, in put
return request('put', url, data=data, *_kwargs)
File "/usr/local/lib64/python2.6/site-packages/requests-2.6.0-py2.6.egg/requests/api.py", line 50, in request
response = session.request(method=method, url=url, *_kwargs)
File "/usr/local/lib64/python2.6/site-packages/requests-2.6.0-py2.6.egg/requests/sessions.py", line 464, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/local/lib64/python2.6/site-packages/requests-2.6.0-py2.6.egg/requests/sessions.py", line 576, in send
r = adapter.send(request, *_kwargs)
File "/usr/local/lib64/python2.6/site-packages/requests-2.6.0-py2.6.egg/requests/adapters.py", line 370, in send
timeout=timeout
File "build/bdist.linux-x86_64/egg/urllib3/connectionpool.py", line 516, in urlopen
File "build/bdist.linux-x86_64/egg/urllib3/connectionpool.py", line 299, in _make_request
File "build/bdist.linux-x86_64/egg/urllib3/connectionpool.py", line 279, in _get_timeout
File "build/bdist.linux-x86_64/egg/urllib3/util/timeout.py", line 152, in from_float
File "build/bdist.linux-x86_64/egg/urllib3/util/timeout.py", line 95, in init
File "build/bdist.linux-x86_64/egg/urllib3/util/timeout.py", line 125, in _validate_timeout
ValueError: Timeout value connect was Timeout(connect=None, read=None, total=None), but it must be an int or float.

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