Tempest errors running mistral-api as wsgi in apache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Running tempest tests on a mistral deployment from master (pike cycle) with mistral api in WSGI we get intermitent failures in different jobs with similar trace:
{1} mistral_
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/usr/lib/
resp, body = self.client.
File "/usr/lib/
resp, body = self.post_
File "/usr/lib/
return self.post(url, base.get_
File "/usr/lib/
return self.request(
File "/usr/lib/
body=body, chunked=chunked)
File "/usr/lib/
File "/usr/lib/
body=body, chunked=chunked)
File "/usr/lib/
*args, **new_kwargs)
File "/usr/lib/
File "/usr/lib/
return self.urlopen(
File "/usr/lib/
response = conn.urlopen(
File "/usr/lib/
File "/usr/lib/
File "/usr/lib64/
File "/usr/lib64/
version, status, reason = self._read_status()
File "/usr/lib64/
line = self.fp.
File "/usr/lib64/
data = self._sock.
File "/usr/lib64/
return self.read(buflen)
File "/usr/lib64/
v = self._sslobj.
File "/usr/lib/
raise TimeoutException()
fixtures.
In all failures we find following error message in mistral apache wsgi log:
[Wed Mar 08 14:07:41.424793 2017] [:error] [pid 29897] Traceback (most recent call last):
[Wed Mar 08 14:07:41.424844 2017] [:error] [pid 29897] File "/usr/lib/
[Wed Mar 08 14:07:41.425250 2017] [:error] [pid 29897] timer()
[Wed Mar 08 14:07:41.425277 2017] [:error] [pid 29897] File "/usr/lib/
[Wed Mar 08 14:07:41.425381 2017] [:error] [pid 29897] cb(*args, **kw)
[Wed Mar 08 14:07:41.425401 2017] [:error] [pid 29897] File "/usr/lib/
[Wed Mar 08 14:07:41.425584 2017] [:error] [pid 29897] waiter.switch()
[Wed Mar 08 14:07:41.425612 2017] [:error] [pid 29897] error: cannot switch to a different thread
Which i think it's related to the issue.
We are hitting this in RDO-CI jobs. You can find full logs for a failed job in:
https:/
Changed in mistral: | |
assignee: | nobody → Brad P. Crochet (brad-9) |
Changed in mistral: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → rocky-2 |
Changed in mistral: | |
milestone: | rocky-2 → rocky-3 |
Changed in mistral: | |
milestone: | rocky-3 → stein-1 |
Changed in mistral: | |
milestone: | stein-1 → none |
assignee: | Brad P. Crochet (brad-9) → nobody |
We haven't hit this error after 17-march so i think it has been fixed by some of the commits merged between 14-march (last hit) and 17-march (firs success).