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

This patch shows where I have seen blockade getting stuck. #53

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

buzztroll
Copy link
Contributor

WIP I have noticed blockade getting stuck. It seems like the logs never stop running so this never ends? Here is the stack trace:

##### Thread 140157740635904 #####
    File: "/usr/local/lib/python2.7/dist-packages/gevent/threadpool.py", line 196, in _worker
    File: "/usr/local/lib/python2.7/dist-packages/gevent/_threading.py", line 435, in get
    File: "/usr/local/lib/python2.7/dist-packages/gevent/_threading.py", line 151, in wait
waiter.acquire()
##### Thread 140157799274240 #####
    File: "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 534, in run
    File: "/usr/local/lib/python2.7/dist-packages/gevent/baseserver.py", line 25, in _handle_and_close_when_done
    File: "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 1253, in handle
    File: "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 443, in handle
    File: "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 658, in handle_one_request
    File: "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 884, in handle_one_response
    File: "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 870, in run_application
    File: "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1836, in __call__
    File: "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
    File: "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
    File: "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
    File: "/usr/local/lib/python2.7/dist-packages/blockade/api/rest.py", line 115, in add
    File: "/usr/local/lib/python2.7/dist-packages/blockade/core.py", line 485, in add_container
    File: "/usr/local/lib/python2.7/dist-packages/blockade/core.py", line 111, in _init_container
    File: "/usr/local/lib/python2.7/dist-packages/blockade/net.py", line 85, in get_container_device
    File: "/usr/local/lib/python2.7/dist-packages/blockade/utils.py", line 49, in docker_run
    File: "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 252, in _multiplexed_response_stream_helper
    File: "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/response.py", line 380, in read
    File: "/usr/lib/python2.7/httplib.py", line 588, in read
    File: "/usr/lib/python2.7/httplib.py", line 630, in _read_chunked
    File: "/usr/lib/python2.7/socket.py", line 480, in readline
    File: "/usr/local/lib/python2.7/dist-packages/blockade/api/rest.py", line 36, in stack_trace_handler
for filename, lineno, name, line in traceback.extract_stack(stack):
 === Stack trace End ===```

Base automatically changed from master to main March 20, 2021 17:08
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

Successfully merging this pull request may close these issues.

None yet

1 participant