← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1784950] Re: get_device_details RPC fails if host not specified

 

Please look at
https://github.com/openstack/neutron/blob/master/neutron/tests/unit/plugins/ml2/test_port_binding.py#L102.
This test case runs fine using 'host' default value. Yours is a corner
case in which not passing host + the fact that the port is owned by
compute produces and undesired result. Marking the bug as invalid.
Please feel free to change the status in case we should discuss this bug
any further

** Changed in: neutron
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1784950

Title:
  get_device_details RPC fails if host not specified

Status in networking-powervm:
  Fix Released
Status in neutron:
  Invalid

Bug description:
  An optional (defaults to None) host argument was added to the
  get_device_details RPC method a long time ago [1] but a recent change
  [2] to the master branch has made that no longer really optional, at
  least for the pvm_sea agent from openstack/networking-powervm, since
  not passing it will cause VIF plugging to timeout with an error in the
  neutron logs stating "Device %s has no active binding in host None".

  This can easily be fixed in openstack/networking-powervm by passing
  the host argument, but I expect that neutron also needs to bump the
  version for neutron.plugins.ml2.rpc.RpcCallbacks to reflect that host
  is no longer optional by removing the "=None" default (since it
  doesn't work anymore).

  [1] f7064f2b6c6ba1d0ab5f9872b2d5ad7969a64e7b
  [2] 01bdb47199468805b714ce4c00c7492951267585

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-powervm/+bug/1784950/+subscriptions


References