[UI] Internal error during cluster deletion

Bug #1394794 reported by Andrew Lazarev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned
Sahara
Invalid
Undecided
Unassigned

Bug Description

I had 3 clusters I wanted to delete. I marked all three of them and clicked 'delete clusters'. After some time 'Failed to update row' message occurred on client side.

Stacktrace from horizon:
Internal Server Error: /project/data_processing/clusters/
Traceback (most recent call last):
  File "/Users/alazarev/openstack/horizon/.venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/Users/alazarev/openstack/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/Users/alazarev/openstack/horizon/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/Users/alazarev/openstack/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/Users/alazarev/openstack/horizon/horizon/decorators.py", line 84, in dec
    return view_func(request, *args, **kwargs)
  File "/Users/alazarev/openstack/horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/Users/alazarev/openstack/horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
    return handler(request, *args, **kwargs)
  File "/Users/alazarev/openstack/horizon/horizon/tables/views.py", line 157, in get
    handled = self.construct_tables()
  File "/Users/alazarev/openstack/horizon/horizon/tables/views.py", line 143, in construct_tables
    preempted = table.maybe_preempt()
  File "/Users/alazarev/openstack/horizon/horizon/tables/base.py", line 1518, in maybe_preempt
    error = exceptions.handle(request, ignore=True)
  File "/Users/alazarev/openstack/horizon/horizon/exceptions.py", line 334, in handle
    six.reraise(exc_type, exc_value, exc_traceback)
  File "/Users/alazarev/openstack/horizon/horizon/tables/base.py", line 1511, in maybe_preempt
    if self.get_object_id(datum) == self.current_item_id:
  File "/Users/alazarev/openstack/horizon/horizon/tables/base.py", line 1655, in get_object_id
    return datum.id
AttributeError: 'NoneType' object has no attribute 'id'
[20/Nov/2014 23:20:12] "GET /project/data_processing/clusters/?action=row_update&table=clusters&obj_id=9a43709b-d998-4a14-be38-8318a44821d7 HTTP/1.1" 200 1019
[20/Nov/2014 23:20:13] "GET /project/data_processing/clusters/?action=row_update&table=clusters&obj_id=8608c1ba-bb45-4a85-9734-fd602770cba4 HTTP/1.1" 500 31829

No errors on sahara side.

Tags: dashboard
description: updated
Changed in horizon:
assignee: nobody → Nikunj Aggarwal (nikunj2512)
Revision history for this message
Andrew Lazarev (alazarev) wrote :
Changed in horizon:
assignee: Nikunj Aggarwal (nikunj2512) → nobody
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :
Changed in horizon:
status: New → Invalid
tags: added: dashboard
removed: sahara
summary: - [Sahara] Internal error during cluster deletion
+ [UI] Internal error during cluster deletion
Revision history for this message
Sergey Reshetnyak (sreshetniak) wrote :

This bug is > 60 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Changed in sahara:
status: New → Incomplete
Changed in sahara:
status: Incomplete → Invalid
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.