Public bug reported: 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. ** Affects: nova Importance: Undecided Assignee: Drew Thorstensen (thorst) Status: New ** Changed in: nova Assignee: (unassigned) => Drew Thorstensen (thorst) -- 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): New 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 -- 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