yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24750
[Bug 1394794] [NEW] [Sahara] Internal error during cluster deletion
Public bug reported:
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.
** Affects: horizon
Importance: Undecided
Status: New
** Tags: sahara
** Description changed:
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
+ 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 size.
+ No errors on sahara side.
--
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/1394794
Title:
[Sahara] Internal error during cluster deletion
Status in OpenStack Dashboard (Horizon):
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1394794/+subscriptions
Follow ups
References