[FFe] OperationError when large object greater than 2gb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse | ||
psycopg2 (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
If a large object is greater than 2gb then calls to seek and tell will fail with an OperationError. This is because of the use of lseek and ltell instead of the lseek64 and ltell64.
This issue affects MAAS (or any other software) when trying to upload an object that is larger than 2GB. In the case of MAAS, it is uploading images that are larger than 2GB causing this to fail
This has been tested in Ubuntu Trusty and Utopic:
https:/
psycopg2 (2.5.3+
* debian/
greater than 2GB. (LP: #1366104)
-- Andres Rodriguez <email address hidden> Fri, 19 Sep 2014 12:30:26 -0500
Attached is the upstream issue and pull request.
https:/
no longer affects: | maas (Ubuntu) |
Changed in psycopg2 (Ubuntu): | |
status: | New → Confirmed |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Blake Rouse (blake-rouse) |
milestone: | none → 1.7.0 |
description: | updated |
summary: |
- OperationError when large object greater than 2gb + [FFe] OperationError when large object greater than 2gb |
Changed in psycopg2 (Ubuntu): | |
status: | Incomplete → New |
description: | updated |
Changed in maas: | |
status: | Fix Committed → Fix Released |
The patch needs some work to be released. More details in the upstream issue.