← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1422049] Re: Security group checking action permissions raise error

 

** Changed in: horizon/juno
       Status: Confirmed => Won't Fix

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

Title:
  Security group   checking action permissions raise error

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) juno series:
  Won't Fix

Bug description:
  When using nova-network, I got the output on horizon:

  [Sun Feb 15 02:48:41.965163 2015] [:error] [pid 21259:tid 140656137611008] Error while checking action permissions.
  [Sun Feb 15 02:48:41.965184 2015] [:error] [pid 21259:tid 140656137611008] Traceback (most recent call last):
  [Sun Feb 15 02:48:41.965193 2015] [:error] [pid 21259:tid 140656137611008]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", line 1260, in _filter_action
  [Sun Feb 15 02:48:41.965199 2015] [:error] [pid 21259:tid 140656137611008]     return action._allowed(request, datum) and row_matched
  [Sun Feb 15 02:48:41.965205 2015] [:error] [pid 21259:tid 140656137611008]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/actions.py", line 137, in _allowed
  [Sun Feb 15 02:48:41.965211 2015] [:error] [pid 21259:tid 140656137611008]     return self.allowed(request, datum)
  [Sun Feb 15 02:48:41.965440 2015] [:error] [pid 21259:tid 140656137611008]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py", line 83, in allowed
  [Sun Feb 15 02:48:41.965457 2015] [:error] [pid 21259:tid 140656137611008]     if usages['security_groups']['available'] <= 0:
  [Sun Feb 15 02:48:41.965466 2015] [:error] [pid 21259:tid 140656137611008] KeyError: 'available'
  [Sun Feb 15 02:48:41.986480 2015] [:error] [pid 21259:tid 140656137611008] Error while checking action permissions.
  [Sun Feb 15 02:48:41.986533 2015] [:error] [pid 21259:tid 140656137611008] Traceback (most recent call last):
  [Sun Feb 15 02:48:41.986569 2015] [:error] [pid 21259:tid 140656137611008]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", line 1260, in _filter_action
  [Sun Feb 15 02:48:41.986765 2015] [:error] [pid 21259:tid 140656137611008]     return action._allowed(request, datum) and row_matched
  [Sun Feb 15 02:48:41.986806 2015] [:error] [pid 21259:tid 140656137611008]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/actions.py", line 137, in _allowed
  [Sun Feb 15 02:48:41.986841 2015] [:error] [pid 21259:tid 140656137611008]     return self.allowed(request, datum)
  [Sun Feb 15 02:48:41.987010 2015] [:error] [pid 21259:tid 140656137611008]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py", line 83, in allowed
  [Sun Feb 15 02:48:41.987051 2015] [:error] [pid 21259:tid 140656137611008]     if usages['security_groups']['available'] <= 0:
  [Sun Feb 15 02:48:41.987088 2015] [:error] [pid 21259:tid 140656137611008] KeyError: 'available'

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


References