Skip to content

timeout error #77

@ljzzju

Description

@ljzzju

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions