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

worked as lock_server and result_server,only support concurrent job <5 #47

Open
mayjiang0203 opened this issue Nov 24, 2014 · 1 comment

Comments

@mayjiang0203
Copy link

I follows README.rst to setup my paddles server,when 5 teuthology-worker was started,one job connect will be reset,the log print as follows:

2014-11-21T22:50:34.281 INFO:teuthology.run:Found tasks at /root/src/ceph-qa-suite-master/tasks
2014-11-21T22:50:34.282 INFO:teuthology.run_tasks:Running task internal.lock_machines...
2014-11-21T22:50:34.282 INFO:teuthology.task.internal:Locking machines...
2014-11-21T22:51:24.961 DEBUG:teuthology.lock:lock_many request: {'count': 2, 'os_type': 'centos', 'locked_by': '[email protected]', 'description': '/var/www/html/teuthology2/root-2014-11-21_15:59:07-rgw-master-distro-basic-plana/10', 'machine_type': 'plana'}
2014-11-21T22:53:08.189 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
File "/root/src/teuthology-master/virtualenv/lib/python2.7/site-packages/teuthology-0.1.0-py2.7.egg/teuthology/run_tasks.py", line 55, in run_tasks
manager.enter()
File "/root/.pyenv/versions/2.7.8/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "/root/src/teuthology-master/virtualenv/lib/python2.7/site-packages/teuthology-0.1.0-py2.7.egg/teuthology/task/internal.py", line 105, in lock_machines
ctx.archive, os_type, os_version, arch)
File "/root/src/teuthology-master/virtualenv/lib/python2.7/site-packages/teuthology-0.1.0-py2.7.egg/teuthology/lock.py", line 357, in lock_many
headers={'content-type': 'application/json'},
File "/root/src/teuthology-master/virtualenv/lib/python2.7/site-packages/requests/api.py", line 94, in post
return request('post', url, data=data, json=json, *_kwargs)
File "/root/src/teuthology-master/virtualenv/lib/python2.7/site-packages/requests/api.py", line 49, in request
return session.request(method=method, url=url, *_kwargs)
File "/root/src/teuthology-master/virtualenv/lib/python2.7/site-packages/requests/sessions.py", line 457, in request
resp = self.send(prep, *_send_kwargs)
File "/root/src/teuthology-master/virtualenv/lib/python2.7/site-packages/requests/sessions.py", line 569, in send
r = adapter.send(request, *_kwargs)
File "/root/src/teuthology-master/virtualenv/lib/python2.7/site-packages/requests/adapters.py", line 407, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error(104, 'Connection reset by peer'))

@mayjiang0203
Copy link
Author

i fixed this problem by running Pecan applications with uWSGI.

http://pecan.readthedocs.org/en/latest/deployment.html#deployment

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