Public bug reported:

Similar to https://bugs.launchpad.net/horizon/+bug/1477100

In the admin's edit port view, binding:host_id is expected as part of the port 
object. This gives a traceback when plugins don't use the port binding 
extension.
...
....
File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/networks/ports/views.py",
 line 99, in get_initial
initial['binding__host_id'] = port['binding__host_id']
File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py",
 line 156, in __getitem__
raise KeyError(e)
KeyError: AttributeError("'Port' object has no attribute 'binding__host_id'",)

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: admin binding port

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

Title:
  Traceback when neutron does not support port binding extension in
  admin screen

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Similar to https://bugs.launchpad.net/horizon/+bug/1477100

  In the admin's edit port view, binding:host_id is expected as part of the 
port object. This gives a traceback when plugins don't use the port binding 
extension.
  ...
  ....
  File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/networks/ports/views.py",
 line 99, in get_initial
  initial['binding__host_id'] = port['binding__host_id']
  File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py",
 line 156, in __getitem__
  raise KeyError(e)
  KeyError: AttributeError("'Port' object has no attribute 'binding__host_id'",)

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to