glance add can fail for images larger than 2 GB on some Python installations (RHEL 6.2)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Critical
|
Eoghan Glynn |
Bug Description
Some Python installations, in particular for RHEL 6.2 Python 2.6, are not 64 bit clean, and "glance add" will fail. For example, where testimage.img is larger than 2GB
glance --debug add name="testimage" disk_format=raw is_public=true < testimage.img
python: Objects/
The underlying problem is an INT_MAX macro in the fileobject.c method 'readahead_
A workaround for RHEL users is to comment out the "elif self._iterable(
While not directly a bug with Glance, it does impact a subset of users not running Ubuntu systems.
Changed in glance: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
milestone: | none → essex-4 |
assignee: | nobody → Eoghan Glynn (eglynn) |
Changed in glance: | |
status: | Confirmed → In Progress |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-4 → 2012.1 |
Correction: we ran into this problem on RHEL 6.2.