← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1509121] Re: [UI] job_binaries Exception Value: too many values to unpack

 

The UI bug is not in Horizon, it's in the Sahara Dashboard which is
external to Horizon now. I'm marking the horizon aspect of this bug
invalid, but can't actually reassign that to Sahara because Launchpad
already has a Sahara component on this bug report (I think).

** Changed in: horizon
       Status: New => Invalid

-- 
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/1509121

Title:
  [UI] job_binaries Exception Value: too many values to unpack

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in Sahara:
  Fix Released

Bug description:
  I accidentally created a Sahara EDP Job Binary, in RDO Kilo, with the
  following properties:

  Name
      Binary
  ID
      c1fa1a5b-2458-43cc-9fbc-52a54fe74009
  URL
      swift://swift://container.sahara/Test-Private-Container/
  Description
      None

  When I try to "Delete the Job Binary" the Dashboard displays a full-
  page exception. Here is the Traceback:

  Environment:

  Request Method: POST
  Request URL: https://my.org/dashboard/project/data_processing/job_binaries/

  Django Version: 1.8.3
  Python Version: 2.7.5
  Installed Applications:
  ['openstack_dashboard.dashboards.project',
   'openstack_dashboard.dashboards.admin',
   'openstack_dashboard.dashboards.identity',
   'openstack_dashboard.dashboards.settings',
   'openstack_dashboard',
   'django.contrib.contenttypes',
   'django.contrib.auth',
   'django.contrib.sessions',
   'django.contrib.messages',
   'django.contrib.staticfiles',
   'django.contrib.humanize',
   'django_pyscss',
   'openstack_dashboard.django_pyscss_fix',
   'compressor',
   'horizon',
   'openstack_auth']
  Installed Middleware:
  ('django.middleware.common.CommonMiddleware',
   'django.middleware.csrf.CsrfViewMiddleware',
   'django.contrib.sessions.middleware.SessionMiddleware',
   'django.contrib.auth.middleware.AuthenticationMiddleware',
   'django.contrib.messages.middleware.MessageMiddleware',
   'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
   'horizon.middleware.HorizonMiddleware',
   'django.middleware.locale.LocaleMiddleware',
   'django.middleware.clickjacking.XFrameOptionsMiddleware')

  Traceback:
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
    132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py" in dec
    36.         return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py" in dec
    52.             return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py" in dec
    36.         return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py" in dec
    84.                 return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/generic/base.py" in view
    71.             return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
    89.         return handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/tables/views.py" in post
    223.         return self.get(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/tables/views.py" in get
    159.         handled = self.construct_tables()
  File "/usr/lib/python2.7/site-packages/horizon/tables/views.py" in construct_tables
    150.             handled = self.handle_table(table)
  File "/usr/lib/python2.7/site-packages/horizon/tables/views.py" in handle_table
    125.         handled = self._tables[name].maybe_handle()
  File "/usr/lib/python2.7/site-packages/horizon/tables/base.py" in maybe_handle
    1640.                 return self.take_action(action_name, obj_id)
  File "/usr/lib/python2.7/site-packages/horizon/tables/base.py" in take_action
    1482.                 response = action.multiple(self, self.request, obj_ids)
  File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py" in multiple
    302.                 return self.handle(data_table, request, object_ids)
  File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py" in handle
    827.                 exceptions.handle(request, ignore=ignore)
  File "/usr/lib/python2.7/site-packages/horizon/exceptions.py" in handle
    364.     six.reraise(exc_type, exc_value, exc_traceback)
  File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py" in handle
    811.                 self.action(request, datum_id)
  File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py" in action
    926.         return self.delete(request, obj_id)
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/data_processing/job_binaries/tables.py" in delete
    56.         (jb_type, jb_internal_id) = jb.url.split("://")

  Exception Type: ValueError at /project/data_processing/job_binaries/
  Exception Value: too many values to unpack

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