← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1670236] [NEW] upload image crashed on dashboard

 

Public bug reported:

hi,i upload a image(size is 1.1G) failed by dashboard,but it works by shell command.
in website,it promoted :  
TypeError: Cannot read property 'data' of undefined in website;

in /var/log/httpd/error_log,it promoted:
[Mon Mar 06 02:29:19.109643 2017] [:error] [pid 30667] Could not process panel theme_preview: Dashboard with slug "developer" is not registered.
[Mon Mar 06 02:29:19.120199 2017] [:error] [pid 30667] Could not process panel resource_browser: Dashboard with slug "developer" is not registered.
[Mon Mar 06 02:30:03.916597 2017] [:error] [pid 30667] Login successful for user "admin".
[Mon Mar 06 10:30:03.940660 2017] [authz_core:error] [pid 25365] [client 10.10.xx.xx:4342] AH01630: client denied by server configuration: /usr/bin/keystone-wsgi-public, referer: http://10.10.xx.xx/dashboard/auth/login/?next=/dashboard/
[Mon Mar 06 10:32:14.731862 2017] [:error] [pid 25889] (70007)The timeout specified has expired: [client 10.10.106.85:4386] mod_wsgi (pid=25889): Unable to get bucket brigade for request., referer: http://10.10.210.52/dashboard/admin/images
[Mon Mar 06 02:32:14.773884 2017] [:error] [pid 30667] Internal Server Error: /dashboard/api/glance/images/
[Mon Mar 06 02:32:14.773908 2017] [:error] [pid 30667] Traceback (most recent call last):
[Mon Mar 06 02:32:14.773912 2017] [:error] [pid 30667]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
[Mon Mar 06 02:32:14.773916 2017] [:error] [pid 30667]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Mon Mar 06 02:32:14.773919 2017] [:error] [pid 30667]   File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
[Mon Mar 06 02:32:14.773922 2017] [:error] [pid 30667]     return self.dispatch(request, *args, **kwargs)
[Mon Mar 06 02:32:14.773925 2017] [:error] [pid 30667]   File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch
[Mon Mar 06 02:32:14.773928 2017] [:error] [pid 30667]     return handler(request, *args, **kwargs)
[Mon Mar 06 02:32:14.773932 2017] [:error] [pid 30667]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/utils.py", line 187, in wrapper
[Mon Mar 06 02:32:14.773935 2017] [:error] [pid 30667]     return func(self, request)
[Mon Mar 06 02:32:14.773938 2017] [:error] [pid 30667]   File "/usr/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
[Mon Mar 06 02:32:14.773941 2017] [:error] [pid 30667]     return view_func(*args, **kwargs)
[Mon Mar 06 02:32:14.773945 2017] [:error] [pid 30667]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/glance.py", line 181, in post
[Mon Mar 06 02:32:14.773948 2017] [:error] [pid 30667]     meta = create_image_metadata(request.DATA)
[Mon Mar 06 02:32:14.773951 2017] [:error] [pid 30667]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/glance.py", line 345, in create_image_metadata
[Mon Mar 06 02:32:14.773955 2017] [:error] [pid 30667]     handle_visibility(data.get('visibility'), meta)
[Mon Mar 06 02:32:14.773958 2017] [:error] [pid 30667]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/glance.py", line 381, in handle_visibility
[Mon Mar 06 02:32:14.773969 2017] [:error] [pid 30667]     'invalid visibility option: %s' % e.args[0])
[Mon Mar 06 02:32:14.773972 2017] [:error] [pid 30667] AjaxError: invalid visibility option: None
[Mon Mar 06 02:32:14.796818 2017] [:error] [pid 30667] [remote 10.10.xx.xx:92] mod_wsgi (pid=30667): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Mon Mar 06 02:32:14.805523 2017] [:error] [pid 30667] [remote 10.10.xx.xx:92] IOError: failed to write data

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1670236

