openstack object save - MemoryError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
In Progress
|
Medium
|
Nikita Konovalov | ||
10.0.x |
Won't Fix
|
Medium
|
Nikita Konovalov | ||
9.x |
Won't Fix
|
Medium
|
Nikita Konovalov |
Bug Description
Reproduced on MOS 9.2
Issue summary: openstack object client silently fails when downloading an object.
Steps to reproduce:
- Deploy controllers with 2GB RAM (virtual lab), then:
root@node-
total used free shared buffers cached
Mem: 2000 1353 647 7 10 93
-/+ buffers/cache: 1249 751
root@node-
+------
| Field | Value |
+------
| account | AUTH_231d9fe5c9
| container | glance |
| content-length | 341311488 |
| content-type | application/
| etag | 3209808b650928a
| last-modified | Wed, 08 Feb 2017 00:38:16 GMT |
| object | 18c0fae2-
+------
root@node-
...
Traceback (most recent call last):
File "/usr/lib/
result = cmd.run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
self.
File "/usr/lib/
file=
File "/usr/lib/
stream=True,
File "/usr/lib/
return session.
File "/usr/lib/
resp = super(TimingSes
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
resp = send(**kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
text = self._remove_
File "/usr/lib/
encoding = self.apparent_
File "/usr/lib/
return chardet.
File "/usr/lib/
u.feed(aBuf)
File "/usr/lib/
if prober.feed(aBuf) == constants.eFoundIt:
File "/usr/lib/
st = prober.feed(aBuf)
File "/usr/lib/
for i in range(0, aLen):
MemoryError
Expected results: openstack client successfully downloads a 300MB file from Swift.
Actual result: silent failure.
Reproducibility: 100% on this env.
Impact: cannot use openstack object CLI.
Changed in mos: | |
milestone: | none → 9.x-updates |
tags: | added: area-mos |
Filed upstream bug - https:/ /bugs.launchpad .net/swift/ +bug/1663772