Activity log for bug #1096018

Date Who What changed Old value New value Message
2013-01-04 11:21:22 Unmesh Gurjar bug added bug
2013-01-04 11:21:50 Unmesh Gurjar cinder: assignee Unmesh Gurjar (unmesh-gurjar)
2013-01-04 11:25:20 Unmesh Gurjar description Branch: master Steps to repro: 1. Create a volume using the following POST body: { "volume": { "display_name": "vol-001", "display_description": "Another volume.", "size": 1, "metadata": {"ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss": "value1"} } } 2. Observe the API response. Expected Behavior: API should return a 413 RequestEntityTooLarge. Actual Result: API returns a 200 Ok, however, truncates the (large) metadata. Branch: master Steps to repro: 1. Create a volume using the following POST body (containing a key which exceeds the database limit of 255 chars): {     "volume": {         "display_name": "vol-001",         "display_description": "Another volume.",         "size": 1,         "metadata": {"ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss": "value1"}      } } 2. Observe the API response. Expected Behavior: API should return a 413 RequestEntityTooLarge. Actual Result: API returns a 200 Ok, however, truncates the (large) metadata. NOTE: similar behavior on defining metadata containing 0 sized key/value.
2013-01-04 17:54:40 Mike Perez cinder: status New Triaged
2013-01-04 21:41:58 John Griffith cinder: assignee Unmesh Gurjar (unmesh-gurjar) John Griffith (john-griffith)
2013-01-04 21:42:04 John Griffith cinder: importance Undecided Medium
2013-01-04 22:32:29 OpenStack Infra cinder: status Triaged In Progress
2013-01-22 10:53:14 OpenStack Infra cinder: status In Progress Fix Committed
2013-02-21 09:17:24 Thierry Carrez cinder: status Fix Committed Fix Released
2013-02-21 09:17:24 Thierry Carrez cinder: milestone grizzly-3
2013-04-04 11:38:43 Thierry Carrez cinder: milestone grizzly-3 2013.1