← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1397310] Re: Attribute validation errors are logged twice

 

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

** Changed in: neutron
    Milestone: None => kilo-2

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

Title:
  Attribute validation errors are logged twice

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  In neutron/api/v2/attributes.py, all validation functions debug-log
  any errors that occur inside them, and return the error message back
  to caller. In the end, those messages get into _validate_dict()
  function that also logs those messages, if any. Meaning, we'll get
  duplicate validation errors in debug logs for every validation
  failure.

  Validation functions should not report those messages themselves,
  instead relying on caller to handle returned error messages as it sees
  fit.

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


References