Look i tried to create one with -ve size and got this
{"instance": {"volume": {"size": -2}, "flavorRef": "2", "name": "test"}} from (pid=6861) authorize /mnt/stack/trove/trove/common/auth.py:67
2015-03-15 09:05:18.932 DEBUG trove.common.wsgi [req-e38d8044-d7b1-473c-a65d-1fb02b9ff4d5 3b9db0087ce24e088b1f54ce366e54f7 5017f5ad40c1439f972351b523767de6] Getting schema for type:create from (pid=6861) get_schema /mnt/stack/trove/trove/common/wsgi.py:372
2015-03-15 09:05:18.932 DEBUG trove.common.wsgi [req-e38d8044-d7b1-473c-a65d-1fb02b9ff4d5 3b9db0087ce24e088b1f54ce366e54f7 5017f5ad40c1439f972351b523767de6] Found Schema: none from (pid=6861) get_schema /mnt/stack/trove/trove/common/wsgi.py:377
2015-03-15 09:05:18.933 INFO trove.common.wsgi [req-e38d8044-d7b1-473c-a65d-1fb02b9ff4d5 3b9db0087ce24e088b1f54ce366e54f7 5017f5ad40c1439f972351b523767de6] Validation error: instance['volume']['size'] -2 is not valid under any of the given schemas; -2 is less than the minimum of 0; -2 is not of type 'string'
2015-03-15 09:05:18.934 DEBUG trove.common.wsgi [req-e38d8044-d7b1-473c-a65d-1fb02b9ff4d5 3b9db0087ce24e088b1f54ce366e54f7 5017f5ad40c1439f972351b523767de6] Traceback (most recent call last):
File "/mnt/stack/trove/trove/common/wsgi.py", line 247, in execute_action
self.controller.validate_request(action, action_args)
File "/mnt/stack/trove/trove/common/wsgi.py", line 404, in validate_request
raise exception.BadRequest(message=error_msg)
BadRequest: Validation error: instance['volume']['size'] -2 is not valid under any of the given schemas; -2 is less than the minimum of 0; -2 is not of type 'string'
Look i tried to create one with -ve size and got this
{"instance": {"volume": {"size": -2}, "flavorRef": "2", "name": "test"}} from (pid=6861) authorize /mnt/stack/ trove/trove/ common/ auth.py: 67 d7b1-473c- a65d-1fb02b9ff4 d5 3b9db0087ce24e0 88b1f54ce366e54 f7 5017f5ad40c1439 f972351b523767d e6] Getting schema for type:create from (pid=6861) get_schema /mnt/stack/ trove/trove/ common/ wsgi.py: 372 d7b1-473c- a65d-1fb02b9ff4 d5 3b9db0087ce24e0 88b1f54ce366e54 f7 5017f5ad40c1439 f972351b523767d e6] Found Schema: none from (pid=6861) get_schema /mnt/stack/ trove/trove/ common/ wsgi.py: 377 d7b1-473c- a65d-1fb02b9ff4 d5 3b9db0087ce24e0 88b1f54ce366e54 f7 5017f5ad40c1439 f972351b523767d e6] Validation error: instance[ 'volume' ]['size' ] -2 is not valid under any of the given schemas; -2 is less than the minimum of 0; -2 is not of type 'string' d7b1-473c- a65d-1fb02b9ff4 d5 3b9db0087ce24e0 88b1f54ce366e54 f7 5017f5ad40c1439 f972351b523767d e6] Traceback (most recent call last): trove/trove/ common/ wsgi.py" , line 247, in execute_action controller. validate_ request( action, action_args) trove/trove/ common/ wsgi.py" , line 404, in validate_request BadRequest( message= error_msg) 'volume' ]['size' ] -2 is not valid under any of the given schemas; -2 is less than the minimum of 0; -2 is not of type 'string'
2015-03-15 09:05:18.932 DEBUG trove.common.wsgi [req-e38d8044-
2015-03-15 09:05:18.932 DEBUG trove.common.wsgi [req-e38d8044-
2015-03-15 09:05:18.933 INFO trove.common.wsgi [req-e38d8044-
2015-03-15 09:05:18.934 DEBUG trove.common.wsgi [req-e38d8044-
File "/mnt/stack/
self.
File "/mnt/stack/
raise exception.
BadRequest: Validation error: instance[