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

Chris Dent chdent at redhat.com
Tue Aug 25 17:38:22 UTC 2015


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.

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/

-- 
Chris Dent tw:@anticdent freenode:cdent
https://tank.peermore.com/tanks/cdent



More information about the OpenStack-dev mailing list