Ask Your Question
0

Object upload timeout

asked 2012-08-02 11:11:59 -0500

tomasz-michal-klosinski gravatar image

When I upload a big file via horizon I obtain a timeout - however the file sometimes gets uploaded, sometimes not. From swift client file uploads fine and via glance to swift also uploads fine. But from horizon I've obtain such an error:

timeout at /nova/containers/nowy1/upload timed out Request Method: POST Request URL: http://10.9.4.7/nova/containers/nowy1/upload (http://10.9.4.7/nova/containers/nowy1...) Django Version: 1.3.1 Exception Type: timeout Exception Value:
timed out Exception Location: /usr/lib/python2.7/dist-packages/cloudfiles/storage_object.py in send, line 513 Python Executable: /usr/bin/python Python Version: 2.7.3 Python Path:
['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/share/openstack-dashboard/', '/usr/share/openstack-dashboard/openstack_dashboard'] Server time: Thu, 2 Aug 2012 12:51:46 +0200

Environment:

Request Method: POST Request URL: http://10.9.4.7/nova/containers/nowy1/upload (http://10.9.4.7/nova/containers/nowy1...)

Django Version: 1.3.1 Python Version: 2.7.3 Installed Applications: ['openstack_dashboard', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_nose', 'horizon', 'horizon.dashboards.nova', 'horizon.dashboards.syspanel', 'horizon.dashboards.settings'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'openstack_dashboard.middleware.DashboardLogUnhandledExceptionsMiddleware', 'horizon.middleware.HorizonMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.locale.LocaleMiddleware')

Traceback: File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 111. response = callback(request, callback_args, *callback_kwargs) File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec 40. return view_func(request, args, *kwargs) File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec 55. return view_func(request, args, *kwargs) File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec 40. return view_func(request, args, *kwargs) File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec 129. return view_func(request, args, *kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view 47. return self.dispatch(request, args, *kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch 68. return handler(request, args, *kwargs) File "/usr/lib/python2.7/dist-packages/horizon/forms/views.py" in post 84. return self.get(self, request, args, *kwargs) File "/usr/lib/python2.7/dist-packages/horizon/forms/views.py" in get 64. form, handled = self.maybe_handle() File "/usr/lib/python2.7/dist-packages/horizon/forms/views.py" in maybe_handle 59. self.form, self.handled = form.maybe_handle(self.request, *kwargs) File "/usr/lib/python2.7/dist-packages/horizon/forms/base.py" in maybe_handle 101. exceptions.handle(request) File "/usr/lib/python2.7/dist-packages/horizon/forms/base.py" in maybe_handle 99. return form, form.handle(request, form.cleaned_data) File "/usr/lib/python2.7/dist-packages/horizon/dashboards ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-08-02 17:56:50 -0500

Hi Tomasz,

This is actually a bug, so I am creating a bug from this question you have opened. Thanks for the report!

edit flag offensive delete link more
0

answered 2012-08-03 08:31:58 -0500

tomasz-michal-klosinski gravatar image

Thanks John Postlethwait, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-08-02 11:11:59 -0500

Seen: 160 times

Last updated: Aug 03 '12