Public bug reported: 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. ** Affects: neutron Importance: Undecided Status: New -- 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): New 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 -- 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