← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1298075] [NEW] Should translate Unauthorized NeutronClientException in allocate_for_instance

 

Public bug reported:

If your auth token expires while allocating the network for an instance
with the neutronv2 API in nova, you'll get a 500 from the server because
the Unauthorized neutron client exception isn't handled and translated
to a more specific NovaException (expecting a 401 in this case).  Paste
here:

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

We could decorate allocate_for_instance to catch Unauthorized and
translate it to a more specific NovaException so the nova client gets a
401 instead of a 500.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: network

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

Title:
  Should translate Unauthorized NeutronClientException in
  allocate_for_instance

Status in OpenStack Compute (Nova):
  New

Bug description:
  If your auth token expires while allocating the network for an
  instance with the neutronv2 API in nova, you'll get a 500 from the
  server because the Unauthorized neutron client exception isn't handled
  and translated to a more specific NovaException (expecting a 401 in
  this case).  Paste here:

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

  We could decorate allocate_for_instance to catch Unauthorized and
  translate it to a more specific NovaException so the nova client gets
  a 401 instead of a 500.

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


Follow ups

References