Fix Incorrect Exception when metadata is over 255 characters
Need to be in sync with Essex. Throw a new exception in api.py when key or value
is over 255 chars. Catch this exception end return back HTTP error 413.
add extra lines in exception.py to make pep8 happy
Reviewed: https:/ /review. openstack. org/16686 github. com/openstack/ nova/commit/ 78de62264b6fef9 035f082cb4989d6 d49b755834
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit 78de62264b6fef9 035f082cb4989d6 d49b755834
Author: Davanum Srinivas <email address hidden>
Date: Tue Oct 23 22:37:04 2012 -0400
Fix Incorrect Exception when metadata is over 255 characters
Need to be in sync with Essex. Throw a new exception in api.py when key or value
is over 255 chars. Catch this exception end return back HTTP error 413.
add extra lines in exception.py to make pep8 happy
Fixes bug 1004007
Change-Id: I67694e3a9600b7 dd0b80c51932732 7568751c2a4 f5d4668a9f9b20c e62e8a47af)
(cherry picked from commit db7798a973bb05a