Dispersion Report
The dispersion-populate looks to be properly creating objects/
Traceback (most recent call last):
File "/usr/lib/
readers.
File "/usr/lib/
result = function(*args, **kwargs)
File "/swift/
container_
IndexError: list index out of range
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
what version of Swift are you using ? is this a SAIO setup ? what OS version? what version of eventlet ?
I haven't tried it with python 2.7 but I'l see if I can replicate this issue using 2.7
Revision history for this message
|
#2 |
Swift, version 1.4.1. SAIO setup, Ubuntu 11.04.
Python 2.7.1+, eventlet 0.9.14-0ubuntu2
-Regards
On Mon, Jul 18, 2011 at 2:11 AM, Marcelo Martins <
<email address hidden>> wrote:
> Your question #165052 on OpenStack Object Storage (swift) changed:
> https:/
>
> Status: Open => Needs information
>
> Marcelo Martins requested more information:
> what version of Swift are you using ? is this a SAIO setup ? what OS
> version? what version of eventlet ?
>
> I haven't tried it with python 2.7 but I'l see if I can replicate this
> issue using 2.7
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#3 |
Hi Kevin,
Ok, I gave it a try on a natty slice and although I did not encounter the same traceback that you posted I did see some Tracebacks in my logs.
- On my first step, the stats-reporter completed but throwing some errors on stdout which I believe to be unrelated.
Error sample:
ERROR: 184.106.
ERROR: 184.106.
ERROR: 184.106.
ERROR: 184.106.
The log files though showed some actual errors.
Error Sample:
contatiner-
=======
Jul 19 00:12:39 saio-natty account-server STDOUT: hub.switch()
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/lib/
Jul 19 00:12:39 saio-natty account-server STDOUT: return self.greenlet.
Jul 19 00:12:39 saio-natty account-server STDOUT: LockTimeout: 10 seconds: /srv/node/
Jul 19 00:12:39 saio-natty account-server STDOUT: Traceback (most recent call last):
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/lib/
Jul 19 00:12:39 saio-natty account-server STDOUT: func(*args, **kwargs)
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/lib/
Jul 19 00:12:39 saio-natty account-server STDOUT: proto = self.protocol(
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/lib/
Jul 19 00:12:39 saio-natty account-server STDOUT: self.handle()
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/lib/
Jul 19 00:12:39 saio-natty account-server STDOUT: self.handle_
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/lib/
Jul 19 00:12:39 saio-natty account-server STDOUT: self.handle_
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/lib/
Jul 19 00:12:39 saio-natty account-server STDOUT: result = self.applicatio
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/local/
Jul 19 00:12:39 saio-natty account-server STDOUT: return self.app(env, start_response)
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/local/
Jul 19 00:12:39 saio-natty account-server STDOUT: res = getattr(self, req.method)(req)
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/local/
Jul 19 00:12:39 saio-natty account-server STDOUT: req.headers[
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/local/
Jul 19 00:12:39 saio-natty account-server STDOUT: with lock_parent_
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/lib/
Jul 19 00:12:39 saio-natty account-server STDOUT: return self.gen.next()
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/local/
Jul 19 00:12:39 saio-natty account-server STDOUT: sleep(0.01)
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/lib/
Jul 19 00:12:39 saio-natty account-server STDOUT: hub.switch()
Jul 19 00:12:39 saio-natty account-server STDOUT: File "/usr/lib/
Jul 19 00:12:39 saio-natty account-server STDOUT: return self.greenlet.
Jul 19 00:12:39 saio-natty account-server STDOUT: LockTimeout: 10 seconds: /srv/node/
- On my second step, I decided to update python-eventlet with the actual version that we use at the moment which is eventlet-0.9.15 . So I removed the package that came with natty and installed the 0.9.15 from source. Once the new version was installed no more tracebacks showed up in my logs. The errors "ERROR: 184.106.
Unless, you are trying to find out how swift works with python 2.7 and perhaps report bugs, provide patches or etc ... , I would suggest working with 10.04 which is the LTS version of ubuntu and the one that is recommended for a production environment.
-
Marcelo
https:/
Revision history for this message
|
#4 |
Interesting...SAIO version running 1.4.0 reports were happy...I will rebuild
on 10.
Thanks,
On Mon, Jul 18, 2011 at 7:21 PM, Marcelo Martins <
<email address hidden>> wrote:
> Your question #165052 on OpenStack Object Storage (swift) changed:
> https:/
>
> Status: Open => Answered
>
> Marcelo Martins proposed the following answer:
> Hi Kevin,
>
> Ok, I gave it a try on a natty slice and although I did not encounter
> the same traceback that you posted I did see some Tracebacks in my logs.
>
> - On my first step, the stats-reporter completed but throwing some errors
> on stdout which I believe to be unrelated.
> Error sample:
> ERROR: 184.106.
> ERROR: 184.106.
> ERROR: 184.106.
> ERROR: 184.106.
>
> The log files though showed some actual errors.
> Error Sample:
>
> contatiner-
> =======
> Jul 19 00:12:39 saio-natty account-server STDOUT: hub.switch()
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/lib/
> Jul 19 00:12:39 saio-natty account-server STDOUT: return
> self.greenlet.
> Jul 19 00:12:39 saio-natty account-server STDOUT: LockTimeout: 10 seconds:
> /srv/node/
> Jul 19 00:12:39 saio-natty account-server STDOUT: Traceback (most recent
> call last):
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/lib/
> _spawn_n_impl
> Jul 19 00:12:39 saio-natty account-server STDOUT: func(*args, **kwargs)
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/lib/
> process_request
> Jul 19 00:12:39 saio-natty account-server STDOUT: proto =
> self.protocol(
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/lib/
> Jul 19 00:12:39 saio-natty account-server STDOUT: self.handle()
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/lib/
> Jul 19 00:12:39 saio-natty account-server STDOUT: self.handle_
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/lib/
> handle_one_request
> Jul 19 00:12:39 saio-natty account-server STDOUT:
> self.handle_
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/lib/
> handle_one_response
> Jul 19 00:12:39 saio-natty account-server STDOUT: result =
> self.applicatio
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/local/
> line 38, in __call__
> Jul 19 00:12:39 saio-natty account-server STDOUT: return self.app(env,
> start_response)
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/local/
> line 305, in __call__
> Jul 19 00:12:39 saio-natty account-server STDOUT: res = getattr(self,
> req.method)(req)
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/local/
> line 97, in PUT
> Jul 19 00:12:39 saio-natty account-server STDOUT:
> req.headers[
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/local/
> line 1348, in put_container
> Jul 19 00:12:39 saio-natty account-server STDOUT: with
> lock_parent_
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/lib/
> Jul 19 00:12:39 saio-natty account-server STDOUT: return self.gen.next()
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/local/
> line 615, in lock_path
> Jul 19 00:12:39 saio-natty account-server STDOUT: sleep(0.01)
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/lib/
> Jul 19 00:12:39 saio-natty account-server STDOUT: hub.switch()
> Jul 19 00:12:39 saio-natty account-server STDOUT: File
> "/usr/lib/
> Jul 19 00:12:39 saio-natty account-server STDOUT: return
> self.greenlet.
> Jul 19 00:12:39 saio-natty account-server STDOUT: LockTimeout: 10 seconds:
> /srv/node/
>
>
> - On my second step, I decided to update python-eventlet with the actual
> version that we use at the moment which is eventlet-0.9.15 . So I
> removed the package that came with natty and installed the 0.9.15 from
> source. Once the new version was installed no more tracebacks showed up
> in my logs. The errors "ERROR: 184.106.
> persisted though but I think that may be related to something else, but
> I did not look too deep into it.
>
>
> Unless, you are trying to find out how swift works with python 2.7 and
> perhaps report bugs, provide patches or etc ... , I would suggest working
> with 10.04 which is the LTS version of ubuntu and the one that is
> recommended for a production environment.
>
> -
> Marcelo
> https:/
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#5 |
Did it work ok for you on 10.04 ? I haven't used 1.4.0
Revision history for this message
|
#6 |
Moved to 10.04, working without issue...
Thanks,
-Kevin
On Wed, Jul 20, 2011 at 8:41 AM, Marcelo Martins <
<email address hidden>> wrote:
> Your question #165052 on OpenStack Object Storage (swift) changed:
> https:/
>
> Marcelo Martins posted a new comment:
> Did it work ok for you on 10.04 ? I haven't used 1.4.0
>
> --
> You received this question notification because you asked the question.
>
Revision history for this message
|
#8 |
Ubuntu 11.10 with swift packages from ubuntu and SAIO install
Traceback (most recent call last):
File "/usr/lib/
readers.
File "/usr/lib/
result = function(*args, **kwargs)
File "/usr/bin/
object_
IndexError: list index out of range
Removing descriptor: 6
Queried 2621 objects for dispersion reporting, 29s, 0 retries
0.00% of object copies found (0 of 10484)
Can you help with this problem?
Provide an answer of your own, or ask Kevin Atwood for more information if necessary.