← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1339098] Re: detach_interface may hide issues due to async call

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1339098

Title:
  detach_interface may hide issues due to async call

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The detach_interface runs to the compute host via a cast rpc
  invocation (async).  As such, the validation that is done on the
  compute manager (example: an incorrect port id being passed in) is
  lost and the HTTP response code returned to the user is always 202.
  Users would need to look in the logs to determine the error (and it
  would be indicated to them that nothing was wrong).

  The attach_interface is a synchronous (call) rpc invocation.  This
  enables validation to be done and the error codes returned up to the
  user.

  This behavior should be consistent between the two calls.  Propose
  that the detach_interface switch to a 'call' instead of a 'cast' to
  have similar behavior.

  It appears that the detach_volume also has this similar issue.

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


References