Image fails to upload to swift: TypeError: object of type 'CooperativeReader' has no len(
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Mark Washenberger | ||
Folsom |
Fix Released
|
High
|
Sam Morrison | ||
Grizzly |
Fix Released
|
High
|
Mark Washenberger | ||
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
glance (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
High
|
Unassigned |
Bug Description
Get the following error when trying to upload an image using the swift backend:
2012-09-27 16:55:19 16190 DEBUG glance.store.swift [-] Adding image object '9af41b5a-
2012-09-27 16:55:20 16190 ERROR glance.
File "/usr/lib/
image_
File "/usr/lib/
content_
File "/usr/lib/
headers=
File "/usr/lib/
rv = func(self.url, self.token, *args, **kwargs)
File "/usr/lib/
conn.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
tail = self.send(data, flags)
File "/usr/lib/
len_data = len(data)
TypeError: object of type 'CooperativeReader' has no len()
Not sure if the bug is in swift/glance, looks like incompatibilities in supporting libraries.
glance-api:
Installed: 2012.2~
python-swiftclient:
Installed: 1:1.1.1-
python-eventlet:
Installed: 0.9.17-
python2.7:
Installed: 2.7.3-0ubuntu3.1
Related branches
- Openstack Ubuntu Testers: Pending requested
-
Diff: 86 lines (+55/-2)2 files modifieddebian/changelog (+53/-1)
debian/control (+2/-1)
CVE References
Changed in glance: | |
status: | New → Confirmed |
assignee: | nobody → Armando Migliaccio (armando-migliaccio) |
Changed in cloud-archive: | |
status: | New → Confirmed |
Changed in glance: | |
importance: | Undecided → High |
milestone: | none → grizzly-1 |
Changed in glance: | |
assignee: | stelford (stef-ummon) → Mark Washenberger (markwash) |
Changed in glance: | |
milestone: | grizzly-1 → grizzly-2 |
tags: | added: folsom-backport-potential |
Changed in glance (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in glance (Ubuntu Quantal): | |
status: | New → Confirmed |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in cloud-archive: | |
importance: | Undecided → High |
Changed in glance (Ubuntu): | |
importance: | Undecided → High |
Changed in glance (Ubuntu Quantal): | |
importance: | Undecided → High |
tags: | removed: folsom-backport-potential |
Changed in cloud-archive: | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.