← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1288670] [NEW] crashes every action with IP calls

 

Public bug reported:

Hi guyes,

I've yesterday upgraded to 2013.2.2 and i can do nothing with IP's at
the moment:

Associate / Disassotiate floating ips
Add LB Members

everything wher's horizon try to get fixed ip's


[Thu Mar 06 10:45:41 2014] [error] Internal Server Error: /project/access_and_security/floating_ips/associate/
[Thu Mar 06 10:45:41 2014] [error] Traceback (most recent call last):
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 140, in get_response
[Thu Mar 06 10:45:41 2014] [error]     response = response.render()
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 105, in render
[Thu Mar 06 10:45:41 2014] [error]     self.content = self.rendered_content
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 82, in rendered_content
[Thu Mar 06 10:45:41 2014] [error]     content = template.render(context)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
[Thu Mar 06 10:45:41 2014] [error]     return self._render(context)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
[Thu Mar 06 10:45:41 2014] [error]     return self.nodelist.render(context)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 830, in render
[Thu Mar 06 10:45:41 2014] [error]     bit = self.render_node(node, context)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 844, in render_node
[Thu Mar 06 10:45:41 2014] [error]     return node.render(context)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 483, in render
[Thu Mar 06 10:45:41 2014] [error]     six.iteritems(self.extra_context)])
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 578, in resolve
[Thu Mar 06 10:45:41 2014] [error]     obj = self.var.resolve(context)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 728, in resolve
[Thu Mar 06 10:45:41 2014] [error]     value = self._resolve_lookup(context)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 779, in _resolve_lookup
[Thu Mar 06 10:45:41 2014] [error]     current = current()
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 717, in get_entry_point
[Thu Mar 06 10:45:41 2014] [error]     step._verify_contributions(self.context)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 401, in _verify_contributions
[Thu Mar 06 10:45:41 2014] [error]     field = self.action.fields.get(key, None)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 376, in action
[Thu Mar 06 10:45:41 2014] [error]     context)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/floating_ips/workflows.py", line 45, in __init__
[Thu Mar 06 10:45:41 2014] [error]     super(AssociateIPAction, self).__init__(*args, **kwargs)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 141, in __init__
[Thu Mar 06 10:45:41 2014] [error]     self._populate_choices(request, context)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 154, in _populate_choices
[Thu Mar 06 10:45:41 2014] [error]     bound_field.choices = meth(request, context)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/floating_ips/workflows.py", line 86, in populate_instance_id_choices
[Thu Mar 06 10:45:41 2014] [error]     redirect=redirect)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/floating_ips/workflows.py", line 81, in populate_instance_id_choices
[Thu Mar 06 10:45:41 2014] [error]     targets = api.network.floating_ip_target_list(self.request)
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/network.py", line 78, in floating_ip_target_list
[Thu Mar 06 10:45:41 2014] [error]     return NetworkClient(request).floating_ips.list_targets()
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 386, in list_targets
[Thu Mar 06 10:45:41 2014] [error]     for ip in p.fixed_ips:
[Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py", line 119, in __getattr__
[Thu Mar 06 10:45:41 2014] [error]     raise AttributeError(msg)
[Thu Mar 06 10:45:41 2014] [error] AttributeError: Unknown attribute "fixed_ips" on APIResource object of type "<class 'openstack_dashboard.api.neutron.Port'>"


Cheers and thx 
Heiko

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  crashes every action with IP calls

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Hi guyes,

  I've yesterday upgraded to 2013.2.2 and i can do nothing with IP's at
  the moment:

  Associate / Disassotiate floating ips
  Add LB Members

  everything wher's horizon try to get fixed ip's

  
  [Thu Mar 06 10:45:41 2014] [error] Internal Server Error: /project/access_and_security/floating_ips/associate/
  [Thu Mar 06 10:45:41 2014] [error] Traceback (most recent call last):
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 140, in get_response
  [Thu Mar 06 10:45:41 2014] [error]     response = response.render()
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 105, in render
  [Thu Mar 06 10:45:41 2014] [error]     self.content = self.rendered_content
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 82, in rendered_content
  [Thu Mar 06 10:45:41 2014] [error]     content = template.render(context)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
  [Thu Mar 06 10:45:41 2014] [error]     return self._render(context)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
  [Thu Mar 06 10:45:41 2014] [error]     return self.nodelist.render(context)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 830, in render
  [Thu Mar 06 10:45:41 2014] [error]     bit = self.render_node(node, context)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 844, in render_node
  [Thu Mar 06 10:45:41 2014] [error]     return node.render(context)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 483, in render
  [Thu Mar 06 10:45:41 2014] [error]     six.iteritems(self.extra_context)])
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 578, in resolve
  [Thu Mar 06 10:45:41 2014] [error]     obj = self.var.resolve(context)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 728, in resolve
  [Thu Mar 06 10:45:41 2014] [error]     value = self._resolve_lookup(context)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 779, in _resolve_lookup
  [Thu Mar 06 10:45:41 2014] [error]     current = current()
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 717, in get_entry_point
  [Thu Mar 06 10:45:41 2014] [error]     step._verify_contributions(self.context)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 401, in _verify_contributions
  [Thu Mar 06 10:45:41 2014] [error]     field = self.action.fields.get(key, None)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 376, in action
  [Thu Mar 06 10:45:41 2014] [error]     context)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/floating_ips/workflows.py", line 45, in __init__
  [Thu Mar 06 10:45:41 2014] [error]     super(AssociateIPAction, self).__init__(*args, **kwargs)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 141, in __init__
  [Thu Mar 06 10:45:41 2014] [error]     self._populate_choices(request, context)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 154, in _populate_choices
  [Thu Mar 06 10:45:41 2014] [error]     bound_field.choices = meth(request, context)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/floating_ips/workflows.py", line 86, in populate_instance_id_choices
  [Thu Mar 06 10:45:41 2014] [error]     redirect=redirect)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/floating_ips/workflows.py", line 81, in populate_instance_id_choices
  [Thu Mar 06 10:45:41 2014] [error]     targets = api.network.floating_ip_target_list(self.request)
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/network.py", line 78, in floating_ip_target_list
  [Thu Mar 06 10:45:41 2014] [error]     return NetworkClient(request).floating_ips.list_targets()
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 386, in list_targets
  [Thu Mar 06 10:45:41 2014] [error]     for ip in p.fixed_ips:
  [Thu Mar 06 10:45:41 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py", line 119, in __getattr__
  [Thu Mar 06 10:45:41 2014] [error]     raise AttributeError(msg)
  [Thu Mar 06 10:45:41 2014] [error] AttributeError: Unknown attribute "fixed_ips" on APIResource object of type "<class 'openstack_dashboard.api.neutron.Port'>"

  
  Cheers and thx 
  Heiko

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


Follow ups

References