[UI][EDP] Cannot delete job binary from the UI

Bug #1234097 reported by Alexander Ignatov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
High
Alexander Ignatov

Bug Description

Steps to reproduce:
1. Create job binary object using savanna-dashboard.
2. Try to delete created binary at step 1.

Dashboard Error log shows the following:
ERROR:django.request:Internal Server Error: /savanna/job_binaries/
Traceback (most recent call last):
  File "/home/aignatov/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/home/aignatov/horizon/horizon/decorators.py", line 38, in dec
    return view_func(request, *args, **kwargs)
  File "/home/aignatov/horizon/horizon/decorators.py", line 54, in dec
    return view_func(request, *args, **kwargs)
  File "/home/aignatov/horizon/horizon/decorators.py", line 38, in dec
    return view_func(request, *args, **kwargs)
  File "/home/aignatov/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 48, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/aignatov/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/aignatov/horizon/horizon/tables/views.py", line 163, in post
    return self.get(request, *args, **kwargs)
  File "/home/aignatov/horizon/horizon/tables/views.py", line 155, in get
    handled = self.construct_tables()
  File "/home/aignatov/horizon/horizon/tables/views.py", line 146, in construct_tables
    handled = self.handle_table(table)
  File "/home/aignatov/horizon/horizon/tables/views.py", line 121, in handle_table
    handled = self._tables[name].maybe_handle()
  File "/home/aignatov/horizon/horizon/tables/base.py", line 1224, in maybe_handle
    return self.take_action(action_name, obj_id)
  File "/home/aignatov/horizon/horizon/tables/base.py", line 1161, in take_action
    response = action.multiple(self, self.request, obj_ids)
  File "/home/aignatov/horizon/horizon/tables/actions.py", line 231, in multiple
    return self.handle(data_table, request, object_ids)
  File "/home/aignatov/horizon/horizon/tables/actions.py", line 584, in handle
    exceptions.handle(request, ignore=ignore)
  File "/home/aignatov/horizon/horizon/tables/actions.py", line 568, in handle
    self.action(request, datum_id)
  File "/home/aignatov/horizon/.venv/local/lib/python2.7/site-packages/savannadashboard/job_binaries/tables.py", line 52, in action
    savanna.job_binaries_internal.delete(jb_internal_id)
AttributeError: 'Client' object has no attribute 'job_binaries_internal'

Tags: dashboard
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to savanna-dashboard (master)

Reviewed: https://review.openstack.org/49375
Committed: http://github.com/stackforge/savanna-dashboard/commit/95a6a7d67d9c1ffd78e90901007f6a3634d54a2c
Submitter: Jenkins
Branch: master

commit 95a6a7d67d9c1ffd78e90901007f6a3634d54a2c
Author: Alexander Ignatov <email address hidden>
Date: Wed Oct 2 18:29:05 2013 +0400

    Fixed wrong savanna-client calling

    Fixes: bug #1234097
    Change-Id: Ic5c332cc4b14b55a528d30bcaacaf4077c5f621e

Changed in savanna:
status: New → Fix Committed
Changed in savanna:
milestone: 0.3 → 0.3-rc1
status: Fix Committed → Fix Released
assignee: nobody → Alexander Ignatov (aignatov)
Changed in savanna:
milestone: 0.3-rc1 → 0.3
Luigi Toscano (ltoscano)
tags: added: dashboard
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.