Title:
  upload image crashed on dashboard

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  hi,i upload a image(size is 1.1G) failed by dashboard,but it works by shell command.
  in website,it promoted :  
  TypeError: Cannot read property 'data' of undefined in website;

  in /var/log/httpd/error_log,it promoted:
  [Mon Mar 06 02:29:19.109643 2017] [:error] [pid 30667] Could not process panel theme_preview: Dashboard with slug "developer" is not registered.
  [Mon Mar 06 02:29:19.120199 2017] [:error] [pid 30667] Could not process panel resource_browser: Dashboard with slug "developer" is not registered.
  [Mon Mar 06 02:30:03.916597 2017] [:error] [pid 30667] Login successful for user "admin".
  [Mon Mar 06 10:30:03.940660 2017] [authz_core:error] [pid 25365] [client 10.10.xx.xx:4342] AH01630: client denied by server configuration: /usr/bin/keystone-wsgi-public, referer: http://10.10.xx.xx/dashboard/auth/login/?next=/dashboard/
  [Mon Mar 06 10:32:14.731862 2017] [:error] [pid 25889] (70007)The timeout specified has expired: [client 10.10.106.85:4386] mod_wsgi (pid=25889): Unable to get bucket brigade for request., referer: http://10.10.210.52/dashboard/admin/images
  [Mon Mar 06 02:32:14.773884 2017] [:error] [pid 30667] Internal Server Error: /dashboard/api/glance/images/
  [Mon Mar 06 02:32:14.773908 2017] [:error] [pid 30667] Traceback (most recent call last):
  [Mon Mar 06 02:32:14.773912 2017] [:error] [pid 30667]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
  [Mon Mar 06 02:32:14.773916 2017] [:error] [pid 30667]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  [Mon Mar 06 02:32:14.773919 2017] [:error] [pid 30667]   File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
  [Mon Mar 06 02:32:14.773922 2017] [:error] [pid 30667]     return self.dispatch(request, *args, **kwargs)
  [Mon Mar 06 02:32:14.773925 2017] [:error] [pid 30667]   File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch
  [Mon Mar 06 02:32:14.773928 2017] [:error] [pid 30667]     return handler(request, *args, **kwargs)
  [Mon Mar 06 02:32:14.773932 2017] [:error] [pid 30667]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/utils.py", line 187, in wrapper
  [Mon Mar 06 02:32:14.773935 2017] [:error] [pid 30667]     return func(self, request)
  [Mon Mar 06 02:32:14.773938 2017] [:error] [pid 30667]   File "/usr/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
  [Mon Mar 06 02:32:14.773941 2017] [:error] [pid 30667]     return view_func(*args, **kwargs)
  [Mon Mar 06 02:32:14.773945 2017] [:error] [pid 30667]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/glance.py", line 181, in post
  [Mon Mar 06 02:32:14.773948 2017] [:error] [pid 30667]     meta = create_image_metadata(request.DATA)
  [Mon Mar 06 02:32:14.773951 2017] [:error] [pid 30667]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/glance.py", line 345, in create_image_metadata
  [Mon Mar 06 02:32:14.773955 2017] [:error] [pid 30667]     handle_visibility(data.get('visibility'), meta)
  [Mon Mar 06 02:32:14.773958 2017] [:error] [pid 30667]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/glance.py", line 381, in handle_visibility
  [Mon Mar 06 02:32:14.773969 2017] [:error] [pid 30667]     'invalid visibility option: %s' % e.args[0])
  [Mon Mar 06 02:32:14.773972 2017] [:error] [pid 30667] AjaxError: invalid visibility option: None
  [Mon Mar 06 02:32:14.796818 2017] [:error] [pid 30667] [remote 10.10.xx.xx:92] mod_wsgi (pid=30667): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
  [Mon Mar 06 02:32:14.805523 2017] [:error] [pid 30667] [remote 10.10.xx.xx:92] IOError: failed to write data

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1670236/+subscriptions


Follow ups