[openstack-dev] [wsme] potential issues with WSME 0.8.0

Renat Akhmerov rakhmerov at mirantis.com
Wed Aug 26 07:49:57 UTC 2015


> On 26 Aug 2015, at 13:40, Dmitry Tantsur <dtantsur at redhat.com> wrote:
> 
> 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.


Agree with that. But thanks for letting us know. We’ll have to deal with that.


Renat Akhmerov
@ Mirantis Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150826/9d4ae485/attachment.html>


More information about the OpenStack-dev mailing list