← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1311758] [NEW] OpenDaylight ML2 Mechanism Driver does not handle authentication errors

 

Public bug reported:

This behaviour was noticed when troubleshooting a misconfiguration.
Authentication with ODL was failing and the exception was being ignored.

In the "sync_resources" method of the ODL Mechanism Driver, HTTPError exceptions with a status code of 404 are handled but the exception is not re-raised if the status code is not 404. 
It is preferable to re-raise this exception.

In addition it would be helpful if the "obtain_auth_cookies" should
throw a more specific exception than HTTPError when authentication with
the ODL controller fails.

** Affects: neutron
     Importance: Undecided
     Assignee: Dave Tucker (davetucker)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Dave Tucker (davetucker)

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

Title:
  OpenDaylight ML2 Mechanism Driver does not handle authentication
  errors

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  This behaviour was noticed when troubleshooting a misconfiguration.
  Authentication with ODL was failing and the exception was being ignored.

  In the "sync_resources" method of the ODL Mechanism Driver, HTTPError exceptions with a status code of 404 are handled but the exception is not re-raised if the status code is not 404. 
  It is preferable to re-raise this exception.

  In addition it would be helpful if the "obtain_auth_cookies" should
  throw a more specific exception than HTTPError when authentication
  with the ODL controller fails.

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


Follow ups

References