timeout while inserting large free-space message
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Landscape Client |
Fix Released
|
High
|
Kevin McDermott | ||
| landscape-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
| Intrepid |
Fix Released
|
Undecided
|
Unassigned | ||
| Jaunty |
Fix Released
|
Undecided
|
Unassigned | ||
| Karmic |
Fix Released
|
Undecided
|
Unassigned | ||
| Lucid |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Computer 236 today decided to send a large free-space message:
len(msg[
I'm attaching it to the ticket.
This results in a backtrace on the server:
Traceback (most recent call last):
File "src/canonical/
self.
File "src/canonical/
return handler(type, body)
File "src/canonical/
return function(
File "src/canonical/
return original(*new_args, **new_kwargs)
File "src/canonical/
timestamp)
File "src/canonical/
resource.
File "src/canonical/
return self.store.
File "/srv/landscape
self.flush()
File "/srv/landscape
self.
File "/srv/landscape
result = self._connectio
File "/srv/landscape
result = Connection.
File "/srv/landscape
raw_cursor = self.raw_
File "/srv/landscape
return Connection.
File "/srv/landscape
statement, params or ())
File "/srv/landscape
attr(*args, **kwargs)
File "/srv/landscape
raise TimeoutError(
TimeoutError: 'INSERT INTO free_space (free_space, mount_info_id, "timestamp") VALUES (%s, %s, %s) RETURNING free_space.id', [<storm.
ject at 0x2aaaad12b650>, <storm.
Related branches
- Thomas Herve (community): Approve
- Free Ekanayaka (community): Approve
-
Diff: 115 lines (+74/-5)2 files modifiedlandscape/monitor/mountinfo.py (+8/-3)
landscape/monitor/tests/test_mountinfo.py (+66/-2)
| Changed in landscape: | |
| milestone: | mthood-pre-4 → mthood |
| Changed in landscape: | |
| milestone: | later → thames-pre-3 |
| Changed in landscape: | |
| milestone: | thames-pre-3 → thames-pre-4 |
| Changed in landscape: | |
| milestone: | thames-pre-4 → thames |
| Changed in landscape: | |
| milestone: | thames → thames+1 |
| Changed in landscape: | |
| milestone: | thames+1 → later |
| Changed in landscape: | |
| status: | Confirmed → In Progress |
| assignee: | nobody → Kevin McDermott (bigkevmcd) |
| affects: | landscape → landscape-client |
| Changed in landscape-client: | |
| milestone: | later → none |
| tags: | added: fix-it-friday |
| Changed in landscape-client: | |
| status: | In Progress → Fix Committed |
| milestone: | none → 1.4.4 |
| visibility: | private → public |
| tags: | removed: sooner-than-later |
| tags: | added: needs-testing |
| Changed in landscape-client: | |
| status: | Fix Committed → Fix Released |
| Changed in landscape-client: | |
| status: | Fix Released → Fix Committed |
| tags: | added: canonical-losa-ls |
| Changed in landscape-client: | |
| status: | Fix Committed → Fix Released |
| tags: | removed: verification-needed |

The logs are filling up. Each error line is 461kbytes, and we have 429 such lines so far.