On 08/25/2015 07:38 PM, Chris Dent wrote:
WSME version 0.8.0 was released today with several fixes to error handling and error messages. These fixes make WSME behave more in the way it says it would like to behave (and should behave) with regard to input validation and HTTP handling. You want these changes. Unfortunately we've discovered since the release that it causes test failures in Ceilometer, Aodh and Ironic so it may also cause some issues in other services. The two main issues are: * More detailed input validation can result in the body of a 4xx response having changed to reflect increased detail of the problem. If you have tests which check this response body, they may now break. * Formerly, input validation would allow unused fields to pass through and be dropped. This is now, as a virtue of more strict processing throughout the validation handling, considered a client-side error.
Note that this is an API breaking change, which can potentially break random users of all projects using wsme. I think we should communicate this point a bit louder, and I also believe it should have warranted a major version bump.
There may also be situations where a 500 had been returned in the past but now a more correct status code in the 4xx range is returned. Fixes for ceilometer and ironic are pending and may provide some guidance on fixes other projects might need to do: * Ironic: https://review.openstack.org/216802 * Ceilometer: https://review.openstack.org/#/c/208467/
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev