← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1603592] [NEW] os-attach-interface returns a 500 when neutron policy forbids port creation

 

Public bug reported:

>From a test on our internal CI against mitaka:

root@uat-dal09-compute-316:~# nova-manage version
13.0.0

The tempest test failure:

http://paste.openstack.org/show/533818/

The attach_interface operation is an RPC call from nova-api to nova-
compute. In our case, neutron policy was such that port creation failed:

http://paste.openstack.org/show/533819/

The Forbidden from neutron isn't handled in nova-api so we get a 500
back instead of a 403.

This is somewhat related to bug 1571722 and patch
https://review.openstack.org/#/c/312014/ but that's fixing a 401 and a
misconfiguration issue.

** Affects: nova
     Importance: Medium
         Status: Confirmed

** Affects: nova/mitaka
     Importance: Undecided
         Status: New


** Tags: api neutron

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

Title:
  os-attach-interface returns a 500 when neutron policy forbids port
  creation

Status in OpenStack Compute (nova):
  Confirmed
Status in OpenStack Compute (nova) mitaka series:
  New

Bug description:
  From a test on our internal CI against mitaka:

  root@uat-dal09-compute-316:~# nova-manage version
  13.0.0

  The tempest test failure:

  http://paste.openstack.org/show/533818/

  The attach_interface operation is an RPC call from nova-api to nova-
  compute. In our case, neutron policy was such that port creation
  failed:

  http://paste.openstack.org/show/533819/

  The Forbidden from neutron isn't handled in nova-api so we get a 500
  back instead of a 403.

  This is somewhat related to bug 1571722 and patch
  https://review.openstack.org/#/c/312014/ but that's fixing a 401 and a
  misconfiguration issue.

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


Follow ups