只有删除实例的时候报错,别的地方都没有报错
以下是日志:
[Tue Jan 12 12:42:43.027308 2016] [:error] [pid 2631] Internal Server Error: /dashboard/project/instances/
[Tue Jan 12 12:42:43.027400 2016] [:error] [pid 2631] Traceback (most recent call last):
[Tue Jan 12 12:42:43.027406 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
[Tue Jan 12 12:42:43.027409 2016] [:error] [pid 2631] response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Tue Jan 12 12:42:43.027411 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
[Tue Jan 12 12:42:43.027414 2016] [:error] [pid 2631] return view_func(request, *args, **kwargs)
[Tue Jan 12 12:42:43.027416 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
[Tue Jan 12 12:42:43.027418 2016] [:error] [pid 2631] return view_func(request, *args, **kwargs)
[Tue Jan 12 12:42:43.027420 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
[Tue Jan 12 12:42:43.027422 2016] [:error] [pid 2631] return view_func(request, *args, **kwargs)
[Tue Jan 12 12:42:43.027424 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec
[Tue Jan 12 12:42:43.027426 2016] [:error] [pid 2631] return view_func(request, *args, **kwargs)
[Tue Jan 12 12:42:43.027428 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
[Tue Jan 12 12:42:43.027430 2016] [:error] [pid 2631] return self.dispatch(request, *args, **kwargs)
[Tue Jan 12 12:42:43.027432 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch
[Tue Jan 12 12:42:43.027434 2016] [:error] [pid 2631] return handler(request, *args, **kwargs)
[Tue Jan 12 12:42:43.027436 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 223, in post
[Tue Jan 12 12:42:43.027438 2016] [:error] [pid 2631] return self.get(request, *args, **kwargs)
[Tue Jan 12 12:42:43.027440 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 159, in get
[Tue Jan 12 12:42:43.027442 2016] [:error] [pid 2631] handled = self.construct_tables()
[Tue Jan 12 12:42:43.027444 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 150, in construct_tables
[Tue Jan 12 12:42:43.027446 2016] [:error] [pid 2631] handled = self.handle_table(table)
[Tue Jan 12 12:42:43.027448 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 125, in handle_table
[Tue Jan 12 12:42:43.027451 2016] [:error] [pid 2631] handled = self._tables[name].maybe_handle()
[Tue Jan 12 12:42:43.027453 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1640, in maybe_handle
[Tue Jan 12 12:42:43.027455 2016] [:error] [pid 2631] return self.take_action(action_name, obj_id)
[Tue Jan 12 12:42:43.027457 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1482, in take_action
[Tue Jan 12 12:42:43.027460 2016] [:error] [pid 2631] response = action.multiple(self, self.request, obj_ids)
[Tue Jan 12 12:42:43.027465 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 302, in multiple
[Tue Jan 12 12:42:43.027467 2016] [:error] [pid 2631] return self.handle(data_table, request, object_ids)
[Tue Jan 12 12:42:43.027469 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 827, in handle
[Tue Jan 12 12:42:43.027471 2016] [:error] [pid 2631] exceptions.handle(request, ignore=ignore)
[Tue Jan 12 12:42:43.027473 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/exceptions.py", line 364, in handle
[Tue Jan 12 12:42:43.027475 2016] [:error] [pid 2631] six.reraise(exc_type, exc_value, exc_traceback)
[Tue Jan 12 12:42:43.027495 2016] [:error] [pid 2631] File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 817, in handle
[Tue Jan 12 12:42:43.027498 2016] [:error] [pid 2631] (self._get_action_name(past=True), datum_display))
|
|